[Bf-extensions-cvs] [667c868a] master: Fix `script_load_addons` test (some invalid values passed to property definitions).
Bastien Montagne
noreply at git.blender.org
Mon Oct 5 12:36:02 CEST 2020
Commit: 667c868a4bfa755b346613947d602ab6b0b637e8
Author: Bastien Montagne
Date: Mon Oct 5 12:30:02 2020 +0200
Branches: master
https://developer.blender.org/rBA667c868a4bfa755b346613947d602ab6b0b637e8
Fix `script_load_addons` test (some invalid values passed to property definitions).
===================================================================
M amaranth/render/meshlight_add.py
M render_povray/__init__.py
===================================================================
diff --git a/amaranth/render/meshlight_add.py b/amaranth/render/meshlight_add.py
index a4c4230c..c1ca94a0 100644
--- a/amaranth/render/meshlight_add.py
+++ b/amaranth/render/meshlight_add.py
@@ -48,7 +48,7 @@ class AMTH_OBJECT_OT_meshlight_add(bpy.types.Operator):
name="Temperature",
min=800, max=12000.0,
default=5500.0,
- step=800.0,
+ step=100.0,
description="Temperature in Kelvin. Lower is warmer, higher is colder",
)
diff --git a/render_povray/__init__.py b/render_povray/__init__.py
index fded5cff..5df45df8 100644
--- a/render_povray/__init__.py
+++ b/render_povray/__init__.py
@@ -394,7 +394,7 @@ class RenderPovSettingsScene(PropertyGroup):
media_diffusion_scale: FloatProperty(
name="Scale",
description="Scale factor of Media Diffusion Color",
- precision=12, step=0.00000001, min=0.000000001, max=1.0,
+ precision=6, step=0.00000001, min=0.000000001, max=1.0,
default=(1.0),
)
@@ -411,7 +411,7 @@ class RenderPovSettingsScene(PropertyGroup):
name="Scale",
description="Scale factor of Media Absorption Color. "
"use 1/depth of media volume in meters",
- precision=12,
+ precision=6,
step=0.000001,
min=0.000000001,
max=1.0,
More information about the Bf-extensions-cvs
mailing list