fake-bpy-module 20240722__py3-none-any.whl → 20240724__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of fake-bpy-module might be problematic. Click here for more details.
- bl_operators/add_mesh_torus/__init__.pyi +2 -1
- bl_operators/assets/__init__.pyi +2 -2
- bl_operators/bone_selection_sets/__init__.pyi +16 -16
- bl_operators/connect_to_output/__init__.pyi +4 -1
- bl_operators/image_as_planes/__init__.pyi +12 -2
- bl_operators/node/__init__.pyi +14 -14
- bl_operators/object_quick_effects/__init__.pyi +3 -3
- bl_operators/presets/__init__.pyi +24 -24
- bl_operators/sequencer/__init__.pyi +76 -76
- bl_operators/wm/__init__.pyi +4 -5
- bl_ui/__init__.pyi +3 -4
- bl_ui/anim/__init__.pyi +1 -2
- bl_ui/asset_shelf/__init__.pyi +1 -2
- bl_ui/generic_ui_list/__init__.pyi +3 -3
- bl_ui/node_add_menu/__init__.pyi +1 -2
- bl_ui/node_add_menu_compositor/__init__.pyi +18 -19
- bl_ui/node_add_menu_geometry/__init__.pyi +50 -53
- bl_ui/node_add_menu_shader/__init__.pyi +10 -11
- bl_ui/node_add_menu_texture/__init__.pyi +9 -10
- bl_ui/properties_collection/__init__.pyi +9 -7
- bl_ui/properties_constraint/__init__.pyi +227 -80
- bl_ui/properties_data_armature/__init__.pyi +27 -18
- bl_ui/properties_data_bone/__init__.pyi +13 -11
- bl_ui/properties_data_camera/__init__.pyi +18 -15
- bl_ui/properties_data_curve/__init__.pyi +72 -78
- bl_ui/properties_data_curves/__init__.pyi +9 -7
- bl_ui/properties_data_empty/__init__.pyi +2 -3
- bl_ui/properties_data_gpencil/__init__.pyi +42 -21
- bl_ui/properties_data_grease_pencil/__init__.pyi +23 -19
- bl_ui/properties_data_lattice/__init__.pyi +6 -4
- bl_ui/properties_data_light/__init__.pyi +15 -13
- bl_ui/properties_data_lightprobe/__init__.pyi +13 -14
- bl_ui/properties_data_mesh/__init__.pyi +71 -69
- bl_ui/properties_data_metaball/__init__.pyi +8 -6
- bl_ui/properties_data_modifier/__init__.pyi +9 -10
- bl_ui/properties_data_pointcloud/__init__.pyi +8 -6
- bl_ui/properties_data_shaderfx/__init__.pyi +1 -2
- bl_ui/properties_data_speaker/__init__.pyi +8 -6
- bl_ui/properties_data_volume/__init__.pyi +11 -9
- bl_ui/properties_freestyle/__init__.pyi +31 -84
- bl_ui/properties_grease_pencil_common/__init__.pyi +15 -16
- bl_ui/properties_mask_common/__init__.pyi +7 -8
- bl_ui/properties_material/__init__.pyi +19 -17
- bl_ui/properties_material_gpencil/__init__.pyi +17 -11
- bl_ui/properties_object/__init__.pyi +22 -15
- bl_ui/properties_output/__init__.pyi +19 -19
- bl_ui/properties_paint_common/__init__.pyi +18 -19
- bl_ui/properties_particle/__init__.pyi +56 -53
- bl_ui/properties_physics_cloth/__init__.pyi +15 -15
- bl_ui/properties_physics_common/__init__.pyi +1 -2
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +22 -25
- bl_ui/properties_physics_field/__init__.pyi +10 -11
- bl_ui/properties_physics_fluid/__init__.pyi +29 -29
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +1 -2
- bl_ui/properties_physics_rigidbody/__init__.pyi +10 -9
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +25 -14
- bl_ui/properties_physics_softbody/__init__.pyi +15 -16
- bl_ui/properties_render/__init__.pyi +63 -58
- bl_ui/properties_scene/__init__.pyi +37 -37
- bl_ui/properties_texture/__init__.pyi +31 -43
- bl_ui/properties_view_layer/__init__.pyi +52 -56
- bl_ui/properties_workspace/__init__.pyi +7 -5
- bl_ui/properties_world/__init__.pyi +13 -11
- bl_ui/space_clip/__init__.pyi +90 -72
- bl_ui/space_console/__init__.pyi +6 -7
- bl_ui/space_dopesheet/__init__.pyi +68 -32
- bl_ui/space_filebrowser/__init__.pyi +38 -32
- bl_ui/space_graph/__init__.pyi +23 -21
- bl_ui/space_image/__init__.pyi +254 -274
- bl_ui/space_info/__init__.pyi +6 -7
- bl_ui/space_nla/__init__.pyi +18 -18
- bl_ui/space_node/__init__.pyi +35 -29
- bl_ui/space_outliner/__init__.pyi +14 -15
- bl_ui/space_properties/__init__.pyi +3 -4
- bl_ui/space_sequencer/__init__.pyi +95 -79
- bl_ui/space_spreadsheet/__init__.pyi +1 -2
- bl_ui/space_statusbar/__init__.pyi +1 -2
- bl_ui/space_text/__init__.pyi +16 -17
- bl_ui/space_time/__init__.pyi +7 -8
- bl_ui/space_toolsystem_common/__init__.pyi +1 -2
- bl_ui/space_toolsystem_toolbar/__init__.pyi +13 -5
- bl_ui/space_topbar/__init__.pyi +26 -27
- bl_ui/space_userpref/__init__.pyi +126 -92
- bl_ui/space_view3d/__init__.pyi +359 -366
- bl_ui/space_view3d_toolbar/__init__.pyi +649 -825
- bl_ui/temp_anim_layers/__init__.pyi +1 -2
- bpy/ops/export_scene/__init__.pyi +1 -1
- bpy/ops/grease_pencil/__init__.pyi +18 -0
- bpy/ops/sequencer/__init__.pyi +1 -1
- bpy/types/__init__.pyi +29470 -29130
- bpy_extras/node_shader_utils/__init__.pyi +118 -118
- {fake_bpy_module-20240722.dist-info → fake_bpy_module-20240724.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240722.dist-info → fake_bpy_module-20240724.dist-info}/RECORD +98 -98
- freestyle/utils/__init__.pyi +1 -1
- keyingsets_builtins/__init__.pyi +2 -2
- nodeitems_builtins/__init__.pyi +4 -4
- {fake_bpy_module-20240722.dist-info → fake_bpy_module-20240724.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240722.dist-info → fake_bpy_module-20240724.dist-info}/top_level.txt +0 -0
|
@@ -2,11 +2,12 @@ import typing
|
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
4
|
import bpy.types
|
|
5
|
+
import bpy_extras.object_utils
|
|
5
6
|
|
|
6
7
|
GenericType1 = typing.TypeVar("GenericType1")
|
|
7
8
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
8
9
|
|
|
9
|
-
class AddTorus(bpy.types.Operator):
|
|
10
|
+
class AddTorus(bpy.types.Operator, bpy_extras.object_utils.AddObjectHelper):
|
|
10
11
|
"""Construct a torus mesh"""
|
|
11
12
|
|
|
12
13
|
bl_idname: typing.Any
|
bl_operators/assets/__init__.pyi
CHANGED
|
@@ -68,7 +68,7 @@ class ASSET_OT_open_containing_blend_file(bpy.types.Operator):
|
|
|
68
68
|
"""
|
|
69
69
|
...
|
|
70
70
|
|
|
71
|
-
class ASSET_OT_tag_add(bpy.types.Operator):
|
|
71
|
+
class ASSET_OT_tag_add(AssetBrowserMetadataOperator, bpy.types.Operator):
|
|
72
72
|
"""Add a new keyword tag to the active asset"""
|
|
73
73
|
|
|
74
74
|
bl_idname: typing.Any
|
|
@@ -100,7 +100,7 @@ class ASSET_OT_tag_add(bpy.types.Operator):
|
|
|
100
100
|
"""
|
|
101
101
|
...
|
|
102
102
|
|
|
103
|
-
class ASSET_OT_tag_remove(bpy.types.Operator):
|
|
103
|
+
class ASSET_OT_tag_remove(AssetBrowserMetadataOperator, bpy.types.Operator):
|
|
104
104
|
"""Remove an existing keyword tag from the active asset"""
|
|
105
105
|
|
|
106
106
|
bl_idname: typing.Any
|
|
@@ -6,7 +6,7 @@ import bpy.types
|
|
|
6
6
|
GenericType1 = typing.TypeVar("GenericType1")
|
|
7
7
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
8
8
|
|
|
9
|
-
class POSE_OT_selection_set_add(bpy.types.Operator):
|
|
9
|
+
class POSE_OT_selection_set_add(_PoseModeOnlyMixin, bpy.types.Operator):
|
|
10
10
|
"""Operator only available for objects of type armature in pose mode."""
|
|
11
11
|
|
|
12
12
|
bl_description: typing.Any
|
|
@@ -39,7 +39,7 @@ class POSE_OT_selection_set_add(bpy.types.Operator):
|
|
|
39
39
|
"""
|
|
40
40
|
...
|
|
41
41
|
|
|
42
|
-
class POSE_OT_selection_set_add_and_assign(bpy.types.Operator):
|
|
42
|
+
class POSE_OT_selection_set_add_and_assign(_PoseModeOnlyMixin, bpy.types.Operator):
|
|
43
43
|
"""Operator only available for objects of type armature in pose mode."""
|
|
44
44
|
|
|
45
45
|
bl_description: typing.Any
|
|
@@ -72,7 +72,7 @@ class POSE_OT_selection_set_add_and_assign(bpy.types.Operator):
|
|
|
72
72
|
"""
|
|
73
73
|
...
|
|
74
74
|
|
|
75
|
-
class POSE_OT_selection_set_assign(bpy.types.Operator):
|
|
75
|
+
class POSE_OT_selection_set_assign(_PoseModeOnlyMixin, bpy.types.Operator):
|
|
76
76
|
"""Operator only available for objects of type armature in pose mode."""
|
|
77
77
|
|
|
78
78
|
bl_description: typing.Any
|
|
@@ -113,7 +113,7 @@ class POSE_OT_selection_set_assign(bpy.types.Operator):
|
|
|
113
113
|
"""
|
|
114
114
|
...
|
|
115
115
|
|
|
116
|
-
class POSE_OT_selection_set_copy(
|
|
116
|
+
class POSE_OT_selection_set_copy(_NeedSelSetMixin, bpy.types.Operator):
|
|
117
117
|
"""Operator only available if the armature has a selected selection set."""
|
|
118
118
|
|
|
119
119
|
bl_description: typing.Any
|
|
@@ -146,7 +146,7 @@ class POSE_OT_selection_set_copy(_PoseModeOnlyMixin, bpy.types.Operator):
|
|
|
146
146
|
"""
|
|
147
147
|
...
|
|
148
148
|
|
|
149
|
-
class POSE_OT_selection_set_delete_all(bpy.types.Operator):
|
|
149
|
+
class POSE_OT_selection_set_delete_all(_PoseModeOnlyMixin, bpy.types.Operator):
|
|
150
150
|
"""Operator only available for objects of type armature in pose mode."""
|
|
151
151
|
|
|
152
152
|
bl_description: typing.Any
|
|
@@ -179,7 +179,7 @@ class POSE_OT_selection_set_delete_all(bpy.types.Operator):
|
|
|
179
179
|
"""
|
|
180
180
|
...
|
|
181
181
|
|
|
182
|
-
class POSE_OT_selection_set_deselect(
|
|
182
|
+
class POSE_OT_selection_set_deselect(_NeedSelSetMixin, bpy.types.Operator):
|
|
183
183
|
"""Operator only available if the armature has a selected selection set."""
|
|
184
184
|
|
|
185
185
|
bl_description: typing.Any
|
|
@@ -212,7 +212,7 @@ class POSE_OT_selection_set_deselect(_PoseModeOnlyMixin, bpy.types.Operator):
|
|
|
212
212
|
"""
|
|
213
213
|
...
|
|
214
214
|
|
|
215
|
-
class POSE_OT_selection_set_move(
|
|
215
|
+
class POSE_OT_selection_set_move(_NeedSelSetMixin, bpy.types.Operator):
|
|
216
216
|
"""Operator only available if the armature has a selected selection set."""
|
|
217
217
|
|
|
218
218
|
bl_description: typing.Any
|
|
@@ -253,7 +253,7 @@ class POSE_OT_selection_set_move(_PoseModeOnlyMixin, bpy.types.Operator):
|
|
|
253
253
|
"""
|
|
254
254
|
...
|
|
255
255
|
|
|
256
|
-
class POSE_OT_selection_set_paste(bpy.types.Operator):
|
|
256
|
+
class POSE_OT_selection_set_paste(_PoseModeOnlyMixin, bpy.types.Operator):
|
|
257
257
|
"""Operator only available for objects of type armature in pose mode."""
|
|
258
258
|
|
|
259
259
|
bl_description: typing.Any
|
|
@@ -286,7 +286,7 @@ class POSE_OT_selection_set_paste(bpy.types.Operator):
|
|
|
286
286
|
"""
|
|
287
287
|
...
|
|
288
288
|
|
|
289
|
-
class POSE_OT_selection_set_remove(
|
|
289
|
+
class POSE_OT_selection_set_remove(_NeedSelSetMixin, bpy.types.Operator):
|
|
290
290
|
"""Operator only available if the armature has a selected selection set."""
|
|
291
291
|
|
|
292
292
|
bl_description: typing.Any
|
|
@@ -319,7 +319,7 @@ class POSE_OT_selection_set_remove(_PoseModeOnlyMixin, bpy.types.Operator):
|
|
|
319
319
|
"""
|
|
320
320
|
...
|
|
321
321
|
|
|
322
|
-
class POSE_OT_selection_set_remove_bones(bpy.types.Operator):
|
|
322
|
+
class POSE_OT_selection_set_remove_bones(_PoseModeOnlyMixin, bpy.types.Operator):
|
|
323
323
|
"""Operator only available for objects of type armature in pose mode."""
|
|
324
324
|
|
|
325
325
|
bl_description: typing.Any
|
|
@@ -352,7 +352,7 @@ class POSE_OT_selection_set_remove_bones(bpy.types.Operator):
|
|
|
352
352
|
"""
|
|
353
353
|
...
|
|
354
354
|
|
|
355
|
-
class POSE_OT_selection_set_select(
|
|
355
|
+
class POSE_OT_selection_set_select(_NeedSelSetMixin, bpy.types.Operator):
|
|
356
356
|
"""Operator only available if the armature has a selected selection set."""
|
|
357
357
|
|
|
358
358
|
bl_description: typing.Any
|
|
@@ -385,7 +385,7 @@ class POSE_OT_selection_set_select(_PoseModeOnlyMixin, bpy.types.Operator):
|
|
|
385
385
|
"""
|
|
386
386
|
...
|
|
387
387
|
|
|
388
|
-
class POSE_OT_selection_set_unassign(
|
|
388
|
+
class POSE_OT_selection_set_unassign(_NeedSelSetMixin, bpy.types.Operator):
|
|
389
389
|
"""Operator only available if the armature has a selected selection set."""
|
|
390
390
|
|
|
391
391
|
bl_description: typing.Any
|
|
@@ -458,8 +458,8 @@ class SelectionSet(bpy.types.PropertyGroup):
|
|
|
458
458
|
"""
|
|
459
459
|
...
|
|
460
460
|
|
|
461
|
-
class
|
|
462
|
-
"""Operator only available
|
|
461
|
+
class _PoseModeOnlyMixin:
|
|
462
|
+
"""Operator only available for objects of type armature in pose mode."""
|
|
463
463
|
|
|
464
464
|
@classmethod
|
|
465
465
|
def poll(cls, context):
|
|
@@ -469,8 +469,8 @@ class _NeedSelSetMixin:
|
|
|
469
469
|
"""
|
|
470
470
|
...
|
|
471
471
|
|
|
472
|
-
class _PoseModeOnlyMixin:
|
|
473
|
-
"""Operator only available
|
|
472
|
+
class _NeedSelSetMixin(_PoseModeOnlyMixin):
|
|
473
|
+
"""Operator only available if the armature has a selected selection set."""
|
|
474
474
|
|
|
475
475
|
@classmethod
|
|
476
476
|
def poll(cls, context):
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
|
+
import bl_operators.node_editor.node_functions
|
|
4
5
|
import bpy.types
|
|
5
6
|
|
|
6
7
|
GenericType1 = typing.TypeVar("GenericType1")
|
|
7
8
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
8
9
|
|
|
9
|
-
class NODE_OT_connect_to_output(
|
|
10
|
+
class NODE_OT_connect_to_output(
|
|
11
|
+
bpy.types.Operator, bl_operators.node_editor.node_functions.NodeEditorBase
|
|
12
|
+
):
|
|
10
13
|
bl_description: typing.Any
|
|
11
14
|
bl_idname: typing.Any
|
|
12
15
|
bl_label: typing.Any
|
|
@@ -2,11 +2,15 @@ import typing
|
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
4
|
import bpy.types
|
|
5
|
+
import bpy_extras.io_utils
|
|
6
|
+
import bpy_extras.object_utils
|
|
5
7
|
|
|
6
8
|
GenericType1 = typing.TypeVar("GenericType1")
|
|
7
9
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
8
10
|
|
|
9
|
-
class IMAGE_OT_convert_to_mesh_plane(
|
|
11
|
+
class IMAGE_OT_convert_to_mesh_plane(
|
|
12
|
+
TextureProperties_MixIn, MaterialProperties_MixIn, bpy.types.Operator
|
|
13
|
+
):
|
|
10
14
|
"""Convert selected reference images to textured mesh plane"""
|
|
11
15
|
|
|
12
16
|
bl_idname: typing.Any
|
|
@@ -62,7 +66,13 @@ class IMAGE_OT_convert_to_mesh_plane(bpy.types.Operator):
|
|
|
62
66
|
"""
|
|
63
67
|
...
|
|
64
68
|
|
|
65
|
-
class IMAGE_OT_import_as_mesh_planes(
|
|
69
|
+
class IMAGE_OT_import_as_mesh_planes(
|
|
70
|
+
TextureProperties_MixIn,
|
|
71
|
+
bpy_extras.io_utils.ImportHelper,
|
|
72
|
+
bpy_extras.object_utils.AddObjectHelper,
|
|
73
|
+
MaterialProperties_MixIn,
|
|
74
|
+
bpy.types.Operator,
|
|
75
|
+
):
|
|
66
76
|
"""Create mesh plane(s) from image files with the appropriate aspect ratio"""
|
|
67
77
|
|
|
68
78
|
AXIS_MODES: typing.Any
|
bl_operators/node/__init__.pyi
CHANGED
|
@@ -38,7 +38,7 @@ class NODE_FH_image_node(bpy.types.FileHandler):
|
|
|
38
38
|
"""
|
|
39
39
|
...
|
|
40
40
|
|
|
41
|
-
class NODE_OT_add_node(bpy.types.Operator):
|
|
41
|
+
class NODE_OT_add_node(NodeAddOperator, bpy.types.Operator):
|
|
42
42
|
"""Add a node to the active tree"""
|
|
43
43
|
|
|
44
44
|
bl_idname: typing.Any
|
|
@@ -79,7 +79,7 @@ class NODE_OT_add_node(bpy.types.Operator):
|
|
|
79
79
|
"""
|
|
80
80
|
...
|
|
81
81
|
|
|
82
|
-
class NODE_OT_add_repeat_zone(
|
|
82
|
+
class NODE_OT_add_repeat_zone(NodeAddZoneOperator, bpy.types.Operator):
|
|
83
83
|
"""Add a repeat zone that allows executing nodes a dynamic number of times"""
|
|
84
84
|
|
|
85
85
|
bl_idname: typing.Any
|
|
@@ -106,7 +106,7 @@ class NODE_OT_add_repeat_zone(NodeAddOperator, bpy.types.Operator):
|
|
|
106
106
|
"""
|
|
107
107
|
...
|
|
108
108
|
|
|
109
|
-
class NODE_OT_add_simulation_zone(
|
|
109
|
+
class NODE_OT_add_simulation_zone(NodeAddZoneOperator, bpy.types.Operator):
|
|
110
110
|
"""Add simulation zone input and output nodes to the active tree"""
|
|
111
111
|
|
|
112
112
|
bl_idname: typing.Any
|
|
@@ -173,7 +173,7 @@ class NODE_OT_collapse_hide_unused_toggle(bpy.types.Operator):
|
|
|
173
173
|
"""
|
|
174
174
|
...
|
|
175
175
|
|
|
176
|
-
class NODE_OT_interface_item_duplicate(bpy.types.Operator):
|
|
176
|
+
class NODE_OT_interface_item_duplicate(NodeInterfaceOperator, bpy.types.Operator):
|
|
177
177
|
"""Add a copy of the active item to the interface"""
|
|
178
178
|
|
|
179
179
|
bl_idname: typing.Any
|
|
@@ -213,7 +213,7 @@ class NODE_OT_interface_item_duplicate(bpy.types.Operator):
|
|
|
213
213
|
"""
|
|
214
214
|
...
|
|
215
215
|
|
|
216
|
-
class NODE_OT_interface_item_new(bpy.types.Operator):
|
|
216
|
+
class NODE_OT_interface_item_new(NodeInterfaceOperator, bpy.types.Operator):
|
|
217
217
|
"""Add a new item to the interface"""
|
|
218
218
|
|
|
219
219
|
bl_idname: typing.Any
|
|
@@ -253,7 +253,7 @@ class NODE_OT_interface_item_new(bpy.types.Operator):
|
|
|
253
253
|
"""
|
|
254
254
|
...
|
|
255
255
|
|
|
256
|
-
class NODE_OT_interface_item_remove(bpy.types.Operator):
|
|
256
|
+
class NODE_OT_interface_item_remove(NodeInterfaceOperator, bpy.types.Operator):
|
|
257
257
|
"""Remove active item from the interface"""
|
|
258
258
|
|
|
259
259
|
bl_idname: typing.Any
|
|
@@ -367,14 +367,6 @@ class NodeAddOperator:
|
|
|
367
367
|
"""
|
|
368
368
|
...
|
|
369
369
|
|
|
370
|
-
class NodeAddZoneOperator:
|
|
371
|
-
def execute(self, context):
|
|
372
|
-
"""
|
|
373
|
-
|
|
374
|
-
:param context:
|
|
375
|
-
"""
|
|
376
|
-
...
|
|
377
|
-
|
|
378
370
|
class NodeInterfaceOperator:
|
|
379
371
|
@classmethod
|
|
380
372
|
def poll(cls, context):
|
|
@@ -403,3 +395,11 @@ class NodeSetting(bpy.types.PropertyGroup):
|
|
|
403
395
|
:rtype: typing.Any
|
|
404
396
|
"""
|
|
405
397
|
...
|
|
398
|
+
|
|
399
|
+
class NodeAddZoneOperator(NodeAddOperator):
|
|
400
|
+
def execute(self, context):
|
|
401
|
+
"""
|
|
402
|
+
|
|
403
|
+
:param context:
|
|
404
|
+
"""
|
|
405
|
+
...
|
|
@@ -15,7 +15,7 @@ class ObjectModeOperator:
|
|
|
15
15
|
"""
|
|
16
16
|
...
|
|
17
17
|
|
|
18
|
-
class QuickExplode(bpy.types.Operator):
|
|
18
|
+
class QuickExplode(ObjectModeOperator, bpy.types.Operator):
|
|
19
19
|
"""Make selected objects explode"""
|
|
20
20
|
|
|
21
21
|
bl_idname: typing.Any
|
|
@@ -55,7 +55,7 @@ class QuickExplode(bpy.types.Operator):
|
|
|
55
55
|
"""
|
|
56
56
|
...
|
|
57
57
|
|
|
58
|
-
class QuickFur(bpy.types.Operator):
|
|
58
|
+
class QuickFur(ObjectModeOperator, bpy.types.Operator):
|
|
59
59
|
"""Add a fur setup to the selected objects"""
|
|
60
60
|
|
|
61
61
|
bl_idname: typing.Any
|
|
@@ -119,7 +119,7 @@ class QuickLiquid(bpy.types.Operator):
|
|
|
119
119
|
"""
|
|
120
120
|
...
|
|
121
121
|
|
|
122
|
-
class QuickSmoke(bpy.types.Operator):
|
|
122
|
+
class QuickSmoke(ObjectModeOperator, bpy.types.Operator):
|
|
123
123
|
"""Use selected objects as smoke emitters"""
|
|
124
124
|
|
|
125
125
|
bl_idname: typing.Any
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
|
+
import bl_ui.utils
|
|
4
5
|
import bpy.types
|
|
5
|
-
import bpy_types
|
|
6
6
|
|
|
7
7
|
GenericType1 = typing.TypeVar("GenericType1")
|
|
8
8
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
@@ -40,7 +40,7 @@ class AddPresetBase:
|
|
|
40
40
|
"""
|
|
41
41
|
...
|
|
42
42
|
|
|
43
|
-
class AddPresetCamera(bpy.types.Operator):
|
|
43
|
+
class AddPresetCamera(AddPresetBase, bpy.types.Operator):
|
|
44
44
|
"""Add or remove a Camera Preset"""
|
|
45
45
|
|
|
46
46
|
bl_idname: typing.Any
|
|
@@ -69,7 +69,7 @@ class AddPresetCamera(bpy.types.Operator):
|
|
|
69
69
|
"""
|
|
70
70
|
...
|
|
71
71
|
|
|
72
|
-
class AddPresetCameraSafeAreas(bpy.types.Operator):
|
|
72
|
+
class AddPresetCameraSafeAreas(AddPresetBase, bpy.types.Operator):
|
|
73
73
|
"""Add or remove a Safe Areas Preset"""
|
|
74
74
|
|
|
75
75
|
bl_idname: typing.Any
|
|
@@ -98,7 +98,7 @@ class AddPresetCameraSafeAreas(bpy.types.Operator):
|
|
|
98
98
|
"""
|
|
99
99
|
...
|
|
100
100
|
|
|
101
|
-
class AddPresetCloth(bpy.types.Operator):
|
|
101
|
+
class AddPresetCloth(AddPresetBase, bpy.types.Operator):
|
|
102
102
|
"""Add or remove a Cloth Preset"""
|
|
103
103
|
|
|
104
104
|
bl_idname: typing.Any
|
|
@@ -127,7 +127,7 @@ class AddPresetCloth(bpy.types.Operator):
|
|
|
127
127
|
"""
|
|
128
128
|
...
|
|
129
129
|
|
|
130
|
-
class AddPresetColorManagementWhiteBalance(bpy.types.Operator):
|
|
130
|
+
class AddPresetColorManagementWhiteBalance(AddPresetBase, bpy.types.Operator):
|
|
131
131
|
"""Add or remove a white balance preset"""
|
|
132
132
|
|
|
133
133
|
bl_idname: typing.Any
|
|
@@ -156,7 +156,7 @@ class AddPresetColorManagementWhiteBalance(bpy.types.Operator):
|
|
|
156
156
|
"""
|
|
157
157
|
...
|
|
158
158
|
|
|
159
|
-
class AddPresetEEVEERaytracing(bpy.types.Operator):
|
|
159
|
+
class AddPresetEEVEERaytracing(AddPresetBase, bpy.types.Operator):
|
|
160
160
|
"""Add or remove an EEVEE ray-tracing preset"""
|
|
161
161
|
|
|
162
162
|
bl_idname: typing.Any
|
|
@@ -185,7 +185,7 @@ class AddPresetEEVEERaytracing(bpy.types.Operator):
|
|
|
185
185
|
"""
|
|
186
186
|
...
|
|
187
187
|
|
|
188
|
-
class AddPresetFluid(bpy.types.Operator):
|
|
188
|
+
class AddPresetFluid(AddPresetBase, bpy.types.Operator):
|
|
189
189
|
"""Add or remove a Fluid Preset"""
|
|
190
190
|
|
|
191
191
|
bl_idname: typing.Any
|
|
@@ -214,7 +214,7 @@ class AddPresetFluid(bpy.types.Operator):
|
|
|
214
214
|
"""
|
|
215
215
|
...
|
|
216
216
|
|
|
217
|
-
class AddPresetGpencilBrush(bpy.types.Operator):
|
|
217
|
+
class AddPresetGpencilBrush(AddPresetBase, bpy.types.Operator):
|
|
218
218
|
"""Add or remove grease pencil brush preset"""
|
|
219
219
|
|
|
220
220
|
bl_idname: typing.Any
|
|
@@ -243,7 +243,7 @@ class AddPresetGpencilBrush(bpy.types.Operator):
|
|
|
243
243
|
"""
|
|
244
244
|
...
|
|
245
245
|
|
|
246
|
-
class AddPresetGpencilMaterial(bpy.types.Operator):
|
|
246
|
+
class AddPresetGpencilMaterial(AddPresetBase, bpy.types.Operator):
|
|
247
247
|
"""Add or remove grease pencil material preset"""
|
|
248
248
|
|
|
249
249
|
bl_idname: typing.Any
|
|
@@ -272,7 +272,7 @@ class AddPresetGpencilMaterial(bpy.types.Operator):
|
|
|
272
272
|
"""
|
|
273
273
|
...
|
|
274
274
|
|
|
275
|
-
class AddPresetHairDynamics(bpy.types.Operator):
|
|
275
|
+
class AddPresetHairDynamics(AddPresetBase, bpy.types.Operator):
|
|
276
276
|
"""Add or remove a Hair Dynamics Preset"""
|
|
277
277
|
|
|
278
278
|
bl_idname: typing.Any
|
|
@@ -301,7 +301,7 @@ class AddPresetHairDynamics(bpy.types.Operator):
|
|
|
301
301
|
"""
|
|
302
302
|
...
|
|
303
303
|
|
|
304
|
-
class AddPresetInterfaceTheme(bpy.types.Operator):
|
|
304
|
+
class AddPresetInterfaceTheme(AddPresetBase, bpy.types.Operator):
|
|
305
305
|
"""Add a custom theme to the preset list"""
|
|
306
306
|
|
|
307
307
|
bl_idname: typing.Any
|
|
@@ -328,7 +328,7 @@ class AddPresetInterfaceTheme(bpy.types.Operator):
|
|
|
328
328
|
"""
|
|
329
329
|
...
|
|
330
330
|
|
|
331
|
-
class AddPresetKeyconfig(bpy.types.Operator):
|
|
331
|
+
class AddPresetKeyconfig(AddPresetBase, bpy.types.Operator):
|
|
332
332
|
"""Add a custom keymap configuration to the preset list"""
|
|
333
333
|
|
|
334
334
|
bl_idname: typing.Any
|
|
@@ -363,7 +363,7 @@ class AddPresetKeyconfig(bpy.types.Operator):
|
|
|
363
363
|
"""
|
|
364
364
|
...
|
|
365
365
|
|
|
366
|
-
class AddPresetNodeColor(bpy.types.Operator):
|
|
366
|
+
class AddPresetNodeColor(AddPresetBase, bpy.types.Operator):
|
|
367
367
|
"""Add or remove a Node Color Preset"""
|
|
368
368
|
|
|
369
369
|
bl_idname: typing.Any
|
|
@@ -392,7 +392,7 @@ class AddPresetNodeColor(bpy.types.Operator):
|
|
|
392
392
|
"""
|
|
393
393
|
...
|
|
394
394
|
|
|
395
|
-
class AddPresetOperator(bpy.types.Operator):
|
|
395
|
+
class AddPresetOperator(AddPresetBase, bpy.types.Operator):
|
|
396
396
|
"""Add or remove an Operator Preset"""
|
|
397
397
|
|
|
398
398
|
bl_idname: typing.Any
|
|
@@ -429,7 +429,7 @@ class AddPresetOperator(bpy.types.Operator):
|
|
|
429
429
|
"""
|
|
430
430
|
...
|
|
431
431
|
|
|
432
|
-
class AddPresetRender(bpy.types.Operator):
|
|
432
|
+
class AddPresetRender(AddPresetBase, bpy.types.Operator):
|
|
433
433
|
"""Add or remove a Render Preset"""
|
|
434
434
|
|
|
435
435
|
bl_idname: typing.Any
|
|
@@ -458,7 +458,7 @@ class AddPresetRender(bpy.types.Operator):
|
|
|
458
458
|
"""
|
|
459
459
|
...
|
|
460
460
|
|
|
461
|
-
class AddPresetTextEditor(bpy.types.Operator):
|
|
461
|
+
class AddPresetTextEditor(AddPresetBase, bpy.types.Operator):
|
|
462
462
|
"""Add or remove a Text Editor Preset"""
|
|
463
463
|
|
|
464
464
|
bl_idname: typing.Any
|
|
@@ -487,7 +487,7 @@ class AddPresetTextEditor(bpy.types.Operator):
|
|
|
487
487
|
"""
|
|
488
488
|
...
|
|
489
489
|
|
|
490
|
-
class AddPresetTrackingCamera(bpy.types.Operator):
|
|
490
|
+
class AddPresetTrackingCamera(AddPresetBase, bpy.types.Operator):
|
|
491
491
|
"""Add or remove a Tracking Camera Intrinsics Preset"""
|
|
492
492
|
|
|
493
493
|
bl_idname: typing.Any
|
|
@@ -516,7 +516,7 @@ class AddPresetTrackingCamera(bpy.types.Operator):
|
|
|
516
516
|
"""
|
|
517
517
|
...
|
|
518
518
|
|
|
519
|
-
class AddPresetTrackingSettings(bpy.types.Operator):
|
|
519
|
+
class AddPresetTrackingSettings(AddPresetBase, bpy.types.Operator):
|
|
520
520
|
"""Add or remove a motion tracking settings preset"""
|
|
521
521
|
|
|
522
522
|
bl_idname: typing.Any
|
|
@@ -545,7 +545,7 @@ class AddPresetTrackingSettings(bpy.types.Operator):
|
|
|
545
545
|
"""
|
|
546
546
|
...
|
|
547
547
|
|
|
548
|
-
class AddPresetTrackingTrackColor(bpy.types.Operator):
|
|
548
|
+
class AddPresetTrackingTrackColor(AddPresetBase, bpy.types.Operator):
|
|
549
549
|
"""Add or remove a Clip Track Color Preset"""
|
|
550
550
|
|
|
551
551
|
bl_idname: typing.Any
|
|
@@ -605,7 +605,7 @@ class ExecutePreset(bpy.types.Operator):
|
|
|
605
605
|
"""
|
|
606
606
|
...
|
|
607
607
|
|
|
608
|
-
class RemovePresetInterfaceTheme(bpy.types.Operator):
|
|
608
|
+
class RemovePresetInterfaceTheme(AddPresetBase, bpy.types.Operator):
|
|
609
609
|
"""Remove a custom theme from the preset list"""
|
|
610
610
|
|
|
611
611
|
bl_idname: typing.Any
|
|
@@ -655,7 +655,7 @@ class RemovePresetInterfaceTheme(bpy.types.Operator):
|
|
|
655
655
|
"""
|
|
656
656
|
...
|
|
657
657
|
|
|
658
|
-
class RemovePresetKeyconfig(bpy.types.Operator):
|
|
658
|
+
class RemovePresetKeyconfig(AddPresetBase, bpy.types.Operator):
|
|
659
659
|
"""Remove a custom keymap configuration from the preset list"""
|
|
660
660
|
|
|
661
661
|
bl_idname: typing.Any
|
|
@@ -712,7 +712,7 @@ class RemovePresetKeyconfig(bpy.types.Operator):
|
|
|
712
712
|
"""
|
|
713
713
|
...
|
|
714
714
|
|
|
715
|
-
class SavePresetInterfaceTheme(bpy.types.Operator):
|
|
715
|
+
class SavePresetInterfaceTheme(AddPresetBase, bpy.types.Operator):
|
|
716
716
|
"""Save a custom theme in the preset list"""
|
|
717
717
|
|
|
718
718
|
bl_idname: typing.Any
|
|
@@ -762,7 +762,7 @@ class SavePresetInterfaceTheme(bpy.types.Operator):
|
|
|
762
762
|
"""
|
|
763
763
|
...
|
|
764
764
|
|
|
765
|
-
class WM_MT_operator_presets(bpy.types.Menu
|
|
765
|
+
class WM_MT_operator_presets(bpy.types.Menu):
|
|
766
766
|
bl_label: typing.Any
|
|
767
767
|
bl_rna: typing.Any
|
|
768
768
|
id_data: typing.Any
|
|
@@ -823,7 +823,7 @@ class WM_OT_operator_presets_cleanup(bpy.types.Operator):
|
|
|
823
823
|
"""
|
|
824
824
|
...
|
|
825
825
|
|
|
826
|
-
class WM_PT_operator_presets(bpy.types.Panel
|
|
826
|
+
class WM_PT_operator_presets(bl_ui.utils.PresetPanel, bpy.types.Panel):
|
|
827
827
|
bl_label: typing.Any
|
|
828
828
|
bl_region_type: typing.Any
|
|
829
829
|
bl_rna: typing.Any
|
|
@@ -23,75 +23,12 @@ class Fade:
|
|
|
23
23
|
"""
|
|
24
24
|
...
|
|
25
25
|
|
|
26
|
-
class
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
bl_import_operator: typing.Any
|
|
30
|
-
bl_label: typing.Any
|
|
31
|
-
bl_rna: typing.Any
|
|
32
|
-
id_data: typing.Any
|
|
33
|
-
|
|
34
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
35
|
-
"""
|
|
36
|
-
|
|
37
|
-
:return: The RNA type or default when not found.
|
|
38
|
-
:rtype: bpy.types.Struct
|
|
39
|
-
"""
|
|
40
|
-
...
|
|
41
|
-
|
|
42
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
43
|
-
"""
|
|
44
|
-
|
|
45
|
-
:return: The class or default when not found.
|
|
46
|
-
:rtype: typing.Any
|
|
47
|
-
"""
|
|
48
|
-
...
|
|
49
|
-
|
|
50
|
-
class SEQUENCER_FH_movie_strip(bpy.types.FileHandler):
|
|
51
|
-
bl_file_extensions: typing.Any
|
|
52
|
-
bl_idname: typing.Any
|
|
53
|
-
bl_import_operator: typing.Any
|
|
54
|
-
bl_label: typing.Any
|
|
55
|
-
bl_rna: typing.Any
|
|
56
|
-
id_data: typing.Any
|
|
57
|
-
|
|
58
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
59
|
-
"""
|
|
60
|
-
|
|
61
|
-
:return: The RNA type or default when not found.
|
|
62
|
-
:rtype: bpy.types.Struct
|
|
63
|
-
"""
|
|
64
|
-
...
|
|
65
|
-
|
|
66
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
67
|
-
"""
|
|
68
|
-
|
|
69
|
-
:return: The class or default when not found.
|
|
70
|
-
:rtype: typing.Any
|
|
71
|
-
"""
|
|
72
|
-
...
|
|
73
|
-
|
|
74
|
-
class SEQUENCER_FH_sound_strip(bpy.types.FileHandler):
|
|
75
|
-
bl_file_extensions: typing.Any
|
|
76
|
-
bl_idname: typing.Any
|
|
77
|
-
bl_import_operator: typing.Any
|
|
78
|
-
bl_label: typing.Any
|
|
79
|
-
bl_rna: typing.Any
|
|
80
|
-
id_data: typing.Any
|
|
81
|
-
|
|
82
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
83
|
-
"""
|
|
84
|
-
|
|
85
|
-
:return: The RNA type or default when not found.
|
|
86
|
-
:rtype: bpy.types.Struct
|
|
87
|
-
"""
|
|
88
|
-
...
|
|
89
|
-
|
|
90
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
26
|
+
class SequencerFileHandlerBase:
|
|
27
|
+
@classmethod
|
|
28
|
+
def poll_drop(cls, context):
|
|
91
29
|
"""
|
|
92
30
|
|
|
93
|
-
:
|
|
94
|
-
:rtype: typing.Any
|
|
31
|
+
:param context:
|
|
95
32
|
"""
|
|
96
33
|
...
|
|
97
34
|
|
|
@@ -310,15 +247,6 @@ class SequencerFadesClear(bpy.types.Operator):
|
|
|
310
247
|
"""
|
|
311
248
|
...
|
|
312
249
|
|
|
313
|
-
class SequencerFileHandlerBase:
|
|
314
|
-
@classmethod
|
|
315
|
-
def poll_drop(cls, context):
|
|
316
|
-
"""
|
|
317
|
-
|
|
318
|
-
:param context:
|
|
319
|
-
"""
|
|
320
|
-
...
|
|
321
|
-
|
|
322
250
|
class SequencerSplitMulticam(bpy.types.Operator):
|
|
323
251
|
"""Split multicam strip and select camera"""
|
|
324
252
|
|
|
@@ -359,4 +287,76 @@ class SequencerSplitMulticam(bpy.types.Operator):
|
|
|
359
287
|
"""
|
|
360
288
|
...
|
|
361
289
|
|
|
290
|
+
class SEQUENCER_FH_image_strip(bpy.types.FileHandler, SequencerFileHandlerBase):
|
|
291
|
+
bl_file_extensions: typing.Any
|
|
292
|
+
bl_idname: typing.Any
|
|
293
|
+
bl_import_operator: typing.Any
|
|
294
|
+
bl_label: typing.Any
|
|
295
|
+
bl_rna: typing.Any
|
|
296
|
+
id_data: typing.Any
|
|
297
|
+
|
|
298
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
299
|
+
"""
|
|
300
|
+
|
|
301
|
+
:return: The RNA type or default when not found.
|
|
302
|
+
:rtype: bpy.types.Struct
|
|
303
|
+
"""
|
|
304
|
+
...
|
|
305
|
+
|
|
306
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
307
|
+
"""
|
|
308
|
+
|
|
309
|
+
:return: The class or default when not found.
|
|
310
|
+
:rtype: typing.Any
|
|
311
|
+
"""
|
|
312
|
+
...
|
|
313
|
+
|
|
314
|
+
class SEQUENCER_FH_movie_strip(bpy.types.FileHandler, SequencerFileHandlerBase):
|
|
315
|
+
bl_file_extensions: typing.Any
|
|
316
|
+
bl_idname: typing.Any
|
|
317
|
+
bl_import_operator: typing.Any
|
|
318
|
+
bl_label: typing.Any
|
|
319
|
+
bl_rna: typing.Any
|
|
320
|
+
id_data: typing.Any
|
|
321
|
+
|
|
322
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
323
|
+
"""
|
|
324
|
+
|
|
325
|
+
:return: The RNA type or default when not found.
|
|
326
|
+
:rtype: bpy.types.Struct
|
|
327
|
+
"""
|
|
328
|
+
...
|
|
329
|
+
|
|
330
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
331
|
+
"""
|
|
332
|
+
|
|
333
|
+
:return: The class or default when not found.
|
|
334
|
+
:rtype: typing.Any
|
|
335
|
+
"""
|
|
336
|
+
...
|
|
337
|
+
|
|
338
|
+
class SEQUENCER_FH_sound_strip(bpy.types.FileHandler, SequencerFileHandlerBase):
|
|
339
|
+
bl_file_extensions: typing.Any
|
|
340
|
+
bl_idname: typing.Any
|
|
341
|
+
bl_import_operator: typing.Any
|
|
342
|
+
bl_label: typing.Any
|
|
343
|
+
bl_rna: typing.Any
|
|
344
|
+
id_data: typing.Any
|
|
345
|
+
|
|
346
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
347
|
+
"""
|
|
348
|
+
|
|
349
|
+
:return: The RNA type or default when not found.
|
|
350
|
+
:rtype: bpy.types.Struct
|
|
351
|
+
"""
|
|
352
|
+
...
|
|
353
|
+
|
|
354
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
355
|
+
"""
|
|
356
|
+
|
|
357
|
+
:return: The class or default when not found.
|
|
358
|
+
:rtype: typing.Any
|
|
359
|
+
"""
|
|
360
|
+
...
|
|
361
|
+
|
|
362
362
|
def calculate_duration_frames(scene, duration_seconds): ...
|