Changeset View
Changeset View
Standalone View
Standalone View
io_scene_fbx/__init__.py
| Show First 20 Lines • Show All 86 Lines • ▼ Show 20 Lines | bake_space_transform: BoolProperty( | ||||
| ) | ) | ||||
| use_custom_normals: BoolProperty( | use_custom_normals: BoolProperty( | ||||
| name="Custom Normals", | name="Custom Normals", | ||||
| description="Import custom normals, if available (otherwise Blender will recompute them)", | description="Import custom normals, if available (otherwise Blender will recompute them)", | ||||
| default=True, | default=True, | ||||
| ) | ) | ||||
| use_duplicate_layers: BoolProperty( | |||||
| name="Duplicate Layers", | |||||
| description="Import duplicate UV map and color layers", | |||||
| default=True, | |||||
| ) | |||||
| use_image_search: BoolProperty( | use_image_search: BoolProperty( | ||||
| name="Image Search", | name="Image Search", | ||||
| description="Search subdirs for any associated images (WARNING: may be slow)", | description="Search subdirs for any associated images (WARNING: may be slow)", | ||||
| default=True, | default=True, | ||||
| ) | ) | ||||
| use_alpha_decals: BoolProperty( | use_alpha_decals: BoolProperty( | ||||
| name="Alpha Decals", | name="Alpha Decals", | ||||
| ▲ Show 20 Lines • Show All 118 Lines • ▼ Show 20 Lines | def draw(self, context): | ||||
| layout = self.layout | layout = self.layout | ||||
| layout.use_property_split = True | layout.use_property_split = True | ||||
| layout.use_property_decorate = False # No animation. | layout.use_property_decorate = False # No animation. | ||||
| sfile = context.space_data | sfile = context.space_data | ||||
| operator = sfile.active_operator | operator = sfile.active_operator | ||||
| layout.prop(operator, "use_custom_normals") | layout.prop(operator, "use_custom_normals") | ||||
| layout.prop(operator, "use_duplicate_layers") | |||||
| layout.prop(operator, "use_subsurf") | layout.prop(operator, "use_subsurf") | ||||
| layout.prop(operator, "use_custom_props") | layout.prop(operator, "use_custom_props") | ||||
| sub = layout.row() | sub = layout.row() | ||||
| sub.enabled = operator.use_custom_props | sub.enabled = operator.use_custom_props | ||||
| sub.prop(operator, "use_custom_props_enum_as_string") | sub.prop(operator, "use_custom_props_enum_as_string") | ||||
| layout.prop(operator, "use_image_search") | layout.prop(operator, "use_image_search") | ||||
| ▲ Show 20 Lines • Show All 646 Lines • Show Last 20 Lines | |||||