Page Menu
Home
Search
Configure Global Search
Log In
Files
F18555
export_x3d-Hierarchy.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Authored By
Paulo Dias (paxnubis)
Nov 13 2013, 4:09 PM
Size
906 B
Subscribers
None
export_x3d-Hierarchy.patch
View Options
Index: export_x3d.py
===================================================================
--- export_x3d.py (revision 2601)
+++ export_x3d.py (working copy)
@@ -1344,7 +1350,8 @@
obj_main_id = quoteattr(unique_name(obj_main, obj_main.name, uuid_cache_object, clean_func=clean_def, sep="_"))
- ident = writeTransform_begin(ident, obj_main_matrix if obj_main_parent else global_matrix * obj_main_matrix, suffix_quoted_str(obj_main_id, "_TRANSFORM"))
+ # The 'H' is needed because if the hierarchy is used there will be 2 transformation tag with the same id (for the parent object)
+ ident = writeTransform_begin(ident, obj_main_matrix if obj_main_parent else global_matrix * obj_main_matrix, suffix_quoted_str(obj_main_id, "_H_TRANSFORM"))
for obj, obj_matrix in (() if derived is None else derived):
obj_type = obj.type
File Metadata
Details
Mime Type
text/x-diff
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
50/5b/78494957b8c4955a249cee8cdc2f
Event Timeline
Log In to Comment