You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-22 15:06:45 +00:00
Improve the CSG shape gizmo drawing
The gizmo colors now depend on the operation. Subtraction will result in an inverted gizmo color, whereas intersection is now displayed as white. A solid translucent overlay is now drawn over a selected node to make it easier to distinguish.
This commit is contained in:
@@ -557,6 +557,7 @@ void CSGShape::set_operation(Operation p_operation) {
|
||||
|
||||
operation = p_operation;
|
||||
_make_dirty();
|
||||
update_gizmo();
|
||||
}
|
||||
|
||||
CSGShape::Operation CSGShape::get_operation() const {
|
||||
|
||||
Reference in New Issue
Block a user