You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-22 15:06:45 +00:00
Implemented SkeletonEditorGizmo
Co-authored-by: Lyuma <xn.lyuma@gmail.com>
This commit is contained in:
@@ -128,6 +128,7 @@ class AnimationPlayerEditor : public VBoxContainer {
|
||||
bool updating_blends;
|
||||
|
||||
AnimationTrackEditor *track_editor;
|
||||
static AnimationPlayerEditor *singleton;
|
||||
|
||||
// Onion skinning.
|
||||
struct {
|
||||
@@ -226,7 +227,8 @@ protected:
|
||||
|
||||
public:
|
||||
AnimationPlayer *get_player() const;
|
||||
static AnimationPlayerEditor *singleton;
|
||||
|
||||
static AnimationPlayerEditor *get_singleton() { return singleton; }
|
||||
|
||||
bool is_pinned() const { return pin->is_pressed(); }
|
||||
void unpin() { pin->set_pressed(false); }
|
||||
|
||||
Reference in New Issue
Block a user