You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Fix secondary handles in editor gizmos
Primary and secondary handles are no longer differentiated by their ids, so a bool was added to tell them apart in all the handle-related methods. Includes a minor fix in CollisionPolygon3DEditor, unrelated to editor gizmos.
This commit is contained in:
@@ -358,6 +358,7 @@ void CollisionPolygon3DEditor::_polygon_draw() {
|
||||
|
||||
float depth = _get_depth() * 0.5;
|
||||
|
||||
m->clear_surfaces();
|
||||
imesh->clear_surfaces();
|
||||
imgeom->set_material_override(line_material);
|
||||
imesh->surface_begin(Mesh::PRIMITIVE_LINES);
|
||||
|
||||
Reference in New Issue
Block a user