MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/splashsurf / register

Function register

splashsurf_studio/src/__init__.py:46–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44]
45
46def register():
47 for cls in classes:
48 bpy.utils.register_class(cls)
49
50 bpy.types.Object.viewport_reconstruction_properties = bpy.props.PointerProperty(type=SPSF_Reconstruction_Properties)
51 bpy.types.Object.render_reconstruction_properties = bpy.props.PointerProperty(type=SPSF_Reconstruction_Properties)
52 bpy.types.Scene.splashsurf_studio = bpy.props.PointerProperty(type=SPSF_Scene_Properties)
53 bpy.types.Mesh.cached = bpy.props.BoolProperty(default=False)
54
55 bpy.app.handlers.load_post.append(ensure_frame_change_handlers)
56
57 # Run once to ensure handlers are added when script is reloaded
58 ensure_frame_change_handlers(None)
59
60def unregister():
61 for cls in classes:

Callers

nothing calls this directly

Calls 2

appendMethod · 0.45

Tested by

no test coverage detected