Refactoring of Storm Hydra render addon #13

Merged
Bogdan Nagirniak merged 8 commits from BLEN-413 into storm-hydra-addon 2023-06-01 02:36:50 +02:00
Showing only changes of commit fb8f186cd0 - Show all commits

View File

@ -22,7 +22,7 @@ class Properties(bpy.types.PropertyGroup):
del cls.type.hydra_storm del cls.type.hydra_storm
class RenderSettings(bpy.types.PropertyGroup): class RenderProperties(bpy.types.PropertyGroup):
enable_tiny_prim_culling: bpy.props.BoolProperty( enable_tiny_prim_culling: bpy.props.BoolProperty(
name="Tiny Prim Culling", name="Tiny Prim Culling",
description="Enable Tiny Prim Culling", description="Enable Tiny Prim Culling",
@ -53,11 +53,11 @@ class RenderSettings(bpy.types.PropertyGroup):
class SceneProperties(Properties): class SceneProperties(Properties):
type = bpy.types.Scene type = bpy.types.Scene
final: bpy.props.PointerProperty(type=RenderSettings) final: bpy.props.PointerProperty(type=RenderProperties)
viewport: bpy.props.PointerProperty(type=RenderSettings) viewport: bpy.props.PointerProperty(type=RenderProperties)
register, unregister = bpy.utils.register_classes_factory(( register, unregister = bpy.utils.register_classes_factory((
RenderSettings, RenderProperties,
SceneProperties, SceneProperties,
)) ))