You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Implemented skeleton visibility
Removed code visibility code from popup menu
This commit is contained in:
@@ -92,7 +92,7 @@ class SpatialEditorViewport : public Control {
|
||||
VIEW_DISPLAY_NORMAL,
|
||||
VIEW_DISPLAY_WIREFRAME,
|
||||
VIEW_DISPLAY_OVERDRAW,
|
||||
VIEW_DISPLAY_SHADELESS,
|
||||
VIEW_DISPLAY_SHADELESS
|
||||
};
|
||||
|
||||
public:
|
||||
@@ -487,7 +487,8 @@ private:
|
||||
MENU_VIEW_GRID,
|
||||
MENU_VIEW_CAMERA_SETTINGS,
|
||||
MENU_LOCK_SELECTED,
|
||||
MENU_UNLOCK_SELECTED
|
||||
MENU_UNLOCK_SELECTED,
|
||||
MENU_VISIBILITY_SKELETON
|
||||
};
|
||||
|
||||
Button *tool_button[TOOL_MAX];
|
||||
@@ -590,7 +591,10 @@ public:
|
||||
Ref<ArrayMesh> get_scale_gizmo(int idx) const { return scale_gizmo[idx]; }
|
||||
Ref<ArrayMesh> get_scale_plane_gizmo(int idx) const { return scale_plane_gizmo[idx]; }
|
||||
|
||||
int get_skeleton_visibility_state() const;
|
||||
|
||||
void update_transform_gizmo();
|
||||
void update_all_gizmos();
|
||||
|
||||
void select_gizmo_highlight_axis(int p_axis);
|
||||
void set_custom_camera(Node *p_camera) { custom_camera = p_camera; }
|
||||
|
||||
Reference in New Issue
Block a user