Browse Source

Update gridmap editor cursor and selection node transformations whenever the gridmap node's transformation changes

Bad Sector 9 months ago
parent
commit
f37c72fcdc
1 changed files with 2 additions and 0 deletions
  1. 2 0
      modules/gridmap/editor/grid_map_editor_plugin.cpp

+ 2 - 0
modules/gridmap/editor/grid_map_editor_plugin.cpp

@@ -1199,6 +1199,8 @@ void GridMapEditor::_notification(int p_what) {
 					RS::get_singleton()->instance_set_transform(grid_instance[i], xf * edit_grid_xform);
 				}
 				grid_xform = xf;
+				_update_cursor_transform();
+				_update_selection_transform();
 			}
 		} break;