aboutsummaryrefslogtreecommitdiff
path: root/editor/spatial_editor_gizmos.cpp
diff options
context:
space:
mode:
authorRémi Verschelde2017-06-16 13:54:27 +0200
committerGitHub2017-06-16 13:54:27 +0200
commit9ff7bd46cc1aa0fe5aa0decbbf41ed0c10136f98 (patch)
treea6c88ed94f4928f10db8da7f9bdfce6854e15b05 /editor/spatial_editor_gizmos.cpp
parent80929d36bedebb3ed2d68185fd099253307b30aa (diff)
parent94836131388f575f79a5f0b077227f3a7a53af40 (diff)
downloadgodot-9ff7bd46cc1aa0fe5aa0decbbf41ed0c10136f98.tar.gz
godot-9ff7bd46cc1aa0fe5aa0decbbf41ed0c10136f98.tar.zst
godot-9ff7bd46cc1aa0fe5aa0decbbf41ed0c10136f98.zip
Merge pull request #8661 from BastiaanOlij/primitives_3.0
Godot 3.0 primitives as resources for use with MeshInstance
Diffstat (limited to 'editor/spatial_editor_gizmos.cpp')
-rw-r--r--editor/spatial_editor_gizmos.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/editor/spatial_editor_gizmos.cpp b/editor/spatial_editor_gizmos.cpp
index 1b7afd3c4..76df9eb1f 100644
--- a/editor/spatial_editor_gizmos.cpp
+++ b/editor/spatial_editor_gizmos.cpp
@@ -1439,20 +1439,6 @@ VehicleWheelSpatialGizmo::VehicleWheelSpatialGizmo(VehicleWheel *p_car_wheel) {
car_wheel = p_car_wheel;
}
-///
-
-void TestCubeSpatialGizmo::redraw() {
-
- clear();
- add_collision_triangles(SpatialEditorGizmos::singleton->test_cube_tm);
-}
-
-TestCubeSpatialGizmo::TestCubeSpatialGizmo(TestCube *p_tc) {
-
- tc = p_tc;
- set_spatial_node(p_tc);
-}
-
///////////
String CollisionShapeSpatialGizmo::get_handle_name(int p_idx) const {
@@ -3045,12 +3031,6 @@ Ref<SpatialEditorGizmo> SpatialEditorGizmos::get_gizmo(Spatial *p_spatial) {
return misg;
}
- if (p_spatial->cast_to<TestCube>()) {
-
- Ref<TestCubeSpatialGizmo> misg = memnew(TestCubeSpatialGizmo(p_spatial->cast_to<TestCube>()));
- return misg;
- }
-
if (p_spatial->cast_to<CollisionShape>()) {
Ref<CollisionShapeSpatialGizmo> misg = memnew(CollisionShapeSpatialGizmo(p_spatial->cast_to<CollisionShape>()));