You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-19 14:31:59 +00:00
Fix 3D Onion skinning missing
This commit is contained in:
@@ -902,7 +902,7 @@ void AnimationPlayerEditor::edit(AnimationPlayer *p_player) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void AnimationPlayerEditor::forward_canvas_force_draw_over_viewport(Control *p_overlay) {
|
void AnimationPlayerEditor::forward_force_draw_over_viewport(Control *p_overlay) {
|
||||||
if (!onion.can_overlay) {
|
if (!onion.can_overlay) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -238,7 +238,7 @@ public:
|
|||||||
|
|
||||||
void set_undo_redo(UndoRedo *p_undo_redo) { undo_redo = p_undo_redo; }
|
void set_undo_redo(UndoRedo *p_undo_redo) { undo_redo = p_undo_redo; }
|
||||||
void edit(AnimationPlayer *p_player);
|
void edit(AnimationPlayer *p_player);
|
||||||
void forward_canvas_force_draw_over_viewport(Control *p_overlay);
|
void forward_force_draw_over_viewport(Control *p_overlay);
|
||||||
|
|
||||||
AnimationPlayerEditor(EditorNode *p_editor, AnimationPlayerEditorPlugin *p_plugin);
|
AnimationPlayerEditor(EditorNode *p_editor, AnimationPlayerEditorPlugin *p_plugin);
|
||||||
};
|
};
|
||||||
@@ -262,7 +262,8 @@ public:
|
|||||||
virtual bool handles(Object *p_object) const;
|
virtual bool handles(Object *p_object) const;
|
||||||
virtual void make_visible(bool p_visible);
|
virtual void make_visible(bool p_visible);
|
||||||
|
|
||||||
virtual void forward_canvas_force_draw_over_viewport(Control *p_overlay) { anim_editor->forward_canvas_force_draw_over_viewport(p_overlay); }
|
virtual void forward_canvas_force_draw_over_viewport(Control *p_overlay) { anim_editor->forward_force_draw_over_viewport(p_overlay); }
|
||||||
|
virtual void forward_spatial_force_draw_over_viewport(Control *p_overlay) { anim_editor->forward_force_draw_over_viewport(p_overlay); }
|
||||||
|
|
||||||
AnimationPlayerEditorPlugin(EditorNode *p_node);
|
AnimationPlayerEditorPlugin(EditorNode *p_node);
|
||||||
~AnimationPlayerEditorPlugin();
|
~AnimationPlayerEditorPlugin();
|
||||||
|
|||||||
Reference in New Issue
Block a user