Move Time Remapping into a sub-panel

This commit is contained in:
Pablo Vazquez 2018-06-06 14:28:29 +02:00
parent a8ae68aa5c
commit 3b8ae85e3d
Notes: blender-bot 2023-02-14 06:32:27 +01:00
Referenced by issue #55350, Cycles: instanced hair with hidden emitter is invisible when rendering
1 changed files with 16 additions and 2 deletions

View File

@ -152,7 +152,7 @@ class RENDER_PT_dimensions(RenderButtonsPanel, Panel):
sub.prop(rd, "use_crop_to_border", text="Crop")
col = layout.column(align=True)
col.prop(scene, "frame_start", text="Frame Range Start")
col.prop(scene, "frame_start", text="Frame Start")
col.prop(scene, "frame_end", text="End")
col.prop(scene, "frame_step", text="Step")
@ -161,8 +161,21 @@ class RENDER_PT_dimensions(RenderButtonsPanel, Panel):
col.label(text="Frame Rate")
self.draw_framerate(col, rd)
class RENDER_PT_frame_remapping(RenderButtonsPanel, Panel):
bl_label = "Time Remapping"
bl_parent_id = "RENDER_PT_dimensions"
bl_options = {'DEFAULT_CLOSED'}
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_EEVEE'}
def draw(self, context):
layout = self.layout
layout.use_property_split = True
rd = context.scene.render
col = layout.column(align=True)
col.prop(rd, "frame_map_old", text="Time Remapping Old")
col.prop(rd, "frame_map_old", text="Old")
col.prop(rd, "frame_map_new", text="New")
@ -774,6 +787,7 @@ classes = (
RENDER_MT_framerate_presets,
RENDER_PT_context,
RENDER_PT_dimensions,
RENDER_PT_frame_remapping,
RENDER_PT_post_processing,
RENDER_PT_output,
RENDER_PT_encoding,