You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-05 17:15:09 +00:00
Make CSG shape dirty after changing Snap, update doc
Update doc to mention that Snap only takes effect at the top level. Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
This commit is contained in:
@@ -141,7 +141,12 @@ bool CSGShape3D::is_root_shape() const {
|
||||
}
|
||||
|
||||
void CSGShape3D::set_snap(float p_snap) {
|
||||
if (snap == p_snap) {
|
||||
return;
|
||||
}
|
||||
|
||||
snap = p_snap;
|
||||
_make_dirty();
|
||||
}
|
||||
|
||||
float CSGShape3D::get_snap() const {
|
||||
|
||||
Reference in New Issue
Block a user