()
| 44 | ] |
| 45 | |
| 46 | def 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 | |
| 60 | def unregister(): |
| 61 | for cls in classes: |
nothing calls this directly
no test coverage detected