2.5: small tweaks for scene and object layouts.

This commit is contained in:
Brecht Van Lommel 2009-07-14 20:38:21 +00:00
parent 83acd4ac6b
commit efe8e8dd15
2 changed files with 15 additions and 7 deletions

@ -149,11 +149,17 @@ class OBJECT_PT_animation(ObjectButtonsPanel):
sub = split.column()
sub.itemL(text="Time Offset:")
sub.itemR(ob, "time_offset_edit", text="Edit")
sub.itemR(ob, "time_offset_particle", text="Particle")
sub.itemR(ob, "time_offset_parent", text="Parent")
sub.itemR(ob, "slow_parent")
row = sub.row()
row.itemR(ob, "time_offset_particle", text="Particle")
row.active = len(ob.particle_systems) != 0
row = sub.row()
row.itemR(ob, "time_offset_parent", text="Parent")
row.active = ob.parent != None
row = sub.row()
row.itemR(ob, "slow_parent")
row.active = ob.parent != None
sub.itemR(ob, "time_offset", text="Offset")
sub = split.column()
sub.itemL(text="Tracking:")
sub.itemR(ob, "track", text="")

@ -117,9 +117,6 @@ class RENDER_PT_shading(RenderButtonsPanel):
col = split.column()
col.itemR(rd, "render_raytracing", text="Ray Tracing")
row = col.row()
row.active = rd.render_raytracing
row.itemR(rd, "octree_resolution", text="Octree")
col.itemR(rd, "alpha_mode", text="Alpha")
class RENDER_PT_performance(RenderButtonsPanel):
@ -159,6 +156,11 @@ class RENDER_PT_performance(RenderButtonsPanel):
col.itemR(rd, "free_image_textures")
col.active = rd.use_compositing
row = layout.row()
row.active = rd.render_raytracing
row.itemR(rd, "octree_resolution", text="Ray Tracing Octree")
class RENDER_PT_post_processing(RenderButtonsPanel):
__label__ = "Post Processing"
__default_closed__ = True