Merge pull request #33719 from KoBeWi/the_truth

Consider locked moving objects when updating viewport
This commit is contained in:
Rémi Verschelde 2019-11-18 21:40:52 +01:00 committed by GitHub
commit cc3b7d2ee2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3671,7 +3671,7 @@ void CanvasItemEditor::_notification(int p_what) {
int nb_having_pivot = 0;
// Update the viewport if the canvas_item changes
List<CanvasItem *> selection = _get_edited_canvas_items();
List<CanvasItem *> selection = _get_edited_canvas_items(true);
for (List<CanvasItem *>::Element *E = selection.front(); E; E = E->next()) {
CanvasItem *canvas_item = E->get();
CanvasItemEditorSelectedItem *se = editor_selection->get_node_editor_data<CanvasItemEditorSelectedItem>(canvas_item);