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>2010-08-22 13:18:26 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2010-08-22 13:18:26 +0400
commitde35361b11c6f0a9f7082184cc9b337b60686ac7 (patch)
treed63110e272e7a911600c0b6637a76f2c58e3efac /release
parent6e141b73316c636dbdccc2254e886da55059e9cb (diff)
Fix python errors in particles render panel and rigid body joint constraint.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/ui/properties_object_constraint.py2
-rw-r--r--release/scripts/ui/properties_particle.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/ui/properties_object_constraint.py b/release/scripts/ui/properties_object_constraint.py
index fe60465735c..8a8142a790f 100644
--- a/release/scripts/ui/properties_object_constraint.py
+++ b/release/scripts/ui/properties_object_constraint.py
@@ -524,7 +524,7 @@ class ConstraintButtonsPanel():
self.space_template(layout, con)
def RIGID_BODY_JOINT(self, context, layout, con):
- self.target_template(layout, con)
+ self.target_template(layout, con, subtargets=False)
layout.prop(con, "pivot_type")
layout.prop(con, "child")
diff --git a/release/scripts/ui/properties_particle.py b/release/scripts/ui/properties_particle.py
index 8d62385be46..27d02ac97cd 100644
--- a/release/scripts/ui/properties_particle.py
+++ b/release/scripts/ui/properties_particle.py
@@ -713,10 +713,10 @@ class PARTICLE_PT_render(ParticleButtonsPanel, bpy.types.Panel):
subsub.active = (part.use_strand_primitive is False)
subsub.prop(part, "use_render_adaptive")
subsub = sub.column()
- subsub.active = part.render_adaptive or part.use_strand_primitive == True
+ subsub.active = part.use_render_adaptive or part.use_strand_primitive == True
subsub.prop(part, "adaptive_angle")
subsub = sub.column()
- subsub.active = (part.render_adaptive is True and part.use_strand_primitive is False)
+ subsub.active = (part.use_render_adaptive is True and part.use_strand_primitive is False)
subsub.prop(part, "adaptive_pixel")
sub.prop(part, "use_hair_bspline")
sub.prop(part, "render_step", text="Steps")