Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP viewport engine #110

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion mitsuba-blender/engine/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ def get_panels():
'VIEWLAYER_PT_layer_passes',
'RENDER_PT_simplify',
'RENDER_PT_color_management',
'RENDER_PT_freestyle'
'RENDER_PT_freestyle',
'RENDER_PT_gpencil'
}

panels = []
Expand All @@ -20,14 +21,18 @@ def get_panels():

def register():
from . import properties
from . import panels
properties.register()
panels.register()
bpy.utils.register_class(MitsubaRenderEngine)
for panel in get_panels():
panel.COMPAT_ENGINES.add('MITSUBA')

def unregister():
from . import properties
from . import panels
properties.unregister()
panels.unregister()
bpy.utils.unregister_class(MitsubaRenderEngine)
for panel in get_panels():
if 'MITSUBA' in panel.COMPAT_ENGINES:
Expand Down
Loading
Loading