mirror of
https://github.com/godotengine/godot.git
synced 2024-11-13 15:42:40 +00:00
parent
53c0010932
commit
9a1d9a41eb
@ -48,6 +48,9 @@ void CollisionPolygonEditor::_notification(int p_what) {
|
||||
|
||||
} break;
|
||||
case NOTIFICATION_PROCESS: {
|
||||
if (!node) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (node->get_depth() != prev_depth) {
|
||||
_polygon_draw();
|
||||
|
@ -835,6 +835,9 @@ void GridMapEditor::_notification(int p_what) {
|
||||
duplicate_instance = RID();
|
||||
|
||||
} else if (p_what == NOTIFICATION_PROCESS) {
|
||||
if (!node) {
|
||||
return;
|
||||
}
|
||||
|
||||
Transform xf = node->get_global_transform();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user