Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2009-09-22 01:19:58 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2009-09-22 01:19:58 +0400
commitd601a51e03ca0dc8d714b36ad7ae7a5005119bc3 (patch)
tree47d34516124c546f3b0ad731bcc7bea278fa40bc /release/ui
parent862ddcc0c458f2d188ba8410460540ee2d04711d (diff)
RNA: added a "factor" subtype next to "percentage", and only display
% sign for percentage assuming it is between 0-100, while factor is for values 0-1. Move collision setting absorption from modifier to collision settings, was inconsistent to have it there as the only one, and made it have range 0.0-1.0 instead of 0-100.
Diffstat (limited to 'release/ui')
-rw-r--r--release/ui/buttons_object_constraint.py2
-rw-r--r--release/ui/buttons_physics_field.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/release/ui/buttons_object_constraint.py b/release/ui/buttons_object_constraint.py
index 1d2f9a5cb49..8671f9e25a8 100644
--- a/release/ui/buttons_object_constraint.py
+++ b/release/ui/buttons_object_constraint.py
@@ -130,7 +130,7 @@ class ConstraintButtonsPanel(bpy.types.Panel):
col = split.column()
col.itemR(con, "use_fixed_position")
if con.use_fixed_position:
- col.itemR(con, "offset_percentage", text="Offset")
+ col.itemR(con, "offset_factor", text="Offset")
else:
col.itemR(con, "offset")
diff --git a/release/ui/buttons_physics_field.py b/release/ui/buttons_physics_field.py
index 252b3bdb08a..f6b50844fc8 100644
--- a/release/ui/buttons_physics_field.py
+++ b/release/ui/buttons_physics_field.py
@@ -212,7 +212,7 @@ class PHYSICS_PT_collision(PhysicButtonsPanel):
sub.itemR(settings, "inner_thickness", text="Inner", slider=True)
layout.itemL(text="Force Fields:")
- layout.itemR(md, "absorption", text="Absorption")
+ layout.itemR(settings, "absorption", text="Absorption")
col = split.column()
col.itemL(text="")