fake-bpy-module 20240722__py3-none-any.whl → 20240723__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/sequencer/__init__.pyi +1 -1
- bpy/types/__init__.pyi +29718 -29418
- bpy_extras/node_shader_utils/__init__.pyi +118 -118
- {fake_bpy_module-20240722.dist-info → fake_bpy_module-20240723.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240722.dist-info → fake_bpy_module-20240723.dist-info}/RECORD +96 -96
- 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-20240723.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240722.dist-info → fake_bpy_module-20240723.dist-info}/top_level.txt +0 -0
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
|
+
import bl_ui.properties_animviz
|
|
4
5
|
import bpy.types
|
|
5
|
-
import
|
|
6
|
+
import rna_prop_ui
|
|
6
7
|
|
|
7
8
|
GenericType1 = typing.TypeVar("GenericType1")
|
|
8
9
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
9
10
|
|
|
10
|
-
class ARMATURE_MT_collection_context_menu(bpy.types.Menu
|
|
11
|
+
class ARMATURE_MT_collection_context_menu(bpy.types.Menu):
|
|
11
12
|
bl_label: typing.Any
|
|
12
13
|
bl_rna: typing.Any
|
|
13
14
|
id_data: typing.Any
|
|
@@ -35,7 +36,7 @@ class ARMATURE_MT_collection_context_menu(bpy.types.Menu, bpy_types._GenericUI):
|
|
|
35
36
|
"""
|
|
36
37
|
...
|
|
37
38
|
|
|
38
|
-
class ARMATURE_MT_collection_tree_context_menu(bpy.types.Menu
|
|
39
|
+
class ARMATURE_MT_collection_tree_context_menu(bpy.types.Menu):
|
|
39
40
|
bl_label: typing.Any
|
|
40
41
|
bl_rna: typing.Any
|
|
41
42
|
id_data: typing.Any
|
|
@@ -76,7 +77,7 @@ class ArmatureButtonsPanel:
|
|
|
76
77
|
"""
|
|
77
78
|
...
|
|
78
79
|
|
|
79
|
-
class DATA_PT_bone_collections(bpy.types.Panel
|
|
80
|
+
class DATA_PT_bone_collections(ArmatureButtonsPanel, bpy.types.Panel):
|
|
80
81
|
bl_context: typing.Any
|
|
81
82
|
bl_label: typing.Any
|
|
82
83
|
bl_region_type: typing.Any
|
|
@@ -107,7 +108,7 @@ class DATA_PT_bone_collections(bpy.types.Panel, bpy_types._GenericUI):
|
|
|
107
108
|
"""
|
|
108
109
|
...
|
|
109
110
|
|
|
110
|
-
class DATA_PT_context_arm(bpy.types.Panel
|
|
111
|
+
class DATA_PT_context_arm(ArmatureButtonsPanel, bpy.types.Panel):
|
|
111
112
|
bl_context: typing.Any
|
|
112
113
|
bl_label: typing.Any
|
|
113
114
|
bl_options: typing.Any
|
|
@@ -139,7 +140,9 @@ class DATA_PT_context_arm(bpy.types.Panel, bpy_types._GenericUI):
|
|
|
139
140
|
"""
|
|
140
141
|
...
|
|
141
142
|
|
|
142
|
-
class DATA_PT_custom_props_arm(
|
|
143
|
+
class DATA_PT_custom_props_arm(
|
|
144
|
+
rna_prop_ui.PropertyPanel, ArmatureButtonsPanel, bpy.types.Panel
|
|
145
|
+
):
|
|
143
146
|
"""The subclass should have its own poll function
|
|
144
147
|
and the variable '_context_path' MUST be set.
|
|
145
148
|
"""
|
|
@@ -170,7 +173,9 @@ class DATA_PT_custom_props_arm(bpy.types.Panel, bpy_types._GenericUI):
|
|
|
170
173
|
"""
|
|
171
174
|
...
|
|
172
175
|
|
|
173
|
-
class DATA_PT_custom_props_bcoll(
|
|
176
|
+
class DATA_PT_custom_props_bcoll(
|
|
177
|
+
rna_prop_ui.PropertyPanel, ArmatureButtonsPanel, bpy.types.Panel
|
|
178
|
+
):
|
|
174
179
|
"""The subclass should have its own poll function
|
|
175
180
|
and the variable '_context_path' MUST be set.
|
|
176
181
|
"""
|
|
@@ -210,7 +215,7 @@ class DATA_PT_custom_props_bcoll(bpy.types.Panel, bpy_types._GenericUI):
|
|
|
210
215
|
"""
|
|
211
216
|
...
|
|
212
217
|
|
|
213
|
-
class DATA_PT_display(bpy.types.Panel
|
|
218
|
+
class DATA_PT_display(ArmatureButtonsPanel, bpy.types.Panel):
|
|
214
219
|
bl_context: typing.Any
|
|
215
220
|
bl_label: typing.Any
|
|
216
221
|
bl_options: typing.Any
|
|
@@ -242,7 +247,7 @@ class DATA_PT_display(bpy.types.Panel, bpy_types._GenericUI):
|
|
|
242
247
|
"""
|
|
243
248
|
...
|
|
244
249
|
|
|
245
|
-
class DATA_PT_iksolver_itasc(bpy.types.Panel
|
|
250
|
+
class DATA_PT_iksolver_itasc(ArmatureButtonsPanel, bpy.types.Panel):
|
|
246
251
|
bl_context: typing.Any
|
|
247
252
|
bl_label: typing.Any
|
|
248
253
|
bl_options: typing.Any
|
|
@@ -282,7 +287,9 @@ class DATA_PT_iksolver_itasc(bpy.types.Panel, bpy_types._GenericUI):
|
|
|
282
287
|
"""
|
|
283
288
|
...
|
|
284
289
|
|
|
285
|
-
class DATA_PT_motion_paths(
|
|
290
|
+
class DATA_PT_motion_paths(
|
|
291
|
+
bl_ui.properties_animviz.MotionPathButtonsPanel, bpy.types.Panel
|
|
292
|
+
):
|
|
286
293
|
bl_context: typing.Any
|
|
287
294
|
bl_label: typing.Any
|
|
288
295
|
bl_options: typing.Any
|
|
@@ -322,7 +329,9 @@ class DATA_PT_motion_paths(bpy.types.Panel, bpy_types._GenericUI):
|
|
|
322
329
|
"""
|
|
323
330
|
...
|
|
324
331
|
|
|
325
|
-
class DATA_PT_motion_paths_display(
|
|
332
|
+
class DATA_PT_motion_paths_display(
|
|
333
|
+
bl_ui.properties_animviz.MotionPathButtonsPanel_display, bpy.types.Panel
|
|
334
|
+
):
|
|
326
335
|
bl_context: typing.Any
|
|
327
336
|
bl_label: typing.Any
|
|
328
337
|
bl_options: typing.Any
|
|
@@ -363,7 +372,7 @@ class DATA_PT_motion_paths_display(bpy.types.Panel, bpy_types._GenericUI):
|
|
|
363
372
|
"""
|
|
364
373
|
...
|
|
365
374
|
|
|
366
|
-
class DATA_PT_pose(bpy.types.Panel
|
|
375
|
+
class DATA_PT_pose(ArmatureButtonsPanel, bpy.types.Panel):
|
|
367
376
|
bl_context: typing.Any
|
|
368
377
|
bl_label: typing.Any
|
|
369
378
|
bl_region_type: typing.Any
|
|
@@ -394,7 +403,7 @@ class DATA_PT_pose(bpy.types.Panel, bpy_types._GenericUI):
|
|
|
394
403
|
"""
|
|
395
404
|
...
|
|
396
405
|
|
|
397
|
-
class DATA_UL_bone_collections(bpy.types.UIList
|
|
406
|
+
class DATA_UL_bone_collections(bpy.types.UIList):
|
|
398
407
|
bl_rna: typing.Any
|
|
399
408
|
id_data: typing.Any
|
|
400
409
|
|
|
@@ -438,7 +447,7 @@ class DATA_UL_bone_collections(bpy.types.UIList, bpy_types._GenericUI):
|
|
|
438
447
|
"""
|
|
439
448
|
...
|
|
440
449
|
|
|
441
|
-
class POSE_MT_selection_set_create(bpy.types.Menu
|
|
450
|
+
class POSE_MT_selection_set_create(bpy.types.Menu):
|
|
442
451
|
bl_label: typing.Any
|
|
443
452
|
bl_rna: typing.Any
|
|
444
453
|
id_data: typing.Any
|
|
@@ -466,7 +475,7 @@ class POSE_MT_selection_set_create(bpy.types.Menu, bpy_types._GenericUI):
|
|
|
466
475
|
"""
|
|
467
476
|
...
|
|
468
477
|
|
|
469
|
-
class POSE_MT_selection_sets_context_menu(bpy.types.Menu
|
|
478
|
+
class POSE_MT_selection_sets_context_menu(bpy.types.Menu):
|
|
470
479
|
bl_label: typing.Any
|
|
471
480
|
bl_rna: typing.Any
|
|
472
481
|
id_data: typing.Any
|
|
@@ -494,7 +503,7 @@ class POSE_MT_selection_sets_context_menu(bpy.types.Menu, bpy_types._GenericUI):
|
|
|
494
503
|
"""
|
|
495
504
|
...
|
|
496
505
|
|
|
497
|
-
class POSE_MT_selection_sets_select(bpy.types.Menu
|
|
506
|
+
class POSE_MT_selection_sets_select(bpy.types.Menu):
|
|
498
507
|
bl_label: typing.Any
|
|
499
508
|
bl_rna: typing.Any
|
|
500
509
|
id_data: typing.Any
|
|
@@ -530,7 +539,7 @@ class POSE_MT_selection_sets_select(bpy.types.Menu, bpy_types._GenericUI):
|
|
|
530
539
|
"""
|
|
531
540
|
...
|
|
532
541
|
|
|
533
|
-
class POSE_PT_selection_sets(bpy.types.Panel
|
|
542
|
+
class POSE_PT_selection_sets(bpy.types.Panel):
|
|
534
543
|
bl_context: typing.Any
|
|
535
544
|
bl_label: typing.Any
|
|
536
545
|
bl_options: typing.Any
|
|
@@ -570,7 +579,7 @@ class POSE_PT_selection_sets(bpy.types.Panel, bpy_types._GenericUI):
|
|
|
570
579
|
"""
|
|
571
580
|
...
|
|
572
581
|
|
|
573
|
-
class POSE_UL_selection_set(bpy.types.UIList
|
|
582
|
+
class POSE_UL_selection_set(bpy.types.UIList):
|
|
574
583
|
bl_rna: typing.Any
|
|
575
584
|
id_data: typing.Any
|
|
576
585
|
|
|
@@ -2,12 +2,12 @@ import typing
|
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
4
|
import bpy.types
|
|
5
|
-
import
|
|
5
|
+
import rna_prop_ui
|
|
6
6
|
|
|
7
7
|
GenericType1 = typing.TypeVar("GenericType1")
|
|
8
8
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
9
9
|
|
|
10
|
-
class BONE_PT_collections(bpy.types.Panel
|
|
10
|
+
class BONE_PT_collections(BoneButtonsPanel, bpy.types.Panel):
|
|
11
11
|
bl_context: typing.Any
|
|
12
12
|
bl_label: typing.Any
|
|
13
13
|
bl_parent_id: typing.Any
|
|
@@ -47,7 +47,7 @@ class BONE_PT_collections(bpy.types.Panel, bpy_types._GenericUI):
|
|
|
47
47
|
"""
|
|
48
48
|
...
|
|
49
49
|
|
|
50
|
-
class BONE_PT_context_bone(bpy.types.Panel
|
|
50
|
+
class BONE_PT_context_bone(BoneButtonsPanel, bpy.types.Panel):
|
|
51
51
|
bl_context: typing.Any
|
|
52
52
|
bl_label: typing.Any
|
|
53
53
|
bl_options: typing.Any
|
|
@@ -79,7 +79,7 @@ class BONE_PT_context_bone(bpy.types.Panel, bpy_types._GenericUI):
|
|
|
79
79
|
"""
|
|
80
80
|
...
|
|
81
81
|
|
|
82
|
-
class BONE_PT_curved(bpy.types.Panel
|
|
82
|
+
class BONE_PT_curved(BoneButtonsPanel, bpy.types.Panel):
|
|
83
83
|
bl_context: typing.Any
|
|
84
84
|
bl_label: typing.Any
|
|
85
85
|
bl_options: typing.Any
|
|
@@ -111,7 +111,9 @@ class BONE_PT_curved(bpy.types.Panel, bpy_types._GenericUI):
|
|
|
111
111
|
"""
|
|
112
112
|
...
|
|
113
113
|
|
|
114
|
-
class BONE_PT_custom_props(
|
|
114
|
+
class BONE_PT_custom_props(
|
|
115
|
+
rna_prop_ui.PropertyPanel, BoneButtonsPanel, bpy.types.Panel
|
|
116
|
+
):
|
|
115
117
|
"""The subclass should have its own poll function
|
|
116
118
|
and the variable '_context_path' MUST be set.
|
|
117
119
|
"""
|
|
@@ -149,7 +151,7 @@ class BONE_PT_custom_props(bpy.types.Panel, bpy_types._GenericUI):
|
|
|
149
151
|
"""
|
|
150
152
|
...
|
|
151
153
|
|
|
152
|
-
class BONE_PT_deform(bpy.types.Panel
|
|
154
|
+
class BONE_PT_deform(BoneButtonsPanel, bpy.types.Panel):
|
|
153
155
|
bl_context: typing.Any
|
|
154
156
|
bl_label: typing.Any
|
|
155
157
|
bl_options: typing.Any
|
|
@@ -188,7 +190,7 @@ class BONE_PT_deform(bpy.types.Panel, bpy_types._GenericUI):
|
|
|
188
190
|
"""
|
|
189
191
|
...
|
|
190
192
|
|
|
191
|
-
class BONE_PT_display(bpy.types.Panel
|
|
193
|
+
class BONE_PT_display(BoneButtonsPanel, bpy.types.Panel):
|
|
192
194
|
bl_context: typing.Any
|
|
193
195
|
bl_label: typing.Any
|
|
194
196
|
bl_options: typing.Any
|
|
@@ -252,7 +254,7 @@ class BONE_PT_display(bpy.types.Panel, bpy_types._GenericUI):
|
|
|
252
254
|
"""
|
|
253
255
|
...
|
|
254
256
|
|
|
255
|
-
class BONE_PT_display_custom_shape(bpy.types.Panel
|
|
257
|
+
class BONE_PT_display_custom_shape(BoneButtonsPanel, bpy.types.Panel):
|
|
256
258
|
bl_context: typing.Any
|
|
257
259
|
bl_label: typing.Any
|
|
258
260
|
bl_parent_id: typing.Any
|
|
@@ -292,7 +294,7 @@ class BONE_PT_display_custom_shape(bpy.types.Panel, bpy_types._GenericUI):
|
|
|
292
294
|
"""
|
|
293
295
|
...
|
|
294
296
|
|
|
295
|
-
class BONE_PT_inverse_kinematics(bpy.types.Panel
|
|
297
|
+
class BONE_PT_inverse_kinematics(BoneButtonsPanel, bpy.types.Panel):
|
|
296
298
|
bl_context: typing.Any
|
|
297
299
|
bl_label: typing.Any
|
|
298
300
|
bl_options: typing.Any
|
|
@@ -332,7 +334,7 @@ class BONE_PT_inverse_kinematics(bpy.types.Panel, bpy_types._GenericUI):
|
|
|
332
334
|
"""
|
|
333
335
|
...
|
|
334
336
|
|
|
335
|
-
class BONE_PT_relations(bpy.types.Panel
|
|
337
|
+
class BONE_PT_relations(BoneButtonsPanel, bpy.types.Panel):
|
|
336
338
|
bl_context: typing.Any
|
|
337
339
|
bl_label: typing.Any
|
|
338
340
|
bl_options: typing.Any
|
|
@@ -364,7 +366,7 @@ class BONE_PT_relations(bpy.types.Panel, bpy_types._GenericUI):
|
|
|
364
366
|
"""
|
|
365
367
|
...
|
|
366
368
|
|
|
367
|
-
class BONE_PT_transform(bpy.types.Panel
|
|
369
|
+
class BONE_PT_transform(BoneButtonsPanel, bpy.types.Panel):
|
|
368
370
|
bl_context: typing.Any
|
|
369
371
|
bl_label: typing.Any
|
|
370
372
|
bl_region_type: typing.Any
|
|
@@ -1,13 +1,14 @@
|
|
|
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
|
|
6
|
+
import rna_prop_ui
|
|
6
7
|
|
|
7
8
|
GenericType1 = typing.TypeVar("GenericType1")
|
|
8
9
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
9
10
|
|
|
10
|
-
class CAMERA_PT_presets(bpy.types.Panel
|
|
11
|
+
class CAMERA_PT_presets(bl_ui.utils.PresetPanel, bpy.types.Panel):
|
|
11
12
|
COMPAT_ENGINES: typing.Any
|
|
12
13
|
bl_label: typing.Any
|
|
13
14
|
bl_region_type: typing.Any
|
|
@@ -34,7 +35,7 @@ class CAMERA_PT_presets(bpy.types.Panel, bpy_types._GenericUI):
|
|
|
34
35
|
"""
|
|
35
36
|
...
|
|
36
37
|
|
|
37
|
-
class CAMERA_PT_safe_areas_presets(bpy.types.Panel
|
|
38
|
+
class CAMERA_PT_safe_areas_presets(bl_ui.utils.PresetPanel, bpy.types.Panel):
|
|
38
39
|
COMPAT_ENGINES: typing.Any
|
|
39
40
|
bl_label: typing.Any
|
|
40
41
|
bl_region_type: typing.Any
|
|
@@ -74,7 +75,7 @@ class CameraButtonsPanel:
|
|
|
74
75
|
"""
|
|
75
76
|
...
|
|
76
77
|
|
|
77
|
-
class DATA_PT_camera(bpy.types.Panel
|
|
78
|
+
class DATA_PT_camera(CameraButtonsPanel, bpy.types.Panel):
|
|
78
79
|
COMPAT_ENGINES: typing.Any
|
|
79
80
|
bl_context: typing.Any
|
|
80
81
|
bl_label: typing.Any
|
|
@@ -114,7 +115,7 @@ class DATA_PT_camera(bpy.types.Panel, bpy_types._GenericUI):
|
|
|
114
115
|
"""
|
|
115
116
|
...
|
|
116
117
|
|
|
117
|
-
class DATA_PT_camera_background_image(bpy.types.Panel
|
|
118
|
+
class DATA_PT_camera_background_image(CameraButtonsPanel, bpy.types.Panel):
|
|
118
119
|
COMPAT_ENGINES: typing.Any
|
|
119
120
|
bl_context: typing.Any
|
|
120
121
|
bl_label: typing.Any
|
|
@@ -154,7 +155,7 @@ class DATA_PT_camera_background_image(bpy.types.Panel, bpy_types._GenericUI):
|
|
|
154
155
|
"""
|
|
155
156
|
...
|
|
156
157
|
|
|
157
|
-
class DATA_PT_camera_display(bpy.types.Panel
|
|
158
|
+
class DATA_PT_camera_display(CameraButtonsPanel, bpy.types.Panel):
|
|
158
159
|
COMPAT_ENGINES: typing.Any
|
|
159
160
|
bl_context: typing.Any
|
|
160
161
|
bl_label: typing.Any
|
|
@@ -187,7 +188,7 @@ class DATA_PT_camera_display(bpy.types.Panel, bpy_types._GenericUI):
|
|
|
187
188
|
"""
|
|
188
189
|
...
|
|
189
190
|
|
|
190
|
-
class DATA_PT_camera_display_composition_guides(bpy.types.Panel
|
|
191
|
+
class DATA_PT_camera_display_composition_guides(CameraButtonsPanel, bpy.types.Panel):
|
|
191
192
|
COMPAT_ENGINES: typing.Any
|
|
192
193
|
bl_context: typing.Any
|
|
193
194
|
bl_label: typing.Any
|
|
@@ -221,7 +222,7 @@ class DATA_PT_camera_display_composition_guides(bpy.types.Panel, bpy_types._Gene
|
|
|
221
222
|
"""
|
|
222
223
|
...
|
|
223
224
|
|
|
224
|
-
class DATA_PT_camera_dof(bpy.types.Panel
|
|
225
|
+
class DATA_PT_camera_dof(CameraButtonsPanel, bpy.types.Panel):
|
|
225
226
|
COMPAT_ENGINES: typing.Any
|
|
226
227
|
bl_context: typing.Any
|
|
227
228
|
bl_label: typing.Any
|
|
@@ -261,7 +262,7 @@ class DATA_PT_camera_dof(bpy.types.Panel, bpy_types._GenericUI):
|
|
|
261
262
|
"""
|
|
262
263
|
...
|
|
263
264
|
|
|
264
|
-
class DATA_PT_camera_dof_aperture(bpy.types.Panel
|
|
265
|
+
class DATA_PT_camera_dof_aperture(CameraButtonsPanel, bpy.types.Panel):
|
|
265
266
|
COMPAT_ENGINES: typing.Any
|
|
266
267
|
bl_context: typing.Any
|
|
267
268
|
bl_label: typing.Any
|
|
@@ -294,7 +295,7 @@ class DATA_PT_camera_dof_aperture(bpy.types.Panel, bpy_types._GenericUI):
|
|
|
294
295
|
"""
|
|
295
296
|
...
|
|
296
297
|
|
|
297
|
-
class DATA_PT_camera_safe_areas(bpy.types.Panel
|
|
298
|
+
class DATA_PT_camera_safe_areas(CameraButtonsPanel, bpy.types.Panel):
|
|
298
299
|
COMPAT_ENGINES: typing.Any
|
|
299
300
|
bl_context: typing.Any
|
|
300
301
|
bl_label: typing.Any
|
|
@@ -341,7 +342,7 @@ class DATA_PT_camera_safe_areas(bpy.types.Panel, bpy_types._GenericUI):
|
|
|
341
342
|
"""
|
|
342
343
|
...
|
|
343
344
|
|
|
344
|
-
class DATA_PT_camera_safe_areas_center_cut(bpy.types.Panel
|
|
345
|
+
class DATA_PT_camera_safe_areas_center_cut(CameraButtonsPanel, bpy.types.Panel):
|
|
345
346
|
COMPAT_ENGINES: typing.Any
|
|
346
347
|
bl_context: typing.Any
|
|
347
348
|
bl_label: typing.Any
|
|
@@ -382,7 +383,7 @@ class DATA_PT_camera_safe_areas_center_cut(bpy.types.Panel, bpy_types._GenericUI
|
|
|
382
383
|
"""
|
|
383
384
|
...
|
|
384
385
|
|
|
385
|
-
class DATA_PT_camera_stereoscopy(bpy.types.Panel
|
|
386
|
+
class DATA_PT_camera_stereoscopy(CameraButtonsPanel, bpy.types.Panel):
|
|
386
387
|
COMPAT_ENGINES: typing.Any
|
|
387
388
|
bl_context: typing.Any
|
|
388
389
|
bl_label: typing.Any
|
|
@@ -422,7 +423,7 @@ class DATA_PT_camera_stereoscopy(bpy.types.Panel, bpy_types._GenericUI):
|
|
|
422
423
|
"""
|
|
423
424
|
...
|
|
424
425
|
|
|
425
|
-
class DATA_PT_context_camera(bpy.types.Panel
|
|
426
|
+
class DATA_PT_context_camera(CameraButtonsPanel, bpy.types.Panel):
|
|
426
427
|
COMPAT_ENGINES: typing.Any
|
|
427
428
|
bl_context: typing.Any
|
|
428
429
|
bl_label: typing.Any
|
|
@@ -455,7 +456,9 @@ class DATA_PT_context_camera(bpy.types.Panel, bpy_types._GenericUI):
|
|
|
455
456
|
"""
|
|
456
457
|
...
|
|
457
458
|
|
|
458
|
-
class DATA_PT_custom_props_camera(
|
|
459
|
+
class DATA_PT_custom_props_camera(
|
|
460
|
+
rna_prop_ui.PropertyPanel, CameraButtonsPanel, bpy.types.Panel
|
|
461
|
+
):
|
|
459
462
|
"""The subclass should have its own poll function
|
|
460
463
|
and the variable '_context_path' MUST be set.
|
|
461
464
|
"""
|
|
@@ -486,7 +489,7 @@ class DATA_PT_custom_props_camera(bpy.types.Panel, bpy_types._GenericUI):
|
|
|
486
489
|
"""
|
|
487
490
|
...
|
|
488
491
|
|
|
489
|
-
class DATA_PT_lens(bpy.types.Panel
|
|
492
|
+
class DATA_PT_lens(CameraButtonsPanel, bpy.types.Panel):
|
|
490
493
|
COMPAT_ENGINES: typing.Any
|
|
491
494
|
bl_context: typing.Any
|
|
492
495
|
bl_label: typing.Any
|
|
@@ -2,7 +2,7 @@ import typing
|
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
4
|
import bpy.types
|
|
5
|
-
import
|
|
5
|
+
import rna_prop_ui
|
|
6
6
|
|
|
7
7
|
GenericType1 = typing.TypeVar("GenericType1")
|
|
8
8
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
@@ -20,61 +20,7 @@ class CurveButtonsPanel:
|
|
|
20
20
|
"""
|
|
21
21
|
...
|
|
22
22
|
|
|
23
|
-
class CurveButtonsPanelActive:
|
|
24
|
-
"""Same as above but for curves only"""
|
|
25
|
-
|
|
26
|
-
bl_context: typing.Any
|
|
27
|
-
bl_region_type: typing.Any
|
|
28
|
-
bl_space_type: typing.Any
|
|
29
|
-
|
|
30
|
-
@classmethod
|
|
31
|
-
def poll(cls, context):
|
|
32
|
-
"""
|
|
33
|
-
|
|
34
|
-
:param context:
|
|
35
|
-
"""
|
|
36
|
-
...
|
|
37
|
-
|
|
38
|
-
class CurveButtonsPanelCurve:
|
|
39
|
-
bl_context: typing.Any
|
|
40
|
-
bl_region_type: typing.Any
|
|
41
|
-
bl_space_type: typing.Any
|
|
42
|
-
|
|
43
|
-
@classmethod
|
|
44
|
-
def poll(cls, context):
|
|
45
|
-
"""
|
|
46
|
-
|
|
47
|
-
:param context:
|
|
48
|
-
"""
|
|
49
|
-
...
|
|
50
|
-
|
|
51
|
-
class CurveButtonsPanelSurface:
|
|
52
|
-
bl_context: typing.Any
|
|
53
|
-
bl_region_type: typing.Any
|
|
54
|
-
bl_space_type: typing.Any
|
|
55
|
-
|
|
56
|
-
@classmethod
|
|
57
|
-
def poll(cls, context):
|
|
58
|
-
"""
|
|
59
|
-
|
|
60
|
-
:param context:
|
|
61
|
-
"""
|
|
62
|
-
...
|
|
63
|
-
|
|
64
|
-
class CurveButtonsPanelText:
|
|
65
|
-
bl_context: typing.Any
|
|
66
|
-
bl_region_type: typing.Any
|
|
67
|
-
bl_space_type: typing.Any
|
|
68
|
-
|
|
69
|
-
@classmethod
|
|
70
|
-
def poll(cls, context):
|
|
71
|
-
"""
|
|
72
|
-
|
|
73
|
-
:param context:
|
|
74
|
-
"""
|
|
75
|
-
...
|
|
76
|
-
|
|
77
|
-
class DATA_PT_active_spline(bpy.types.Panel, CurveButtonsPanel, bpy_types._GenericUI):
|
|
23
|
+
class DATA_PT_active_spline(CurveButtonsPanelActive, bpy.types.Panel):
|
|
78
24
|
"""Same as above but for curves only"""
|
|
79
25
|
|
|
80
26
|
bl_context: typing.Any
|
|
@@ -108,7 +54,7 @@ class DATA_PT_active_spline(bpy.types.Panel, CurveButtonsPanel, bpy_types._Gener
|
|
|
108
54
|
"""
|
|
109
55
|
...
|
|
110
56
|
|
|
111
|
-
class DATA_PT_context_curve(bpy.types.Panel
|
|
57
|
+
class DATA_PT_context_curve(CurveButtonsPanel, bpy.types.Panel):
|
|
112
58
|
bl_context: typing.Any
|
|
113
59
|
bl_label: typing.Any
|
|
114
60
|
bl_options: typing.Any
|
|
@@ -140,7 +86,7 @@ class DATA_PT_context_curve(bpy.types.Panel, bpy_types._GenericUI):
|
|
|
140
86
|
"""
|
|
141
87
|
...
|
|
142
88
|
|
|
143
|
-
class DATA_PT_curve_texture_space(bpy.types.Panel
|
|
89
|
+
class DATA_PT_curve_texture_space(CurveButtonsPanel, bpy.types.Panel):
|
|
144
90
|
COMPAT_ENGINES: typing.Any
|
|
145
91
|
bl_context: typing.Any
|
|
146
92
|
bl_label: typing.Any
|
|
@@ -173,7 +119,9 @@ class DATA_PT_curve_texture_space(bpy.types.Panel, bpy_types._GenericUI):
|
|
|
173
119
|
"""
|
|
174
120
|
...
|
|
175
121
|
|
|
176
|
-
class DATA_PT_custom_props_curve(
|
|
122
|
+
class DATA_PT_custom_props_curve(
|
|
123
|
+
rna_prop_ui.PropertyPanel, CurveButtonsPanel, bpy.types.Panel
|
|
124
|
+
):
|
|
177
125
|
"""The subclass should have its own poll function
|
|
178
126
|
and the variable '_context_path' MUST be set.
|
|
179
127
|
"""
|
|
@@ -204,7 +152,7 @@ class DATA_PT_custom_props_curve(bpy.types.Panel, bpy_types._GenericUI):
|
|
|
204
152
|
"""
|
|
205
153
|
...
|
|
206
154
|
|
|
207
|
-
class DATA_PT_font(bpy.types.Panel
|
|
155
|
+
class DATA_PT_font(CurveButtonsPanelText, bpy.types.Panel):
|
|
208
156
|
bl_context: typing.Any
|
|
209
157
|
bl_label: typing.Any
|
|
210
158
|
bl_options: typing.Any
|
|
@@ -236,7 +184,7 @@ class DATA_PT_font(bpy.types.Panel, CurveButtonsPanel, bpy_types._GenericUI):
|
|
|
236
184
|
"""
|
|
237
185
|
...
|
|
238
186
|
|
|
239
|
-
class DATA_PT_font_transform(bpy.types.Panel
|
|
187
|
+
class DATA_PT_font_transform(CurveButtonsPanelText, bpy.types.Panel):
|
|
240
188
|
bl_context: typing.Any
|
|
241
189
|
bl_label: typing.Any
|
|
242
190
|
bl_parent_id: typing.Any
|
|
@@ -268,7 +216,7 @@ class DATA_PT_font_transform(bpy.types.Panel, CurveButtonsPanel, bpy_types._Gene
|
|
|
268
216
|
"""
|
|
269
217
|
...
|
|
270
218
|
|
|
271
|
-
class DATA_PT_geometry_curve(bpy.types.Panel
|
|
219
|
+
class DATA_PT_geometry_curve(CurveButtonsPanelCurve, bpy.types.Panel):
|
|
272
220
|
bl_context: typing.Any
|
|
273
221
|
bl_label: typing.Any
|
|
274
222
|
bl_options: typing.Any
|
|
@@ -308,9 +256,7 @@ class DATA_PT_geometry_curve(bpy.types.Panel, CurveButtonsPanel, bpy_types._Gene
|
|
|
308
256
|
"""
|
|
309
257
|
...
|
|
310
258
|
|
|
311
|
-
class DATA_PT_geometry_curve_bevel(
|
|
312
|
-
bpy.types.Panel, CurveButtonsPanel, bpy_types._GenericUI
|
|
313
|
-
):
|
|
259
|
+
class DATA_PT_geometry_curve_bevel(CurveButtonsPanelCurve, bpy.types.Panel):
|
|
314
260
|
bl_context: typing.Any
|
|
315
261
|
bl_label: typing.Any
|
|
316
262
|
bl_parent_id: typing.Any
|
|
@@ -350,9 +296,7 @@ class DATA_PT_geometry_curve_bevel(
|
|
|
350
296
|
"""
|
|
351
297
|
...
|
|
352
298
|
|
|
353
|
-
class DATA_PT_geometry_curve_start_end(
|
|
354
|
-
bpy.types.Panel, CurveButtonsPanel, bpy_types._GenericUI
|
|
355
|
-
):
|
|
299
|
+
class DATA_PT_geometry_curve_start_end(CurveButtonsPanelCurve, bpy.types.Panel):
|
|
356
300
|
bl_context: typing.Any
|
|
357
301
|
bl_label: typing.Any
|
|
358
302
|
bl_options: typing.Any
|
|
@@ -393,7 +337,7 @@ class DATA_PT_geometry_curve_start_end(
|
|
|
393
337
|
"""
|
|
394
338
|
...
|
|
395
339
|
|
|
396
|
-
class DATA_PT_paragraph(bpy.types.Panel
|
|
340
|
+
class DATA_PT_paragraph(CurveButtonsPanelText, bpy.types.Panel):
|
|
397
341
|
bl_context: typing.Any
|
|
398
342
|
bl_label: typing.Any
|
|
399
343
|
bl_region_type: typing.Any
|
|
@@ -424,9 +368,7 @@ class DATA_PT_paragraph(bpy.types.Panel, CurveButtonsPanel, bpy_types._GenericUI
|
|
|
424
368
|
"""
|
|
425
369
|
...
|
|
426
370
|
|
|
427
|
-
class DATA_PT_paragraph_alignment(
|
|
428
|
-
bpy.types.Panel, CurveButtonsPanel, bpy_types._GenericUI
|
|
429
|
-
):
|
|
371
|
+
class DATA_PT_paragraph_alignment(CurveButtonsPanelText, bpy.types.Panel):
|
|
430
372
|
bl_context: typing.Any
|
|
431
373
|
bl_label: typing.Any
|
|
432
374
|
bl_parent_id: typing.Any
|
|
@@ -458,9 +400,7 @@ class DATA_PT_paragraph_alignment(
|
|
|
458
400
|
"""
|
|
459
401
|
...
|
|
460
402
|
|
|
461
|
-
class DATA_PT_paragraph_spacing(
|
|
462
|
-
bpy.types.Panel, CurveButtonsPanel, bpy_types._GenericUI
|
|
463
|
-
):
|
|
403
|
+
class DATA_PT_paragraph_spacing(CurveButtonsPanelText, bpy.types.Panel):
|
|
464
404
|
bl_context: typing.Any
|
|
465
405
|
bl_label: typing.Any
|
|
466
406
|
bl_parent_id: typing.Any
|
|
@@ -492,7 +432,7 @@ class DATA_PT_paragraph_spacing(
|
|
|
492
432
|
"""
|
|
493
433
|
...
|
|
494
434
|
|
|
495
|
-
class DATA_PT_pathanim(bpy.types.Panel
|
|
435
|
+
class DATA_PT_pathanim(CurveButtonsPanelCurve, bpy.types.Panel):
|
|
496
436
|
bl_context: typing.Any
|
|
497
437
|
bl_label: typing.Any
|
|
498
438
|
bl_options: typing.Any
|
|
@@ -531,7 +471,7 @@ class DATA_PT_pathanim(bpy.types.Panel, CurveButtonsPanel, bpy_types._GenericUI)
|
|
|
531
471
|
"""
|
|
532
472
|
...
|
|
533
473
|
|
|
534
|
-
class DATA_PT_shape_curve(bpy.types.Panel
|
|
474
|
+
class DATA_PT_shape_curve(CurveButtonsPanel, bpy.types.Panel):
|
|
535
475
|
bl_context: typing.Any
|
|
536
476
|
bl_label: typing.Any
|
|
537
477
|
bl_region_type: typing.Any
|
|
@@ -562,7 +502,7 @@ class DATA_PT_shape_curve(bpy.types.Panel, bpy_types._GenericUI):
|
|
|
562
502
|
"""
|
|
563
503
|
...
|
|
564
504
|
|
|
565
|
-
class DATA_PT_text_boxes(bpy.types.Panel
|
|
505
|
+
class DATA_PT_text_boxes(CurveButtonsPanelText, bpy.types.Panel):
|
|
566
506
|
bl_context: typing.Any
|
|
567
507
|
bl_label: typing.Any
|
|
568
508
|
bl_options: typing.Any
|
|
@@ -593,3 +533,57 @@ class DATA_PT_text_boxes(bpy.types.Panel, CurveButtonsPanel, bpy_types._GenericU
|
|
|
593
533
|
:param context:
|
|
594
534
|
"""
|
|
595
535
|
...
|
|
536
|
+
|
|
537
|
+
class CurveButtonsPanelActive(CurveButtonsPanel):
|
|
538
|
+
"""Same as above but for curves only"""
|
|
539
|
+
|
|
540
|
+
bl_context: typing.Any
|
|
541
|
+
bl_region_type: typing.Any
|
|
542
|
+
bl_space_type: typing.Any
|
|
543
|
+
|
|
544
|
+
@classmethod
|
|
545
|
+
def poll(cls, context):
|
|
546
|
+
"""
|
|
547
|
+
|
|
548
|
+
:param context:
|
|
549
|
+
"""
|
|
550
|
+
...
|
|
551
|
+
|
|
552
|
+
class CurveButtonsPanelCurve(CurveButtonsPanel):
|
|
553
|
+
bl_context: typing.Any
|
|
554
|
+
bl_region_type: typing.Any
|
|
555
|
+
bl_space_type: typing.Any
|
|
556
|
+
|
|
557
|
+
@classmethod
|
|
558
|
+
def poll(cls, context):
|
|
559
|
+
"""
|
|
560
|
+
|
|
561
|
+
:param context:
|
|
562
|
+
"""
|
|
563
|
+
...
|
|
564
|
+
|
|
565
|
+
class CurveButtonsPanelSurface(CurveButtonsPanel):
|
|
566
|
+
bl_context: typing.Any
|
|
567
|
+
bl_region_type: typing.Any
|
|
568
|
+
bl_space_type: typing.Any
|
|
569
|
+
|
|
570
|
+
@classmethod
|
|
571
|
+
def poll(cls, context):
|
|
572
|
+
"""
|
|
573
|
+
|
|
574
|
+
:param context:
|
|
575
|
+
"""
|
|
576
|
+
...
|
|
577
|
+
|
|
578
|
+
class CurveButtonsPanelText(CurveButtonsPanel):
|
|
579
|
+
bl_context: typing.Any
|
|
580
|
+
bl_region_type: typing.Any
|
|
581
|
+
bl_space_type: typing.Any
|
|
582
|
+
|
|
583
|
+
@classmethod
|
|
584
|
+
def poll(cls, context):
|
|
585
|
+
"""
|
|
586
|
+
|
|
587
|
+
:param context:
|
|
588
|
+
"""
|
|
589
|
+
...
|