Page 1 of 1

Simplify is missing in scene tab

PostPosted: Wed Feb 20, 2019 10:43 pm
by J.C
This is a missing scene rollout that might be useful in some cases. Please bring it back. Here is the code if some one wants to add it to ui.py file:

Code: Select all
class Scene_PT_simplify(OctaneButtonsPanel, Panel):
    bl_label = "Simplify"
    bl_context = "scene"
   
    def draw_header(self, context):
        rd = context.scene.render
        self.layout.prop(rd, "use_simplify", text="")

    def draw(self, context):
        layout = self.layout

        scene = context.scene
        rd = scene.render
        cscene = scene.octane

        layout.active = rd.use_simplify

        col = layout.column(align=True)
        col.label(text="Subdivision")
        row = col.row(align=True)
        row.prop(rd, "simplify_subdivision", text="Viewport")
        row.prop(rd, "simplify_subdivision_render", text="Render")

        col = layout.column(align=True)
        col.label(text="Child Particles")
        row = col.row(align=True)
        row.prop(rd, "simplify_child_particles", text="Viewport")
        row.prop(rd, "simplify_child_particles_render", text="Render")