mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix mistake in bpy.types.HydraRenderEngine API example
This commit is contained in:
parent
b1357f6790
commit
3549e1fd40
1 changed files with 1 additions and 3 deletions
|
|
@ -19,9 +19,7 @@ class CustomHydraRenderEngine(bpy.types.HydraRenderEngine):
|
|||
# Register path to plugin.
|
||||
@classmethod
|
||||
def register(cls):
|
||||
super().register()
|
||||
|
||||
import pxr
|
||||
import pxr.Plug
|
||||
pxr.Plug.Registry().RegisterPlugins(['/path/to/plugin'])
|
||||
|
||||
# Render settings that will be passed to the delegate.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue