[Bf-extensions-cvs] [874eebc2] master: Remove free_derived_objects import
Campbell Barton
noreply at git.blender.org
Mon Oct 11 14:24:03 CEST 2021
Commit: 874eebc2e5cf3b7c11adb431f0b4e42cf40bf663
Author: Campbell Barton
Date: Mon Oct 11 23:22:59 2021 +1100
Branches: master
https://developer.blender.org/rBA874eebc2e5cf3b7c11adb431f0b4e42cf40bf663
Remove free_derived_objects import
This caused script_load_modules to fail,
properly supporting duplicates is still needed.
===================================================================
M io_scene_x3d/export_x3d.py
===================================================================
diff --git a/io_scene_x3d/export_x3d.py b/io_scene_x3d/export_x3d.py
index 5ac7e557..746567f8 100644
--- a/io_scene_x3d/export_x3d.py
+++ b/io_scene_x3d/export_x3d.py
@@ -39,7 +39,7 @@ import os
import bpy
import mathutils
-from bpy_extras.io_utils import create_derived_objects, free_derived_objects
+from bpy_extras.io_utils import create_derived_objects
# h3d defines
@@ -1469,9 +1469,6 @@ def export(file,
#print "Info: Ignoring [%s], object type [%s] not handle yet" % (object.name,object.getType)
pass
- if free:
- free_derived_objects(obj_main)
-
# ---------------------------------------------------------------------
# write out children recursively
# ---------------------------------------------------------------------
More information about the Bf-extensions-cvs
mailing list