mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Cycles: Soft minimum for dice rates
Use 0.5 as a soft minimum for dice rates to help from setting them too low. Lower values can still be set by typing in the value.
This commit is contained in:
parent
5ef46c1ef1
commit
f3fe4e736f
1 changed files with 3 additions and 3 deletions
|
|
@ -367,14 +367,14 @@ class CyclesRenderSettings(bpy.types.PropertyGroup):
|
|||
cls.dicing_rate = FloatProperty(
|
||||
name="Dicing Rate",
|
||||
description="Size of a micropolygon in pixels",
|
||||
min=0.1, max=1000.0,
|
||||
min=0.1, max=1000.0, soft_min=0.5,
|
||||
default=1.0,
|
||||
subtype="PIXEL"
|
||||
)
|
||||
cls.preview_dicing_rate = FloatProperty(
|
||||
name="Preview Dicing Rate",
|
||||
description="Size of a micropolygon in pixels during preview render",
|
||||
min=0.1, max=1000.0,
|
||||
min=0.1, max=1000.0, soft_min=0.5,
|
||||
default=8.0,
|
||||
subtype="PIXEL"
|
||||
)
|
||||
|
|
@ -1011,7 +1011,7 @@ class CyclesObjectSettings(bpy.types.PropertyGroup):
|
|||
cls.dicing_rate = FloatProperty(
|
||||
name="Dicing Scale",
|
||||
description="Multiplier for scene dicing rate (located in the Geometry Panel)",
|
||||
min=0.1, max=1000.0,
|
||||
min=0.1, max=1000.0, soft_min=0.5,
|
||||
default=1.0,
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue