mirror of
https://github.com/drewcassidy/TexTools-Blender
synced 2024-09-01 14:54:44 +00:00
Add new properties
This commit is contained in:
parent
f60b85b477
commit
cad078d85d
12
__init__.py
12
__init__.py
@ -465,8 +465,6 @@ class TexToolsSettings(bpy.types.PropertyGroup):
|
|||||||
min = 1,
|
min = 1,
|
||||||
max = 16
|
max = 16
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
bake_ray_distance : bpy.props.FloatProperty(
|
bake_ray_distance : bpy.props.FloatProperty(
|
||||||
name = "Ray Dist.",
|
name = "Ray Dist.",
|
||||||
description = "Ray distance when baking. When using cage used as extrude distance",
|
description = "Ray distance when baking. When using cage used as extrude distance",
|
||||||
@ -479,6 +477,16 @@ class TexToolsSettings(bpy.types.PropertyGroup):
|
|||||||
description="Force a single texture bake accross all selected objects",
|
description="Force a single texture bake accross all selected objects",
|
||||||
default = False
|
default = False
|
||||||
)
|
)
|
||||||
|
bake_exclude_others: bpy.props.BoolProperty(
|
||||||
|
name="Exclude Others",
|
||||||
|
description="Exclude deselected objects when rendering",
|
||||||
|
default = False
|
||||||
|
)
|
||||||
|
bake_merge_object: bpy.props.BoolProperty(
|
||||||
|
name="Merge Objects",
|
||||||
|
description="Merge selected objects when rendering, results in significantly lower bake times",
|
||||||
|
default = False
|
||||||
|
)
|
||||||
bake_sampling : bpy.props.EnumProperty(items=
|
bake_sampling : bpy.props.EnumProperty(items=
|
||||||
[('1', 'None', 'No Anti Aliasing (Fast)'),
|
[('1', 'None', 'No Anti Aliasing (Fast)'),
|
||||||
('2', '2x', 'Render 2x and downsample'),
|
('2', '2x', 'Render 2x and downsample'),
|
||||||
|
Loading…
Reference in New Issue
Block a user