summaryrefslogtreecommitdiffstats
path: root/scene/3d/scenario_fx.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-06-24 08:58:27 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-06-24 08:58:27 -0300
commit0cac32910a1026517b9fc782d72824c80baf676e (patch)
tree67b03361c481f24eefabfdc2eb55ab0cdf86b3e9 /scene/3d/scenario_fx.h
parent6ba1e4677ba15992c750bddffcb9f1eacd1558a1 (diff)
downloadredot-engine-0cac32910a1026517b9fc782d72824c80baf676e.tar.gz
-Restored support for Canvas BG mode on Environment
-Improved ease of use of WorldEnvironment (no longer extends Spatial) -2D editor viewport can now work in HDR!
Diffstat (limited to 'scene/3d/scenario_fx.h')
-rw-r--r--scene/3d/scenario_fx.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/3d/scenario_fx.h b/scene/3d/scenario_fx.h
index b2a4bc5472..d1e0a63130 100644
--- a/scene/3d/scenario_fx.h
+++ b/scene/3d/scenario_fx.h
@@ -36,9 +36,9 @@
@author Juan Linietsky <reduzio@gmail.com>
*/
-class WorldEnvironment : public Spatial {
+class WorldEnvironment : public Node {
- GDCLASS(WorldEnvironment, Spatial);
+ GDCLASS(WorldEnvironment, Node);
Ref<Environment> environment;