forked from blender/blender-addons
Refactoring of Storm Hydra render addon #13
@ -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):
|
||||||
BogdanNagirniak marked this conversation as resolved
Outdated
|
|||||||
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,
|
||||||
))
|
))
|
||||||
|
Loading…
Reference in New Issue
Block a user
Rename to
RenderProperties
as more related