You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Add priority to gizmos and fix small issues
User defined gizmos will haave higher preference than editor gizmos by default. Also fixed some inconsistencies in the gizmos menu when using custom gizmos.
This commit is contained in:
@@ -638,6 +638,10 @@ String PathSpatialGizmoPlugin::get_name() const {
|
||||
return "Path";
|
||||
}
|
||||
|
||||
int PathSpatialGizmoPlugin::get_priority() const {
|
||||
return -1;
|
||||
}
|
||||
|
||||
PathSpatialGizmoPlugin::PathSpatialGizmoPlugin() {
|
||||
|
||||
Color path_color = EDITOR_DEF("editors/3d_gizmos/gizmo_colors/path", Color(0.5, 0.5, 1.0, 0.8));
|
||||
|
||||
Reference in New Issue
Block a user