فهرست منبع

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

Bad Sector 10 ماه پیش
والد
کامیت
f37c72fcdc
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  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;