summaryrefslogtreecommitdiffstats
path: root/scene/2d/collision_shape_2d.cpp
diff options
context:
space:
mode:
authorJerome67000 <jerome.gully0@gmail.com>2017-12-29 23:06:03 +0100
committerJérôme <jgully@divalto.fr>2018-01-03 13:02:26 +0100
commit42ae3525a3adfc9518361aab5625d7ff76e97623 (patch)
tree0b993bd9d2b174be583f83400bc115a651815806 /scene/2d/collision_shape_2d.cpp
parent99960d929435423b25e9bfb55051af60edbfcca9 (diff)
downloadredot-engine-42ae3525a3adfc9518361aab5625d7ff76e97623.tar.gz
#15078 renamed "z" -> "z_index" property in Node2D
Diffstat (limited to 'scene/2d/collision_shape_2d.cpp')
-rw-r--r--scene/2d/collision_shape_2d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/collision_shape_2d.cpp b/scene/2d/collision_shape_2d.cpp
index f7cb5473e3..facc1d4c79 100644
--- a/scene/2d/collision_shape_2d.cpp
+++ b/scene/2d/collision_shape_2d.cpp
@@ -64,7 +64,7 @@ void CollisionShape2D::_notification(int p_what) {
/*if (Engine::get_singleton()->is_editor_hint()) {
//display above all else
set_z_as_relative(false);
- set_z(VS::CANVAS_ITEM_Z_MAX - 1);
+ set_z_index(VS::CANVAS_ITEM_Z_MAX - 1);
}*/
} break;