Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaia Clary <gaia.clary@machinimatrix.org>2013-02-08 23:52:02 +0400
committerGaia Clary <gaia.clary@machinimatrix.org>2013-02-08 23:52:02 +0400
commitdeeeaed3d858cf8be7d9fba294e96db3778aa587 (patch)
tree8bf255c5f1451a4920f62c79f1a76964cd4f90b4 /source/blender/collada/collada_utils.cpp
parentd26c06312138d9032f8534282af5ba2a1cad0089 (diff)
[#33955] Collada Model Import Hangs Blender. Optimized Object import for better performance. Added logging messages
Diffstat (limited to 'source/blender/collada/collada_utils.cpp')
-rw-r--r--source/blender/collada/collada_utils.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/collada/collada_utils.cpp b/source/blender/collada/collada_utils.cpp
index 58e6301a084..9fdca048177 100644
--- a/source/blender/collada/collada_utils.cpp
+++ b/source/blender/collada/collada_utils.cpp
@@ -116,9 +116,12 @@ int bc_set_parent(Object *ob, Object *par, bContext *C, bool is_parent_space)
ob->recalc |= OB_RECALC_OB | OB_RECALC_DATA;
par->recalc |= OB_RECALC_OB;
+ /** done once after import
DAG_scene_sort(bmain, sce);
DAG_ids_flush_update(bmain, 0);
WM_event_add_notifier(C, NC_OBJECT | ND_TRANSFORM, NULL);
+ */
+
return true;
}