summaryrefslogtreecommitdiff
path: root/tools/editor/plugins
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2014-10-14 01:01:25 -0300
committerJuan Linietsky <reduzio@gmail.com>2014-10-14 01:01:25 -0300
commita84ba9c853f972f8e666b17f3e0f875b7282e6c1 (patch)
tree70a5d44acbecc93011333d13dd51b1786d42eae3 /tools/editor/plugins
parent13a848e332092b40956739a08fa0dac3357db950 (diff)
Collada
-=-=-=- -Fixed some DAE import & export bugs -Changed Collada exporter to use the mesh loops API -Added tangent export to Collada exporter -Added triangulation option to Collada exporter -Changed a little how normalmaps are handled in shader. Not sure if it's working properly, be careful. -Fixed some strange bug with kinematic bodies #776 -Fix release compilaiton issues #782
Diffstat (limited to 'tools/editor/plugins')
-rw-r--r--tools/editor/plugins/spatial_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/plugins/spatial_editor_plugin.cpp b/tools/editor/plugins/spatial_editor_plugin.cpp
index 8f3f4dea8e..e5f33b3d41 100644
--- a/tools/editor/plugins/spatial_editor_plugin.cpp
+++ b/tools/editor/plugins/spatial_editor_plugin.cpp
@@ -2468,7 +2468,7 @@ void SpatialEditor::set_state(const Dictionary& p_state) {
}
if (d.has("default_srgb")) {
- bool use = d["default_light"];
+ bool use = d["default_srgb"];
viewport_environment->set_enable_fx(Environment::FX_SRGB,use);
view_menu->get_popup()->set_item_checked( view_menu->get_popup()->get_item_index(MENU_VIEW_USE_DEFAULT_SRGB), use );