Restored auto snapping of controls to pixels, fixes #10847 and probably several more issues. Made it optional in the project settings but defaults to true.
This commit is contained in:
parent
895140389a
commit
1eeda0f32f
5 changed files with 36 additions and 0 deletions
|
|
@ -2269,6 +2269,9 @@ void CanvasItemEditor::_notification(int p_what) {
|
|||
|
||||
if (p_what == NOTIFICATION_FIXED_PROCESS) {
|
||||
|
||||
|
||||
EditorNode::get_singleton()->get_scene_root()->set_snap_controls_to_pixels(GLOBAL_GET("gui/common/snap_controls_to_pixels"));
|
||||
|
||||
List<Node *> &selection = editor_selection->get_selected_node_list();
|
||||
|
||||
bool all_control = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue