From d2222291498dccb188204b72081a1e618b92baa9 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Thu, 14 Jan 2016 11:50:24 -0300 Subject: properly export sample compression type option --- tools/editor/editor_node.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/editor/editor_node.cpp') diff --git a/tools/editor/editor_node.cpp b/tools/editor/editor_node.cpp index 4b965ab9c..6008021b1 100644 --- a/tools/editor/editor_node.cpp +++ b/tools/editor/editor_node.cpp @@ -3624,7 +3624,7 @@ Error EditorNode::load_scene(const String& p_scene, bool p_ignore_broken_deps,bo } if (ResourceCache::has(lpath)) { - //used from somewhere else? no problem! update state + //used from somewhere else? no problem! update state and replace sdata Ref ps = Ref( ResourceCache::get(lpath)->cast_to() ); if (ps.is_valid()) { ps->replace_state( sdata->get_state() ); -- cgit v1.3.1