generated from stilobique/BlenderTemplate
Small update about the preset and selected mesh exported
This commit is contained in:
@@ -32,7 +32,7 @@ class ExportForFange(bpy.types.Operator):
|
||||
print(f'[Pipeline] Select all mesh inside the collection "{child.name}"')
|
||||
for ob in child.all_objects:
|
||||
print(f'\tLook "{ob.name}", his type are "{type(ob.data)}"')
|
||||
if isinstance(ob.data, bpy.types.Mesh):
|
||||
if isinstance(ob.data, bpy.types.Mesh) or isinstance(ob.data, bpy.types.Empty):
|
||||
ob.select_set(True)
|
||||
|
||||
# TODO The plugin export only the garden building
|
||||
|
||||
@@ -10,7 +10,7 @@ op.apply_unit_scale = True
|
||||
op.apply_scale_options = 'FBX_SCALE_NONE'
|
||||
op.use_space_transform = True
|
||||
op.bake_space_transform = True
|
||||
op.object_types = {'MESH'}
|
||||
op.object_types = {'MESH', 'EMPTY'}
|
||||
op.use_mesh_modifiers = True
|
||||
op.use_mesh_modifiers_render = True
|
||||
op.mesh_smooth_type = 'OFF'
|
||||
|
||||
Reference in New Issue
Block a user