fake-bpy-module 20240706__py3-none-any.whl → 20240707__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/assets/__init__.pyi +8 -8
- bl_operators/image_as_planes/__init__.pyi +43 -43
- bl_operators/node/__init__.pyi +234 -234
- bl_operators/object_quick_effects/__init__.pyi +21 -21
- bl_operators/presets/__init__.pyi +388 -388
- bl_ui/properties_collection/__init__.pyi +12 -12
- bl_ui/properties_constraint/__init__.pyi +954 -954
- bl_ui/properties_data_armature/__init__.pyi +85 -85
- bl_ui/properties_data_bone/__init__.pyi +12 -12
- bl_ui/properties_data_curve/__init__.pyi +92 -92
- bl_ui/properties_data_curves/__init__.pyi +12 -12
- bl_ui/properties_data_empty/__init__.pyi +12 -12
- bl_ui/properties_data_gpencil/__init__.pyi +265 -265
- bl_ui/properties_data_grease_pencil/__init__.pyi +312 -312
- bl_ui/properties_data_lattice/__init__.pyi +12 -12
- bl_ui/properties_data_light/__init__.pyi +12 -12
- bl_ui/properties_data_lightprobe/__init__.pyi +12 -12
- bl_ui/properties_data_mesh/__init__.pyi +527 -527
- bl_ui/properties_data_metaball/__init__.pyi +12 -12
- bl_ui/properties_data_modifier/__init__.pyi +19 -19
- bl_ui/properties_data_pointcloud/__init__.pyi +140 -140
- bl_ui/properties_data_shaderfx/__init__.pyi +5 -5
- bl_ui/properties_data_speaker/__init__.pyi +12 -12
- bl_ui/properties_data_volume/__init__.pyi +65 -65
- bl_ui/properties_freestyle/__init__.pyi +248 -248
- bl_ui/properties_material/__init__.pyi +145 -145
- bl_ui/properties_material_gpencil/__init__.pyi +86 -86
- bl_ui/properties_object/__init__.pyi +75 -75
- bl_ui/properties_output/__init__.pyi +201 -201
- bl_ui/properties_particle/__init__.pyi +220 -220
- bl_ui/properties_physics_cloth/__init__.pyi +12 -12
- bl_ui/properties_physics_common/__init__.pyi +12 -12
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +187 -187
- bl_ui/properties_physics_field/__init__.pyi +19 -19
- bl_ui/properties_physics_fluid/__init__.pyi +61 -61
- bl_ui/properties_physics_rigidbody/__init__.pyi +5 -5
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +5 -5
- bl_ui/properties_physics_softbody/__init__.pyi +12 -12
- bl_ui/properties_render/__init__.pyi +217 -217
- bl_ui/properties_scene/__init__.pyi +143 -143
- bl_ui/properties_texture/__init__.pyi +156 -156
- bl_ui/properties_view_layer/__init__.pyi +78 -78
- bl_ui/properties_workspace/__init__.pyi +64 -64
- bl_ui/properties_world/__init__.pyi +12 -12
- bl_ui/space_clip/__init__.pyi +366 -366
- bl_ui/space_dopesheet/__init__.pyi +176 -176
- bl_ui/space_filebrowser/__init__.pyi +735 -735
- bl_ui/space_image/__init__.pyi +646 -646
- bl_ui/space_sequencer/__init__.pyi +841 -389
- bl_ui/space_time/__init__.pyi +11 -11
- bl_ui/space_userpref/__init__.pyi +684 -684
- bl_ui/space_view3d/__init__.pyi +1152 -1152
- bl_ui/space_view3d_toolbar/__init__.pyi +2831 -2831
- bpy/types/__init__.pyi +69750 -69696
- {fake_bpy_module-20240706.dist-info → fake_bpy_module-20240707.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240706.dist-info → fake_bpy_module-20240707.dist-info}/RECORD +62 -62
- freestyle/utils/__init__.pyi +1 -1
- keyingsets_builtins/__init__.pyi +87 -87
- mathutils/__init__.pyi +156 -6
- nodeitems_builtins/__init__.pyi +7 -7
- {fake_bpy_module-20240706.dist-info → fake_bpy_module-20240707.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240706.dist-info → fake_bpy_module-20240707.dist-info}/top_level.txt +0 -0
|
@@ -278,27 +278,11 @@ class VIEWLAYER_MT_lightgroup_sync(bpy_types._GenericUI):
|
|
|
278
278
|
"""
|
|
279
279
|
...
|
|
280
280
|
|
|
281
|
-
class ViewLayerButtonsPanel:
|
|
282
|
-
|
|
283
|
-
bl_region_type: typing.Any
|
|
284
|
-
bl_space_type: typing.Any
|
|
285
|
-
|
|
286
|
-
def poll(self, context):
|
|
287
|
-
"""
|
|
288
|
-
|
|
289
|
-
:param context:
|
|
290
|
-
"""
|
|
291
|
-
...
|
|
292
|
-
|
|
293
|
-
class VIEWLAYER_PT_layer_custom_props(rna_prop_ui.PropertyPanel, bpy_types._GenericUI):
|
|
294
|
-
"""The subclass should have its own poll function
|
|
295
|
-
and the variable '_context_path' MUST be set.
|
|
296
|
-
"""
|
|
297
|
-
|
|
281
|
+
class VIEWLAYER_PT_eevee_layer_passes_data(ViewLayerButtonsPanel, bpy_types._GenericUI):
|
|
282
|
+
COMPAT_ENGINES: typing.Any
|
|
298
283
|
bl_context: typing.Any
|
|
299
284
|
bl_label: typing.Any
|
|
300
|
-
|
|
301
|
-
bl_order: typing.Any
|
|
285
|
+
bl_parent_id: typing.Any
|
|
302
286
|
bl_region_type: typing.Any
|
|
303
287
|
bl_rna: typing.Any
|
|
304
288
|
bl_space_type: typing.Any
|
|
@@ -522,8 +506,16 @@ class VIEWLAYER_PT_layer_custom_props(rna_prop_ui.PropertyPanel, bpy_types._Gene
|
|
|
522
506
|
"""
|
|
523
507
|
...
|
|
524
508
|
|
|
525
|
-
class
|
|
509
|
+
class VIEWLAYER_PT_eevee_layer_passes_effects(
|
|
510
|
+
ViewLayerButtonsPanel, bpy_types._GenericUI
|
|
511
|
+
):
|
|
512
|
+
COMPAT_ENGINES: typing.Any
|
|
513
|
+
bl_context: typing.Any
|
|
514
|
+
bl_label: typing.Any
|
|
515
|
+
bl_parent_id: typing.Any
|
|
516
|
+
bl_region_type: typing.Any
|
|
526
517
|
bl_rna: typing.Any
|
|
518
|
+
bl_space_type: typing.Any
|
|
527
519
|
id_data: typing.Any
|
|
528
520
|
|
|
529
521
|
def append(self, draw_func):
|
|
@@ -558,18 +550,10 @@ class VIEWLAYER_UL_aov(bpy_types._GenericUI):
|
|
|
558
550
|
"""
|
|
559
551
|
...
|
|
560
552
|
|
|
561
|
-
def
|
|
562
|
-
self, _context, layout, _data, item, icon, _active_data, _active_propname
|
|
563
|
-
):
|
|
553
|
+
def draw(self, context):
|
|
564
554
|
"""
|
|
565
555
|
|
|
566
|
-
:param
|
|
567
|
-
:param layout:
|
|
568
|
-
:param _data:
|
|
569
|
-
:param item:
|
|
570
|
-
:param icon:
|
|
571
|
-
:param _active_data:
|
|
572
|
-
:param _active_propname:
|
|
556
|
+
:param context:
|
|
573
557
|
"""
|
|
574
558
|
...
|
|
575
559
|
|
|
@@ -695,6 +679,13 @@ class VIEWLAYER_UL_aov(bpy_types._GenericUI):
|
|
|
695
679
|
"""Returns the property from the path, raise an exception when not found."""
|
|
696
680
|
...
|
|
697
681
|
|
|
682
|
+
def poll(self, context):
|
|
683
|
+
"""
|
|
684
|
+
|
|
685
|
+
:param context:
|
|
686
|
+
"""
|
|
687
|
+
...
|
|
688
|
+
|
|
698
689
|
def pop(self):
|
|
699
690
|
"""Remove and return the value of the custom property assigned to key or default
|
|
700
691
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -745,7 +736,9 @@ class VIEWLAYER_UL_aov(bpy_types._GenericUI):
|
|
|
745
736
|
"""
|
|
746
737
|
...
|
|
747
738
|
|
|
748
|
-
class
|
|
739
|
+
class VIEWLAYER_PT_eevee_layer_passes_light(
|
|
740
|
+
ViewLayerButtonsPanel, bpy_types._GenericUI
|
|
741
|
+
):
|
|
749
742
|
COMPAT_ENGINES: typing.Any
|
|
750
743
|
bl_context: typing.Any
|
|
751
744
|
bl_label: typing.Any
|
|
@@ -973,7 +966,7 @@ class VIEWLAYER_PT_eevee_layer_passes_data(ViewLayerButtonsPanel, bpy_types._Gen
|
|
|
973
966
|
"""
|
|
974
967
|
...
|
|
975
968
|
|
|
976
|
-
class
|
|
969
|
+
class VIEWLAYER_PT_eevee_next_layer_passes_data(
|
|
977
970
|
ViewLayerButtonsPanel, bpy_types._GenericUI
|
|
978
971
|
):
|
|
979
972
|
COMPAT_ENGINES: typing.Any
|
|
@@ -1203,7 +1196,7 @@ class VIEWLAYER_PT_eevee_layer_passes_effects(
|
|
|
1203
1196
|
"""
|
|
1204
1197
|
...
|
|
1205
1198
|
|
|
1206
|
-
class
|
|
1199
|
+
class VIEWLAYER_PT_eevee_next_layer_passes_light(
|
|
1207
1200
|
ViewLayerButtonsPanel, bpy_types._GenericUI
|
|
1208
1201
|
):
|
|
1209
1202
|
COMPAT_ENGINES: typing.Any
|
|
@@ -1433,13 +1426,11 @@ class VIEWLAYER_PT_eevee_layer_passes_light(
|
|
|
1433
1426
|
"""
|
|
1434
1427
|
...
|
|
1435
1428
|
|
|
1436
|
-
class
|
|
1437
|
-
ViewLayerButtonsPanel, bpy_types._GenericUI
|
|
1438
|
-
):
|
|
1429
|
+
class VIEWLAYER_PT_filter(ViewLayerButtonsPanel, bpy_types._GenericUI):
|
|
1439
1430
|
COMPAT_ENGINES: typing.Any
|
|
1440
1431
|
bl_context: typing.Any
|
|
1441
1432
|
bl_label: typing.Any
|
|
1442
|
-
|
|
1433
|
+
bl_options: typing.Any
|
|
1443
1434
|
bl_region_type: typing.Any
|
|
1444
1435
|
bl_rna: typing.Any
|
|
1445
1436
|
bl_space_type: typing.Any
|
|
@@ -1663,13 +1654,10 @@ class VIEWLAYER_PT_eevee_next_layer_passes_data(
|
|
|
1663
1654
|
"""
|
|
1664
1655
|
...
|
|
1665
1656
|
|
|
1666
|
-
class
|
|
1667
|
-
ViewLayerButtonsPanel, bpy_types._GenericUI
|
|
1668
|
-
):
|
|
1657
|
+
class VIEWLAYER_PT_layer(ViewLayerButtonsPanel, bpy_types._GenericUI):
|
|
1669
1658
|
COMPAT_ENGINES: typing.Any
|
|
1670
1659
|
bl_context: typing.Any
|
|
1671
1660
|
bl_label: typing.Any
|
|
1672
|
-
bl_parent_id: typing.Any
|
|
1673
1661
|
bl_region_type: typing.Any
|
|
1674
1662
|
bl_rna: typing.Any
|
|
1675
1663
|
bl_space_type: typing.Any
|
|
@@ -1893,11 +1881,15 @@ class VIEWLAYER_PT_eevee_next_layer_passes_light(
|
|
|
1893
1881
|
"""
|
|
1894
1882
|
...
|
|
1895
1883
|
|
|
1896
|
-
class
|
|
1897
|
-
|
|
1884
|
+
class VIEWLAYER_PT_layer_custom_props(rna_prop_ui.PropertyPanel, bpy_types._GenericUI):
|
|
1885
|
+
"""The subclass should have its own poll function
|
|
1886
|
+
and the variable '_context_path' MUST be set.
|
|
1887
|
+
"""
|
|
1888
|
+
|
|
1898
1889
|
bl_context: typing.Any
|
|
1899
1890
|
bl_label: typing.Any
|
|
1900
1891
|
bl_options: typing.Any
|
|
1892
|
+
bl_order: typing.Any
|
|
1901
1893
|
bl_region_type: typing.Any
|
|
1902
1894
|
bl_rna: typing.Any
|
|
1903
1895
|
bl_space_type: typing.Any
|
|
@@ -2121,7 +2113,7 @@ class VIEWLAYER_PT_filter(ViewLayerButtonsPanel, bpy_types._GenericUI):
|
|
|
2121
2113
|
"""
|
|
2122
2114
|
...
|
|
2123
2115
|
|
|
2124
|
-
class
|
|
2116
|
+
class VIEWLAYER_PT_layer_passes(ViewLayerButtonsPanel, bpy_types._GenericUI):
|
|
2125
2117
|
COMPAT_ENGINES: typing.Any
|
|
2126
2118
|
bl_context: typing.Any
|
|
2127
2119
|
bl_label: typing.Any
|
|
@@ -2348,10 +2340,13 @@ class VIEWLAYER_PT_layer(ViewLayerButtonsPanel, bpy_types._GenericUI):
|
|
|
2348
2340
|
"""
|
|
2349
2341
|
...
|
|
2350
2342
|
|
|
2351
|
-
class
|
|
2343
|
+
class VIEWLAYER_PT_layer_passes_aov(
|
|
2344
|
+
ViewLayerAOVPanel, ViewLayerButtonsPanel, bpy_types._GenericUI
|
|
2345
|
+
):
|
|
2352
2346
|
COMPAT_ENGINES: typing.Any
|
|
2353
2347
|
bl_context: typing.Any
|
|
2354
2348
|
bl_label: typing.Any
|
|
2349
|
+
bl_parent_id: typing.Any
|
|
2355
2350
|
bl_region_type: typing.Any
|
|
2356
2351
|
bl_rna: typing.Any
|
|
2357
2352
|
bl_space_type: typing.Any
|
|
@@ -2575,8 +2570,8 @@ class VIEWLAYER_PT_layer_passes(ViewLayerButtonsPanel, bpy_types._GenericUI):
|
|
|
2575
2570
|
"""
|
|
2576
2571
|
...
|
|
2577
2572
|
|
|
2578
|
-
class
|
|
2579
|
-
ViewLayerButtonsPanel, bpy_types._GenericUI
|
|
2573
|
+
class VIEWLAYER_PT_layer_passes_cryptomatte(
|
|
2574
|
+
ViewLayerCryptomattePanel, ViewLayerButtonsPanel, bpy_types._GenericUI
|
|
2580
2575
|
):
|
|
2581
2576
|
COMPAT_ENGINES: typing.Any
|
|
2582
2577
|
bl_context: typing.Any
|
|
@@ -2805,9 +2800,13 @@ class VIEWLAYER_PT_workbench_layer_passes_data(
|
|
|
2805
2800
|
"""
|
|
2806
2801
|
...
|
|
2807
2802
|
|
|
2808
|
-
class
|
|
2803
|
+
class VIEWLAYER_PT_layer_passes_lightgroups(
|
|
2804
|
+
ViewLayerLightgroupsPanel, ViewLayerButtonsPanel, bpy_types._GenericUI
|
|
2805
|
+
):
|
|
2806
|
+
COMPAT_ENGINES: typing.Any
|
|
2809
2807
|
bl_context: typing.Any
|
|
2810
2808
|
bl_label: typing.Any
|
|
2809
|
+
bl_parent_id: typing.Any
|
|
2811
2810
|
bl_region_type: typing.Any
|
|
2812
2811
|
bl_rna: typing.Any
|
|
2813
2812
|
bl_space_type: typing.Any
|
|
@@ -3031,9 +3030,13 @@ class ViewLayerAOVPanel(ViewLayerButtonsPanel, bpy_types._GenericUI):
|
|
|
3031
3030
|
"""
|
|
3032
3031
|
...
|
|
3033
3032
|
|
|
3034
|
-
class
|
|
3033
|
+
class VIEWLAYER_PT_workbench_layer_passes_data(
|
|
3034
|
+
ViewLayerButtonsPanel, bpy_types._GenericUI
|
|
3035
|
+
):
|
|
3036
|
+
COMPAT_ENGINES: typing.Any
|
|
3035
3037
|
bl_context: typing.Any
|
|
3036
3038
|
bl_label: typing.Any
|
|
3039
|
+
bl_parent_id: typing.Any
|
|
3037
3040
|
bl_region_type: typing.Any
|
|
3038
3041
|
bl_rna: typing.Any
|
|
3039
3042
|
bl_space_type: typing.Any
|
|
@@ -3257,12 +3260,8 @@ class ViewLayerCryptomattePanel(ViewLayerButtonsPanel, bpy_types._GenericUI):
|
|
|
3257
3260
|
"""
|
|
3258
3261
|
...
|
|
3259
3262
|
|
|
3260
|
-
class
|
|
3261
|
-
bl_context: typing.Any
|
|
3262
|
-
bl_label: typing.Any
|
|
3263
|
-
bl_region_type: typing.Any
|
|
3263
|
+
class VIEWLAYER_UL_aov(bpy_types._GenericUI):
|
|
3264
3264
|
bl_rna: typing.Any
|
|
3265
|
-
bl_space_type: typing.Any
|
|
3266
3265
|
id_data: typing.Any
|
|
3267
3266
|
|
|
3268
3267
|
def append(self, draw_func):
|
|
@@ -3297,10 +3296,18 @@ class ViewLayerLightgroupsPanel(ViewLayerButtonsPanel, bpy_types._GenericUI):
|
|
|
3297
3296
|
"""
|
|
3298
3297
|
...
|
|
3299
3298
|
|
|
3300
|
-
def
|
|
3299
|
+
def draw_item(
|
|
3300
|
+
self, _context, layout, _data, item, icon, _active_data, _active_propname
|
|
3301
|
+
):
|
|
3301
3302
|
"""
|
|
3302
3303
|
|
|
3303
|
-
:param
|
|
3304
|
+
:param _context:
|
|
3305
|
+
:param layout:
|
|
3306
|
+
:param _data:
|
|
3307
|
+
:param item:
|
|
3308
|
+
:param icon:
|
|
3309
|
+
:param _active_data:
|
|
3310
|
+
:param _active_propname:
|
|
3304
3311
|
"""
|
|
3305
3312
|
...
|
|
3306
3313
|
|
|
@@ -3426,13 +3433,6 @@ class ViewLayerLightgroupsPanel(ViewLayerButtonsPanel, bpy_types._GenericUI):
|
|
|
3426
3433
|
"""Returns the property from the path, raise an exception when not found."""
|
|
3427
3434
|
...
|
|
3428
3435
|
|
|
3429
|
-
def poll(self, context):
|
|
3430
|
-
"""
|
|
3431
|
-
|
|
3432
|
-
:param context:
|
|
3433
|
-
"""
|
|
3434
|
-
...
|
|
3435
|
-
|
|
3436
3436
|
def pop(self):
|
|
3437
3437
|
"""Remove and return the value of the custom property assigned to key or default
|
|
3438
3438
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -3483,13 +3483,9 @@ class ViewLayerLightgroupsPanel(ViewLayerButtonsPanel, bpy_types._GenericUI):
|
|
|
3483
3483
|
"""
|
|
3484
3484
|
...
|
|
3485
3485
|
|
|
3486
|
-
class
|
|
3487
|
-
ViewLayerAOVPanel, ViewLayerButtonsPanel, bpy_types._GenericUI
|
|
3488
|
-
):
|
|
3489
|
-
COMPAT_ENGINES: typing.Any
|
|
3486
|
+
class ViewLayerAOVPanel(ViewLayerButtonsPanel, bpy_types._GenericUI):
|
|
3490
3487
|
bl_context: typing.Any
|
|
3491
3488
|
bl_label: typing.Any
|
|
3492
|
-
bl_parent_id: typing.Any
|
|
3493
3489
|
bl_region_type: typing.Any
|
|
3494
3490
|
bl_rna: typing.Any
|
|
3495
3491
|
bl_space_type: typing.Any
|
|
@@ -3713,13 +3709,21 @@ class VIEWLAYER_PT_layer_passes_aov(
|
|
|
3713
3709
|
"""
|
|
3714
3710
|
...
|
|
3715
3711
|
|
|
3716
|
-
class
|
|
3717
|
-
|
|
3718
|
-
|
|
3719
|
-
|
|
3712
|
+
class ViewLayerButtonsPanel:
|
|
3713
|
+
bl_context: typing.Any
|
|
3714
|
+
bl_region_type: typing.Any
|
|
3715
|
+
bl_space_type: typing.Any
|
|
3716
|
+
|
|
3717
|
+
def poll(self, context):
|
|
3718
|
+
"""
|
|
3719
|
+
|
|
3720
|
+
:param context:
|
|
3721
|
+
"""
|
|
3722
|
+
...
|
|
3723
|
+
|
|
3724
|
+
class ViewLayerCryptomattePanel(ViewLayerButtonsPanel, bpy_types._GenericUI):
|
|
3720
3725
|
bl_context: typing.Any
|
|
3721
3726
|
bl_label: typing.Any
|
|
3722
|
-
bl_parent_id: typing.Any
|
|
3723
3727
|
bl_region_type: typing.Any
|
|
3724
3728
|
bl_rna: typing.Any
|
|
3725
3729
|
bl_space_type: typing.Any
|
|
@@ -3943,13 +3947,9 @@ class VIEWLAYER_PT_layer_passes_cryptomatte(
|
|
|
3943
3947
|
"""
|
|
3944
3948
|
...
|
|
3945
3949
|
|
|
3946
|
-
class
|
|
3947
|
-
ViewLayerLightgroupsPanel, ViewLayerButtonsPanel, bpy_types._GenericUI
|
|
3948
|
-
):
|
|
3949
|
-
COMPAT_ENGINES: typing.Any
|
|
3950
|
+
class ViewLayerLightgroupsPanel(ViewLayerButtonsPanel, bpy_types._GenericUI):
|
|
3950
3951
|
bl_context: typing.Any
|
|
3951
3952
|
bl_label: typing.Any
|
|
3952
|
-
bl_parent_id: typing.Any
|
|
3953
3953
|
bl_region_type: typing.Any
|
|
3954
3954
|
bl_rna: typing.Any
|
|
3955
3955
|
bl_space_type: typing.Any
|
|
@@ -8,14 +8,16 @@ import rna_prop_ui
|
|
|
8
8
|
GenericType1 = typing.TypeVar("GenericType1")
|
|
9
9
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
10
10
|
|
|
11
|
-
class WorkSpaceButtonsPanel:
|
|
11
|
+
class WORKSPACE_PT_addons(WorkSpaceButtonsPanel, bpy_types._GenericUI):
|
|
12
|
+
addon_map: typing.Any
|
|
12
13
|
bl_category: typing.Any
|
|
14
|
+
bl_label: typing.Any
|
|
15
|
+
bl_parent_id: typing.Any
|
|
13
16
|
bl_region_type: typing.Any
|
|
14
|
-
bl_space_type: typing.Any
|
|
15
|
-
|
|
16
|
-
class WORKSPACE_UL_addons_items(bpy_types._GenericUI):
|
|
17
17
|
bl_rna: typing.Any
|
|
18
|
+
bl_space_type: typing.Any
|
|
18
19
|
id_data: typing.Any
|
|
20
|
+
owner_ids: typing.Any
|
|
19
21
|
|
|
20
22
|
def append(self, draw_func):
|
|
21
23
|
"""Append a draw function to this menu,
|
|
@@ -49,27 +51,17 @@ class WORKSPACE_UL_addons_items(bpy_types._GenericUI):
|
|
|
49
51
|
"""
|
|
50
52
|
...
|
|
51
53
|
|
|
52
|
-
def
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
_active_propname,
|
|
61
|
-
_index,
|
|
62
|
-
):
|
|
54
|
+
def draw(self, context):
|
|
55
|
+
"""
|
|
56
|
+
|
|
57
|
+
:param context:
|
|
58
|
+
"""
|
|
59
|
+
...
|
|
60
|
+
|
|
61
|
+
def draw_header(self, context):
|
|
63
62
|
"""
|
|
64
63
|
|
|
65
64
|
:param context:
|
|
66
|
-
:param layout:
|
|
67
|
-
:param _data:
|
|
68
|
-
:param addon:
|
|
69
|
-
:param icon:
|
|
70
|
-
:param _active_data:
|
|
71
|
-
:param _active_propname:
|
|
72
|
-
:param _index:
|
|
73
65
|
"""
|
|
74
66
|
...
|
|
75
67
|
|
|
@@ -89,15 +81,6 @@ class WORKSPACE_UL_addons_items(bpy_types._GenericUI):
|
|
|
89
81
|
"""
|
|
90
82
|
...
|
|
91
83
|
|
|
92
|
-
def filter_items(self, _context, data, property):
|
|
93
|
-
"""
|
|
94
|
-
|
|
95
|
-
:param _context:
|
|
96
|
-
:param data:
|
|
97
|
-
:param property:
|
|
98
|
-
"""
|
|
99
|
-
...
|
|
100
|
-
|
|
101
84
|
def get(self):
|
|
102
85
|
"""Returns the value of the custom property assigned to key or default
|
|
103
86
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -254,16 +237,22 @@ class WORKSPACE_UL_addons_items(bpy_types._GenericUI):
|
|
|
254
237
|
"""
|
|
255
238
|
...
|
|
256
239
|
|
|
257
|
-
class
|
|
258
|
-
|
|
240
|
+
class WORKSPACE_PT_custom_props(
|
|
241
|
+
WorkSpaceButtonsPanel, rna_prop_ui.PropertyPanel, bpy_types._GenericUI
|
|
242
|
+
):
|
|
243
|
+
"""The subclass should have its own poll function
|
|
244
|
+
and the variable '_context_path' MUST be set.
|
|
245
|
+
"""
|
|
246
|
+
|
|
259
247
|
bl_category: typing.Any
|
|
260
248
|
bl_label: typing.Any
|
|
249
|
+
bl_options: typing.Any
|
|
250
|
+
bl_order: typing.Any
|
|
261
251
|
bl_parent_id: typing.Any
|
|
262
252
|
bl_region_type: typing.Any
|
|
263
253
|
bl_rna: typing.Any
|
|
264
254
|
bl_space_type: typing.Any
|
|
265
255
|
id_data: typing.Any
|
|
266
|
-
owner_ids: typing.Any
|
|
267
256
|
|
|
268
257
|
def append(self, draw_func):
|
|
269
258
|
"""Append a draw function to this menu,
|
|
@@ -304,13 +293,6 @@ class WORKSPACE_PT_addons(WorkSpaceButtonsPanel, bpy_types._GenericUI):
|
|
|
304
293
|
"""
|
|
305
294
|
...
|
|
306
295
|
|
|
307
|
-
def draw_header(self, context):
|
|
308
|
-
"""
|
|
309
|
-
|
|
310
|
-
:param context:
|
|
311
|
-
"""
|
|
312
|
-
...
|
|
313
|
-
|
|
314
296
|
def driver_add(self) -> bpy.types.FCurve:
|
|
315
297
|
"""Adds driver(s) to the given property
|
|
316
298
|
|
|
@@ -433,6 +415,13 @@ class WORKSPACE_PT_addons(WorkSpaceButtonsPanel, bpy_types._GenericUI):
|
|
|
433
415
|
"""Returns the property from the path, raise an exception when not found."""
|
|
434
416
|
...
|
|
435
417
|
|
|
418
|
+
def poll(self, context):
|
|
419
|
+
"""
|
|
420
|
+
|
|
421
|
+
:param context:
|
|
422
|
+
"""
|
|
423
|
+
...
|
|
424
|
+
|
|
436
425
|
def pop(self):
|
|
437
426
|
"""Remove and return the value of the custom property assigned to key or default
|
|
438
427
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -483,18 +472,10 @@ class WORKSPACE_PT_addons(WorkSpaceButtonsPanel, bpy_types._GenericUI):
|
|
|
483
472
|
"""
|
|
484
473
|
...
|
|
485
474
|
|
|
486
|
-
class
|
|
487
|
-
WorkSpaceButtonsPanel, rna_prop_ui.PropertyPanel, bpy_types._GenericUI
|
|
488
|
-
):
|
|
489
|
-
"""The subclass should have its own poll function
|
|
490
|
-
and the variable '_context_path' MUST be set.
|
|
491
|
-
"""
|
|
492
|
-
|
|
475
|
+
class WORKSPACE_PT_main(WorkSpaceButtonsPanel, bpy_types._GenericUI):
|
|
493
476
|
bl_category: typing.Any
|
|
494
477
|
bl_label: typing.Any
|
|
495
478
|
bl_options: typing.Any
|
|
496
|
-
bl_order: typing.Any
|
|
497
|
-
bl_parent_id: typing.Any
|
|
498
479
|
bl_region_type: typing.Any
|
|
499
480
|
bl_rna: typing.Any
|
|
500
481
|
bl_space_type: typing.Any
|
|
@@ -661,13 +642,6 @@ class WORKSPACE_PT_custom_props(
|
|
|
661
642
|
"""Returns the property from the path, raise an exception when not found."""
|
|
662
643
|
...
|
|
663
644
|
|
|
664
|
-
def poll(self, context):
|
|
665
|
-
"""
|
|
666
|
-
|
|
667
|
-
:param context:
|
|
668
|
-
"""
|
|
669
|
-
...
|
|
670
|
-
|
|
671
645
|
def pop(self):
|
|
672
646
|
"""Remove and return the value of the custom property assigned to key or default
|
|
673
647
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -718,13 +692,8 @@ class WORKSPACE_PT_custom_props(
|
|
|
718
692
|
"""
|
|
719
693
|
...
|
|
720
694
|
|
|
721
|
-
class
|
|
722
|
-
bl_category: typing.Any
|
|
723
|
-
bl_label: typing.Any
|
|
724
|
-
bl_options: typing.Any
|
|
725
|
-
bl_region_type: typing.Any
|
|
695
|
+
class WORKSPACE_UL_addons_items(bpy_types._GenericUI):
|
|
726
696
|
bl_rna: typing.Any
|
|
727
|
-
bl_space_type: typing.Any
|
|
728
697
|
id_data: typing.Any
|
|
729
698
|
|
|
730
699
|
def append(self, draw_func):
|
|
@@ -759,10 +728,27 @@ class WORKSPACE_PT_main(WorkSpaceButtonsPanel, bpy_types._GenericUI):
|
|
|
759
728
|
"""
|
|
760
729
|
...
|
|
761
730
|
|
|
762
|
-
def
|
|
731
|
+
def draw_item(
|
|
732
|
+
self,
|
|
733
|
+
context,
|
|
734
|
+
layout,
|
|
735
|
+
_data,
|
|
736
|
+
addon,
|
|
737
|
+
icon,
|
|
738
|
+
_active_data,
|
|
739
|
+
_active_propname,
|
|
740
|
+
_index,
|
|
741
|
+
):
|
|
763
742
|
"""
|
|
764
743
|
|
|
765
744
|
:param context:
|
|
745
|
+
:param layout:
|
|
746
|
+
:param _data:
|
|
747
|
+
:param addon:
|
|
748
|
+
:param icon:
|
|
749
|
+
:param _active_data:
|
|
750
|
+
:param _active_propname:
|
|
751
|
+
:param _index:
|
|
766
752
|
"""
|
|
767
753
|
...
|
|
768
754
|
|
|
@@ -782,6 +768,15 @@ class WORKSPACE_PT_main(WorkSpaceButtonsPanel, bpy_types._GenericUI):
|
|
|
782
768
|
"""
|
|
783
769
|
...
|
|
784
770
|
|
|
771
|
+
def filter_items(self, _context, data, property):
|
|
772
|
+
"""
|
|
773
|
+
|
|
774
|
+
:param _context:
|
|
775
|
+
:param data:
|
|
776
|
+
:param property:
|
|
777
|
+
"""
|
|
778
|
+
...
|
|
779
|
+
|
|
785
780
|
def get(self):
|
|
786
781
|
"""Returns the value of the custom property assigned to key or default
|
|
787
782
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -937,3 +932,8 @@ class WORKSPACE_PT_main(WorkSpaceButtonsPanel, bpy_types._GenericUI):
|
|
|
937
932
|
:return: custom property values.
|
|
938
933
|
"""
|
|
939
934
|
...
|
|
935
|
+
|
|
936
|
+
class WorkSpaceButtonsPanel:
|
|
937
|
+
bl_category: typing.Any
|
|
938
|
+
bl_region_type: typing.Any
|
|
939
|
+
bl_space_type: typing.Any
|
|
@@ -8,18 +8,6 @@ import rna_prop_ui
|
|
|
8
8
|
GenericType1 = typing.TypeVar("GenericType1")
|
|
9
9
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
10
10
|
|
|
11
|
-
class WorldButtonsPanel:
|
|
12
|
-
bl_context: typing.Any
|
|
13
|
-
bl_region_type: typing.Any
|
|
14
|
-
bl_space_type: typing.Any
|
|
15
|
-
|
|
16
|
-
def poll(self, context):
|
|
17
|
-
"""
|
|
18
|
-
|
|
19
|
-
:param context:
|
|
20
|
-
"""
|
|
21
|
-
...
|
|
22
|
-
|
|
23
11
|
class EEVEE_WORLD_PT_lightprobe(WorldButtonsPanel, bpy_types._GenericUI):
|
|
24
12
|
COMPAT_ENGINES: typing.Any
|
|
25
13
|
bl_context: typing.Any
|
|
@@ -2314,3 +2302,15 @@ class WORLD_PT_viewport_display(WorldButtonsPanel, bpy_types._GenericUI):
|
|
|
2314
2302
|
:return: custom property values.
|
|
2315
2303
|
"""
|
|
2316
2304
|
...
|
|
2305
|
+
|
|
2306
|
+
class WorldButtonsPanel:
|
|
2307
|
+
bl_context: typing.Any
|
|
2308
|
+
bl_region_type: typing.Any
|
|
2309
|
+
bl_space_type: typing.Any
|
|
2310
|
+
|
|
2311
|
+
def poll(self, context):
|
|
2312
|
+
"""
|
|
2313
|
+
|
|
2314
|
+
:param context:
|
|
2315
|
+
"""
|
|
2316
|
+
...
|