Fix mistake in bpy.types.HydraRenderEngine API example

This commit is contained in:
Brecht Van Lommel 2023-08-07 14:49:32 +02:00
parent b1357f6790
commit 3549e1fd40

@ -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.