diff --git a/io_scene_x3d/__init__.py b/io_scene_x3d/__init__.py index 3a102e14172551058c9b1dbc96784f8015fa06b7..5a7429f91d8b90ea86bef3f5916ed7475d7d3607 100644 --- a/io_scene_x3d/__init__.py +++ b/io_scene_x3d/__init__.py @@ -136,7 +136,8 @@ class ExportX3D(bpy.types.Operator, ExportHelper): ) name_decorations = BoolProperty( name="Name decorations", - description="Add prefixes to the names of exported nodes to indicate their type", + description=("Add prefixes to the names of exported nodes to " + "indicate their type"), default=True, ) use_h3d = BoolProperty( @@ -144,7 +145,7 @@ class ExportX3D(bpy.types.Operator, ExportHelper): description="Export shaders for H3D", default=False, ) - + axis_forward = EnumProperty( name="Forward", items=(('X', "X Forward", ""), @@ -156,7 +157,7 @@ class ExportX3D(bpy.types.Operator, ExportHelper): ), default='Z', ) - + axis_up = EnumProperty( name="Up", items=(('X', "X Up", ""), diff --git a/io_scene_x3d/export_x3d.py b/io_scene_x3d/export_x3d.py index aafe300bd28eaceb5be6f00cd8b8b9c15abcaab4..7c8870f989ea51233d0a565345baafb93c348fbd 100644 --- a/io_scene_x3d/export_x3d.py +++ b/io_scene_x3d/export_x3d.py @@ -256,8 +256,6 @@ def export(file, from bpy_extras.io_utils import unique_name from xml.sax.saxutils import quoteattr, escape - - if name_decorations: # If names are decorated, the uuid map can be split up # by type for efficiency of collision testing @@ -280,7 +278,7 @@ def export(file, group_ = 'group_' else: # If names are not decorated, it may be possible for two objects to - # have the same name, so there has to be a unified dictionary to + # have the same name, so there has to be a unified dictionary to # prevent uuid collisions. uuid_cache = {} uuid_cache_object = uuid_cache # object @@ -299,7 +297,7 @@ def export(file, MA_ = '' LA_ = '' group_ = '' - + _TRANSFORM = '_TRANSFORM' # store files to copy diff --git a/space_view3d_copy_attributes.py b/space_view3d_copy_attributes.py index 18b9f518dbfd804ef08802f7c5cf4d1f8fbc1a65..4adab0353f10f63fd8f254d2fbf6a7dd91b65870 100644 --- a/space_view3d_copy_attributes.py +++ b/space_view3d_copy_attributes.py @@ -452,7 +452,8 @@ def obWei(ob, active, context): vgroupIndex_weight[i][1], "REPLACE") return('INFO', "weights copied") -object_copies = ( # ('obj_loc', "Location", +object_copies = ( + #('obj_loc', "Location", #"Copy Location from Active to Selected", obLoc), #('obj_rot', "Rotation", #"Copy Rotation from Active to Selected", obRot),