diff --git a/development_icon_get.py b/development_icon_get.py index 60a8fa439446f95f668610d4f15726e0e1c98eb5..f09a12a3c44a62772791b8081e7fa91ad55e8b07 100644 --- a/development_icon_get.py +++ b/development_icon_get.py @@ -203,7 +203,7 @@ def register(): icons_total = len(create_icon_list_all()) icons_per_row = 10 - class IconProps(bpy.types.IDPropertyGroup): + class IconProps(bpy.types.PropertyGroup): """ Fake module like class bpy.context.scene.icon_props diff --git a/io_coat3D/__init__.py b/io_coat3D/__init__.py index d1fc435297628a7d4cdc576c2efa6fdb83fa1671..61487e2bf677a01c3e2738199d0bbf6abb193de7 100644 --- a/io_coat3D/__init__.py +++ b/io_coat3D/__init__.py @@ -51,7 +51,7 @@ def register(): bpy.coat3D['status'] = 0 bpy.coat3D['kuva'] = 1 - class ObjectCoat3D(bpy.types.IDPropertyGroup): + class ObjectCoat3D(bpy.types.PropertyGroup): objpath = StringProperty(name="Object_Path") coatpath = StringProperty(name="Coat_Path") objectdir = StringProperty(name="ObjectPath", subtype="FILE_PATH") @@ -59,7 +59,7 @@ def register(): path3b = StringProperty(name="3B Path", subtype="FILE_PATH") - class SceneCoat3D(bpy.types.IDPropertyGroup): + class SceneCoat3D(bpy.types.PropertyGroup): exchangedir = StringProperty( name="FilePath", subtype="DIR_PATH", diff --git a/modules/extensions_framework/__init__.py b/modules/extensions_framework/__init__.py index a24f4ba51721a41b562114e294f11787ec70aef9..e61b645c3ba66ff1d10a3c1bddfd93abc01aa0b9 100644 --- a/modules/extensions_framework/__init__.py +++ b/modules/extensions_framework/__init__.py @@ -115,7 +115,7 @@ def init_properties(obj, props, cache=True): # Silently skip invalid entries in props continue -class declarative_property_group(bpy.types.IDPropertyGroup): +class declarative_property_group(bpy.types.PropertyGroup): """A declarative_property_group describes a set of logically related properties, using a declarative style to list each property type, name, values, and other relevant information. @@ -137,7 +137,7 @@ class declarative_property_group(bpy.types.IDPropertyGroup): ef_initialised = False """This property tells extensions_framework which bpy.type(s) - to attach this IDPropertyGroup to. If left as an empty list, + to attach this PropertyGroup to. If left as an empty list, it will not be attached to any type, but its properties will still be initialised. The type(s) given in the list should be a string, such as 'Scene'. diff --git a/render_renderfarmfi.py b/render_renderfarmfi.py index 556a13c94ff9503e5514fb9f08708c876721b76d..3521d9b9df3230061121d093e225baaebf207559 100644 --- a/render_renderfarmfi.py +++ b/render_renderfarmfi.py @@ -81,10 +81,10 @@ licenses = ( ('7', 'Copyright', 'Copyright, no license specified'), ) -class ORESession(bpy.types.IDPropertyGroup): +class ORESession(bpy.types.PropertyGroup): name = StringProperty(name='Name', description='Name of the session', maxlen=128, default='[session]') -class ORESettings(bpy.types.IDPropertyGroup): +class ORESettings(bpy.types.PropertyGroup): username = StringProperty(name='E-mail', description='E-mail for Renderfarm.fi', maxlen=256, default='') password = StringProperty(name='Password', description='Renderfarm.fi password', maxlen=256, default='') hash = StringProperty(name='Hash', description='hash calculated out of credentials', maxlen=33, default='') diff --git a/rigify/__init__.py b/rigify/__init__.py index 29eb5bb4308e5a84fab4e80d82ea6a1496dc3a31..9ffad7ac6f0890ee68d8947ccd6dba2c2f6678aa 100644 --- a/rigify/__init__.py +++ b/rigify/__init__.py @@ -108,11 +108,11 @@ for c in collection_list: col_enum_list += [(c, c, "")] -class RigifyName(bpy.types.IDPropertyGroup): +class RigifyName(bpy.types.PropertyGroup): name = bpy.props.StringProperty() -class RigifyParameters(bpy.types.IDPropertyGroup): +class RigifyParameters(bpy.types.PropertyGroup): name = bpy.props.StringProperty() diff --git a/rigify/rigs/biped/arm/__init__.py b/rigify/rigs/biped/arm/__init__.py index 13d9e430bccf2787dd764ebb9740a746c6067d21..0fd2c43f1b0999e5d4b44420c3430b9413efec4c 100644 --- a/rigify/rigs/biped/arm/__init__.py +++ b/rigify/rigs/biped/arm/__init__.py @@ -69,7 +69,7 @@ class Rig: @classmethod def add_parameters(self, group): """ Add the parameters of this rig type to the - RigifyParameters IDPropertyGroup + RigifyParameters PropertyGroup """ items = [('X', 'X', ''), ('Y', 'Y', ''), ('Z', 'Z', ''), ('-X', '-X', ''), ('-Y', '-Y', ''), ('-Z', '-Z', '')] diff --git a/rigify/rigs/biped/leg/__init__.py b/rigify/rigs/biped/leg/__init__.py index 5cbf3b11bef290073a43e1057b393d472d169b61..4c9997bf58b3529dfd63b8db6ebe36aac965e4a8 100644 --- a/rigify/rigs/biped/leg/__init__.py +++ b/rigify/rigs/biped/leg/__init__.py @@ -69,7 +69,7 @@ class Rig: @classmethod def add_parameters(self, group): """ Add the parameters of this rig type to the - RigifyParameters IDPropertyGroup + RigifyParameters PropertyGroup """ items = [('X', 'X', ''), ('Y', 'Y', ''), ('Z', 'Z', ''), ('-X', '-X', ''), ('-Y', '-Y', ''), ('-Z', '-Z', '')] diff --git a/rigify/rigs/finger.py b/rigify/rigs/finger.py index f5788d023fb94679b6c0f35dfa7b91f902a11753..0676899bfb8a8bb8f30d6f29fe122c506229d7de 100644 --- a/rigify/rigs/finger.py +++ b/rigify/rigs/finger.py @@ -277,7 +277,7 @@ class Rig: @classmethod def add_parameters(self, group): """ Add the parameters of this rig type to the - RigifyParameters IDPropertyGroup + RigifyParameters PropertyGroup """ items = [('X', 'X', ''), ('Y', 'Y', ''), ('Z', 'Z', ''), ('-X', '-X', ''), ('-Y', '-Y', ''), ('-Z', '-Z', '')] group.primary_rotation_axis = bpy.props.EnumProperty(items=items, name="Primary Rotation Axis", default='X') diff --git a/rigify/rigs/palm.py b/rigify/rigs/palm.py index 5a0fa7737326b363f2c06042e8c1f144417a73f6..26cb371551ef340beb88e7a9a8234b5207937e5a 100644 --- a/rigify/rigs/palm.py +++ b/rigify/rigs/palm.py @@ -161,7 +161,7 @@ class Rig: @classmethod def add_parameters(self, group): """ Add the parameters of this rig type to the - RigifyParameters IDPropertyGroup + RigifyParameters PropertyGroup """ items = [('X', 'X', ''), ('Z', 'Z', '')] diff --git a/text_editor_api_navigator.py b/text_editor_api_navigator.py index 2d2c0bd0c40d2229a2454462e1adbc550016ec80..dec0bad6aa80d8dc838fd078fcbd321c944b4734 100644 --- a/text_editor_api_navigator.py +++ b/text_editor_api_navigator.py @@ -675,7 +675,7 @@ def unregister_keymaps(): def register(): from bpy.props import StringProperty, IntProperty, PointerProperty - class ApiNavProps(bpy.types.IDPropertyGroup): + class ApiNavProps(bpy.types.PropertyGroup): """ Fake module like class.