mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-05 23:07:42 -05:00
Remove empty constructors and destructors from scene/
This commit is contained in:
@@ -198,7 +198,6 @@ protected:
|
||||
TrackCacheTransform() {
|
||||
type = Animation::TYPE_POSITION_3D;
|
||||
}
|
||||
~TrackCacheTransform() {}
|
||||
};
|
||||
|
||||
struct RootMotionCache {
|
||||
@@ -219,7 +218,6 @@ protected:
|
||||
shape_index(p_other.shape_index) {}
|
||||
|
||||
TrackCacheBlendShape() { type = Animation::TYPE_BLEND_SHAPE; }
|
||||
~TrackCacheBlendShape() {}
|
||||
};
|
||||
|
||||
struct TrackCacheValue : public TrackCache {
|
||||
@@ -258,7 +256,6 @@ protected:
|
||||
|
||||
struct TrackCacheMethod : public TrackCache {
|
||||
TrackCacheMethod() { type = Animation::TYPE_METHOD; }
|
||||
~TrackCacheMethod() {}
|
||||
};
|
||||
|
||||
// Audio stream information for each audio stream placed on the track.
|
||||
@@ -296,7 +293,6 @@ protected:
|
||||
TrackCacheAudio() {
|
||||
type = Animation::TYPE_AUDIO;
|
||||
}
|
||||
~TrackCacheAudio() {}
|
||||
};
|
||||
|
||||
struct TrackCacheAnimation : public TrackCache {
|
||||
@@ -305,7 +301,6 @@ protected:
|
||||
TrackCacheAnimation() {
|
||||
type = Animation::TYPE_ANIMATION;
|
||||
}
|
||||
~TrackCacheAnimation() {}
|
||||
};
|
||||
|
||||
RootMotionCache root_motion_cache;
|
||||
@@ -390,7 +385,6 @@ protected:
|
||||
step = 0.0;
|
||||
}
|
||||
|
||||
CaptureCache() {}
|
||||
~CaptureCache() {
|
||||
clear();
|
||||
}
|
||||
|
||||
@@ -251,9 +251,6 @@ protected:
|
||||
virtual void _tree_changed();
|
||||
virtual void _animation_node_renamed(const ObjectID &p_oid, const String &p_old_name, const String &p_new_name);
|
||||
virtual void _animation_node_removed(const ObjectID &p_oid, const StringName &p_node);
|
||||
|
||||
public:
|
||||
AnimationRootNode() {}
|
||||
};
|
||||
|
||||
class AnimationNodeStartState : public AnimationRootNode {
|
||||
|
||||
Reference in New Issue
Block a user