summaryrefslogtreecommitdiff
path: root/servers/visual_server.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-01-21 22:27:50 +0100
committerGitHub <noreply@github.com>2020-01-21 22:27:50 +0100
commit5127afa812f80c02e6f9fada854d46482daafca4 (patch)
tree8e4bf30bde2e456fe430f97dd0139febf6a332a0 /servers/visual_server.h
parent6190690757ca322393f13e44bc2ceed79b362b45 (diff)
parent4faaf6089a3880d673c5fc51a260128bfe59b351 (diff)
Merge pull request #35413 from akien-mga/if-0-means-couperet
Remove unused #if 0'ed code
Diffstat (limited to 'servers/visual_server.h')
-rw-r--r--servers/visual_server.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/servers/visual_server.h b/servers/visual_server.h
index 6f0659357c..e7662695a6 100644
--- a/servers/visual_server.h
+++ b/servers/visual_server.h
@@ -813,11 +813,10 @@ public:
virtual RID instance_create2(RID p_base, RID p_scenario);
- //virtual RID instance_create(RID p_base,RID p_scenario)=0; // from can be mesh, light, area and portal so far.
- virtual RID instance_create() = 0; // from can be mesh, light, poly, area and portal so far.
+ virtual RID instance_create() = 0;
- virtual void instance_set_base(RID p_instance, RID p_base) = 0; // from can be mesh, light, poly, area and portal so far.
- virtual void instance_set_scenario(RID p_instance, RID p_scenario) = 0; // from can be mesh, light, poly, area and portal so far.
+ virtual void instance_set_base(RID p_instance, RID p_base) = 0;
+ virtual void instance_set_scenario(RID p_instance, RID p_scenario) = 0;
virtual void instance_set_layer_mask(RID p_instance, uint32_t p_mask) = 0;
virtual void instance_set_transform(RID p_instance, const Transform &p_transform) = 0;
virtual void instance_attach_object_instance_id(RID p_instance, ObjectID p_id) = 0;