fake-bpy-module 20240706__py3-none-any.whl → 20240708__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
- bmesh/types/__init__.pyi +48 -0
- bpy/types/__init__.pyi +70624 -70606
- {fake_bpy_module-20240706.dist-info → fake_bpy_module-20240708.dist-info}/METADATA +4 -4
- {fake_bpy_module-20240706.dist-info → fake_bpy_module-20240708.dist-info}/RECORD +63 -63
- freestyle/utils/__init__.pyi +1 -1
- keyingsets_builtins/__init__.pyi +87 -87
- mathutils/__init__.pyi +156 -50
- nodeitems_builtins/__init__.pyi +7 -7
- {fake_bpy_module-20240706.dist-info → fake_bpy_module-20240708.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240706.dist-info → fake_bpy_module-20240708.dist-info}/top_level.txt +0 -0
|
@@ -20,21 +20,14 @@ class ColorAttributesListBase:
|
|
|
20
20
|
"""
|
|
21
21
|
...
|
|
22
22
|
|
|
23
|
-
class MeshButtonsPanel:
|
|
23
|
+
class DATA_PT_context_mesh(MeshButtonsPanel, bpy_types._GenericUI):
|
|
24
|
+
COMPAT_ENGINES: typing.Any
|
|
24
25
|
bl_context: typing.Any
|
|
25
|
-
bl_region_type: typing.Any
|
|
26
|
-
bl_space_type: typing.Any
|
|
27
|
-
|
|
28
|
-
def poll(self, context):
|
|
29
|
-
"""
|
|
30
|
-
|
|
31
|
-
:param context:
|
|
32
|
-
"""
|
|
33
|
-
...
|
|
34
|
-
|
|
35
|
-
class MESH_MT_attribute_context_menu(bpy_types._GenericUI):
|
|
36
26
|
bl_label: typing.Any
|
|
27
|
+
bl_options: typing.Any
|
|
28
|
+
bl_region_type: typing.Any
|
|
37
29
|
bl_rna: typing.Any
|
|
30
|
+
bl_space_type: typing.Any
|
|
38
31
|
id_data: typing.Any
|
|
39
32
|
|
|
40
33
|
def append(self, draw_func):
|
|
@@ -69,30 +62,10 @@ class MESH_MT_attribute_context_menu(bpy_types._GenericUI):
|
|
|
69
62
|
"""
|
|
70
63
|
...
|
|
71
64
|
|
|
72
|
-
def draw(self,
|
|
73
|
-
"""
|
|
74
|
-
|
|
75
|
-
:param _context:
|
|
76
|
-
"""
|
|
77
|
-
...
|
|
78
|
-
|
|
79
|
-
def draw_collapsible(self, context, layout):
|
|
65
|
+
def draw(self, context):
|
|
80
66
|
"""
|
|
81
67
|
|
|
82
68
|
:param context:
|
|
83
|
-
:param layout:
|
|
84
|
-
"""
|
|
85
|
-
...
|
|
86
|
-
|
|
87
|
-
def draw_preset(self, _context):
|
|
88
|
-
"""Define these on the subclass:
|
|
89
|
-
- preset_operator (string)
|
|
90
|
-
- preset_subdir (string)Optionally:
|
|
91
|
-
- preset_add_operator (string)
|
|
92
|
-
- preset_extensions (set of strings)
|
|
93
|
-
- preset_operator_defaults (dict of keyword args)
|
|
94
|
-
|
|
95
|
-
:param _context:
|
|
96
69
|
"""
|
|
97
70
|
...
|
|
98
71
|
|
|
@@ -214,42 +187,15 @@ class MESH_MT_attribute_context_menu(bpy_types._GenericUI):
|
|
|
214
187
|
"""
|
|
215
188
|
...
|
|
216
189
|
|
|
217
|
-
def
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
operator: str,
|
|
221
|
-
props_default: dict = None,
|
|
222
|
-
prop_filepath: str | None = "filepath",
|
|
223
|
-
filter_ext: collections.abc.Callable | None = None,
|
|
224
|
-
filter_path=None,
|
|
225
|
-
display_name: collections.abc.Callable | None = None,
|
|
226
|
-
add_operator=None,
|
|
227
|
-
add_operator_props=None,
|
|
228
|
-
):
|
|
229
|
-
"""Populate a menu from a list of paths.
|
|
230
|
-
|
|
231
|
-
:param searchpaths: Paths to scan.
|
|
232
|
-
:type searchpaths: list[str]
|
|
233
|
-
:param operator: The operator id to use with each file.
|
|
234
|
-
:type operator: str
|
|
235
|
-
:param props_default: Properties to assign to each operator.
|
|
236
|
-
:type props_default: dict
|
|
237
|
-
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
238
|
-
:type prop_filepath: str | None
|
|
239
|
-
:param filter_ext: Optional callback that takes the file extensions.
|
|
190
|
+
def path_resolve(self):
|
|
191
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
192
|
+
...
|
|
240
193
|
|
|
241
|
-
|
|
242
|
-
:type filter_ext: collections.abc.Callable | None
|
|
243
|
-
:param filter_path:
|
|
244
|
-
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
245
|
-
:type display_name: collections.abc.Callable | None
|
|
246
|
-
:param add_operator:
|
|
247
|
-
:param add_operator_props:
|
|
194
|
+
def poll(self, context):
|
|
248
195
|
"""
|
|
249
|
-
...
|
|
250
196
|
|
|
251
|
-
|
|
252
|
-
"""
|
|
197
|
+
:param context:
|
|
198
|
+
"""
|
|
253
199
|
...
|
|
254
200
|
|
|
255
201
|
def pop(self):
|
|
@@ -302,9 +248,21 @@ class MESH_MT_attribute_context_menu(bpy_types._GenericUI):
|
|
|
302
248
|
"""
|
|
303
249
|
...
|
|
304
250
|
|
|
305
|
-
class
|
|
251
|
+
class DATA_PT_custom_props_mesh(
|
|
252
|
+
MeshButtonsPanel, rna_prop_ui.PropertyPanel, bpy_types._GenericUI
|
|
253
|
+
):
|
|
254
|
+
"""The subclass should have its own poll function
|
|
255
|
+
and the variable '_context_path' MUST be set.
|
|
256
|
+
"""
|
|
257
|
+
|
|
258
|
+
COMPAT_ENGINES: typing.Any
|
|
259
|
+
bl_context: typing.Any
|
|
306
260
|
bl_label: typing.Any
|
|
261
|
+
bl_options: typing.Any
|
|
262
|
+
bl_order: typing.Any
|
|
263
|
+
bl_region_type: typing.Any
|
|
307
264
|
bl_rna: typing.Any
|
|
265
|
+
bl_space_type: typing.Any
|
|
308
266
|
id_data: typing.Any
|
|
309
267
|
|
|
310
268
|
def append(self, draw_func):
|
|
@@ -339,30 +297,10 @@ class MESH_MT_color_attribute_context_menu(bpy_types._GenericUI):
|
|
|
339
297
|
"""
|
|
340
298
|
...
|
|
341
299
|
|
|
342
|
-
def draw(self,
|
|
343
|
-
"""
|
|
344
|
-
|
|
345
|
-
:param _context:
|
|
346
|
-
"""
|
|
347
|
-
...
|
|
348
|
-
|
|
349
|
-
def draw_collapsible(self, context, layout):
|
|
300
|
+
def draw(self, context):
|
|
350
301
|
"""
|
|
351
302
|
|
|
352
303
|
:param context:
|
|
353
|
-
:param layout:
|
|
354
|
-
"""
|
|
355
|
-
...
|
|
356
|
-
|
|
357
|
-
def draw_preset(self, _context):
|
|
358
|
-
"""Define these on the subclass:
|
|
359
|
-
- preset_operator (string)
|
|
360
|
-
- preset_subdir (string)Optionally:
|
|
361
|
-
- preset_add_operator (string)
|
|
362
|
-
- preset_extensions (set of strings)
|
|
363
|
-
- preset_operator_defaults (dict of keyword args)
|
|
364
|
-
|
|
365
|
-
:param _context:
|
|
366
304
|
"""
|
|
367
305
|
...
|
|
368
306
|
|
|
@@ -484,42 +422,15 @@ class MESH_MT_color_attribute_context_menu(bpy_types._GenericUI):
|
|
|
484
422
|
"""
|
|
485
423
|
...
|
|
486
424
|
|
|
487
|
-
def
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
operator: str,
|
|
491
|
-
props_default: dict = None,
|
|
492
|
-
prop_filepath: str | None = "filepath",
|
|
493
|
-
filter_ext: collections.abc.Callable | None = None,
|
|
494
|
-
filter_path=None,
|
|
495
|
-
display_name: collections.abc.Callable | None = None,
|
|
496
|
-
add_operator=None,
|
|
497
|
-
add_operator_props=None,
|
|
498
|
-
):
|
|
499
|
-
"""Populate a menu from a list of paths.
|
|
500
|
-
|
|
501
|
-
:param searchpaths: Paths to scan.
|
|
502
|
-
:type searchpaths: list[str]
|
|
503
|
-
:param operator: The operator id to use with each file.
|
|
504
|
-
:type operator: str
|
|
505
|
-
:param props_default: Properties to assign to each operator.
|
|
506
|
-
:type props_default: dict
|
|
507
|
-
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
508
|
-
:type prop_filepath: str | None
|
|
509
|
-
:param filter_ext: Optional callback that takes the file extensions.
|
|
425
|
+
def path_resolve(self):
|
|
426
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
427
|
+
...
|
|
510
428
|
|
|
511
|
-
|
|
512
|
-
:type filter_ext: collections.abc.Callable | None
|
|
513
|
-
:param filter_path:
|
|
514
|
-
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
515
|
-
:type display_name: collections.abc.Callable | None
|
|
516
|
-
:param add_operator:
|
|
517
|
-
:param add_operator_props:
|
|
429
|
+
def poll(self, context):
|
|
518
430
|
"""
|
|
519
|
-
...
|
|
520
431
|
|
|
521
|
-
|
|
522
|
-
"""
|
|
432
|
+
:param context:
|
|
433
|
+
"""
|
|
523
434
|
...
|
|
524
435
|
|
|
525
436
|
def pop(self):
|
|
@@ -572,9 +483,14 @@ class MESH_MT_color_attribute_context_menu(bpy_types._GenericUI):
|
|
|
572
483
|
"""
|
|
573
484
|
...
|
|
574
485
|
|
|
575
|
-
class
|
|
486
|
+
class DATA_PT_customdata(MeshButtonsPanel, bpy_types._GenericUI):
|
|
487
|
+
COMPAT_ENGINES: typing.Any
|
|
488
|
+
bl_context: typing.Any
|
|
576
489
|
bl_label: typing.Any
|
|
490
|
+
bl_options: typing.Any
|
|
491
|
+
bl_region_type: typing.Any
|
|
577
492
|
bl_rna: typing.Any
|
|
493
|
+
bl_space_type: typing.Any
|
|
578
494
|
id_data: typing.Any
|
|
579
495
|
|
|
580
496
|
def append(self, draw_func):
|
|
@@ -609,30 +525,10 @@ class MESH_MT_shape_key_context_menu(bpy_types._GenericUI):
|
|
|
609
525
|
"""
|
|
610
526
|
...
|
|
611
527
|
|
|
612
|
-
def draw(self,
|
|
613
|
-
"""
|
|
614
|
-
|
|
615
|
-
:param _context:
|
|
616
|
-
"""
|
|
617
|
-
...
|
|
618
|
-
|
|
619
|
-
def draw_collapsible(self, context, layout):
|
|
528
|
+
def draw(self, context):
|
|
620
529
|
"""
|
|
621
530
|
|
|
622
531
|
:param context:
|
|
623
|
-
:param layout:
|
|
624
|
-
"""
|
|
625
|
-
...
|
|
626
|
-
|
|
627
|
-
def draw_preset(self, _context):
|
|
628
|
-
"""Define these on the subclass:
|
|
629
|
-
- preset_operator (string)
|
|
630
|
-
- preset_subdir (string)Optionally:
|
|
631
|
-
- preset_add_operator (string)
|
|
632
|
-
- preset_extensions (set of strings)
|
|
633
|
-
- preset_operator_defaults (dict of keyword args)
|
|
634
|
-
|
|
635
|
-
:param _context:
|
|
636
532
|
"""
|
|
637
533
|
...
|
|
638
534
|
|
|
@@ -754,42 +650,15 @@ class MESH_MT_shape_key_context_menu(bpy_types._GenericUI):
|
|
|
754
650
|
"""
|
|
755
651
|
...
|
|
756
652
|
|
|
757
|
-
def
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
operator: str,
|
|
761
|
-
props_default: dict = None,
|
|
762
|
-
prop_filepath: str | None = "filepath",
|
|
763
|
-
filter_ext: collections.abc.Callable | None = None,
|
|
764
|
-
filter_path=None,
|
|
765
|
-
display_name: collections.abc.Callable | None = None,
|
|
766
|
-
add_operator=None,
|
|
767
|
-
add_operator_props=None,
|
|
768
|
-
):
|
|
769
|
-
"""Populate a menu from a list of paths.
|
|
770
|
-
|
|
771
|
-
:param searchpaths: Paths to scan.
|
|
772
|
-
:type searchpaths: list[str]
|
|
773
|
-
:param operator: The operator id to use with each file.
|
|
774
|
-
:type operator: str
|
|
775
|
-
:param props_default: Properties to assign to each operator.
|
|
776
|
-
:type props_default: dict
|
|
777
|
-
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
778
|
-
:type prop_filepath: str | None
|
|
779
|
-
:param filter_ext: Optional callback that takes the file extensions.
|
|
653
|
+
def path_resolve(self):
|
|
654
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
655
|
+
...
|
|
780
656
|
|
|
781
|
-
|
|
782
|
-
:type filter_ext: collections.abc.Callable | None
|
|
783
|
-
:param filter_path:
|
|
784
|
-
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
785
|
-
:type display_name: collections.abc.Callable | None
|
|
786
|
-
:param add_operator:
|
|
787
|
-
:param add_operator_props:
|
|
657
|
+
def poll(self, context):
|
|
788
658
|
"""
|
|
789
|
-
...
|
|
790
659
|
|
|
791
|
-
|
|
792
|
-
"""
|
|
660
|
+
:param context:
|
|
661
|
+
"""
|
|
793
662
|
...
|
|
794
663
|
|
|
795
664
|
def pop(self):
|
|
@@ -842,9 +711,14 @@ class MESH_MT_shape_key_context_menu(bpy_types._GenericUI):
|
|
|
842
711
|
"""
|
|
843
712
|
...
|
|
844
713
|
|
|
845
|
-
class
|
|
714
|
+
class DATA_PT_mesh_attributes(MeshButtonsPanel, bpy_types._GenericUI):
|
|
715
|
+
COMPAT_ENGINES: typing.Any
|
|
716
|
+
bl_context: typing.Any
|
|
846
717
|
bl_label: typing.Any
|
|
718
|
+
bl_options: typing.Any
|
|
719
|
+
bl_region_type: typing.Any
|
|
847
720
|
bl_rna: typing.Any
|
|
721
|
+
bl_space_type: typing.Any
|
|
848
722
|
id_data: typing.Any
|
|
849
723
|
|
|
850
724
|
def append(self, draw_func):
|
|
@@ -879,30 +753,10 @@ class MESH_MT_vertex_group_context_menu(bpy_types._GenericUI):
|
|
|
879
753
|
"""
|
|
880
754
|
...
|
|
881
755
|
|
|
882
|
-
def draw(self,
|
|
883
|
-
"""
|
|
884
|
-
|
|
885
|
-
:param _context:
|
|
886
|
-
"""
|
|
887
|
-
...
|
|
888
|
-
|
|
889
|
-
def draw_collapsible(self, context, layout):
|
|
756
|
+
def draw(self, context):
|
|
890
757
|
"""
|
|
891
758
|
|
|
892
759
|
:param context:
|
|
893
|
-
:param layout:
|
|
894
|
-
"""
|
|
895
|
-
...
|
|
896
|
-
|
|
897
|
-
def draw_preset(self, _context):
|
|
898
|
-
"""Define these on the subclass:
|
|
899
|
-
- preset_operator (string)
|
|
900
|
-
- preset_subdir (string)Optionally:
|
|
901
|
-
- preset_add_operator (string)
|
|
902
|
-
- preset_extensions (set of strings)
|
|
903
|
-
- preset_operator_defaults (dict of keyword args)
|
|
904
|
-
|
|
905
|
-
:param _context:
|
|
906
760
|
"""
|
|
907
761
|
...
|
|
908
762
|
|
|
@@ -1024,42 +878,15 @@ class MESH_MT_vertex_group_context_menu(bpy_types._GenericUI):
|
|
|
1024
878
|
"""
|
|
1025
879
|
...
|
|
1026
880
|
|
|
1027
|
-
def
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
operator: str,
|
|
1031
|
-
props_default: dict = None,
|
|
1032
|
-
prop_filepath: str | None = "filepath",
|
|
1033
|
-
filter_ext: collections.abc.Callable | None = None,
|
|
1034
|
-
filter_path=None,
|
|
1035
|
-
display_name: collections.abc.Callable | None = None,
|
|
1036
|
-
add_operator=None,
|
|
1037
|
-
add_operator_props=None,
|
|
1038
|
-
):
|
|
1039
|
-
"""Populate a menu from a list of paths.
|
|
1040
|
-
|
|
1041
|
-
:param searchpaths: Paths to scan.
|
|
1042
|
-
:type searchpaths: list[str]
|
|
1043
|
-
:param operator: The operator id to use with each file.
|
|
1044
|
-
:type operator: str
|
|
1045
|
-
:param props_default: Properties to assign to each operator.
|
|
1046
|
-
:type props_default: dict
|
|
1047
|
-
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
1048
|
-
:type prop_filepath: str | None
|
|
1049
|
-
:param filter_ext: Optional callback that takes the file extensions.
|
|
881
|
+
def path_resolve(self):
|
|
882
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
883
|
+
...
|
|
1050
884
|
|
|
1051
|
-
|
|
1052
|
-
:type filter_ext: collections.abc.Callable | None
|
|
1053
|
-
:param filter_path:
|
|
1054
|
-
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
1055
|
-
:type display_name: collections.abc.Callable | None
|
|
1056
|
-
:param add_operator:
|
|
1057
|
-
:param add_operator_props:
|
|
885
|
+
def poll(self, context):
|
|
1058
886
|
"""
|
|
1059
|
-
...
|
|
1060
887
|
|
|
1061
|
-
|
|
1062
|
-
"""
|
|
888
|
+
:param context:
|
|
889
|
+
"""
|
|
1063
890
|
...
|
|
1064
891
|
|
|
1065
892
|
def pop(self):
|
|
@@ -1112,9 +939,14 @@ class MESH_MT_vertex_group_context_menu(bpy_types._GenericUI):
|
|
|
1112
939
|
"""
|
|
1113
940
|
...
|
|
1114
941
|
|
|
1115
|
-
class
|
|
942
|
+
class DATA_PT_remesh(MeshButtonsPanel, bpy_types._GenericUI):
|
|
943
|
+
COMPAT_ENGINES: typing.Any
|
|
944
|
+
bl_context: typing.Any
|
|
945
|
+
bl_label: typing.Any
|
|
946
|
+
bl_options: typing.Any
|
|
947
|
+
bl_region_type: typing.Any
|
|
1116
948
|
bl_rna: typing.Any
|
|
1117
|
-
|
|
949
|
+
bl_space_type: typing.Any
|
|
1118
950
|
id_data: typing.Any
|
|
1119
951
|
|
|
1120
952
|
def append(self, draw_func):
|
|
@@ -1149,27 +981,10 @@ class MESH_UL_attributes(bpy_types._GenericUI):
|
|
|
1149
981
|
"""
|
|
1150
982
|
...
|
|
1151
983
|
|
|
1152
|
-
def
|
|
1153
|
-
self,
|
|
1154
|
-
_context,
|
|
1155
|
-
layout,
|
|
1156
|
-
_data,
|
|
1157
|
-
attribute,
|
|
1158
|
-
_icon,
|
|
1159
|
-
_active_data,
|
|
1160
|
-
_active_propname,
|
|
1161
|
-
_index,
|
|
1162
|
-
):
|
|
984
|
+
def draw(self, context):
|
|
1163
985
|
"""
|
|
1164
986
|
|
|
1165
|
-
:param
|
|
1166
|
-
:param layout:
|
|
1167
|
-
:param _data:
|
|
1168
|
-
:param attribute:
|
|
1169
|
-
:param _icon:
|
|
1170
|
-
:param _active_data:
|
|
1171
|
-
:param _active_propname:
|
|
1172
|
-
:param _index:
|
|
987
|
+
:param context:
|
|
1173
988
|
"""
|
|
1174
989
|
...
|
|
1175
990
|
|
|
@@ -1189,15 +1004,6 @@ class MESH_UL_attributes(bpy_types._GenericUI):
|
|
|
1189
1004
|
"""
|
|
1190
1005
|
...
|
|
1191
1006
|
|
|
1192
|
-
def filter_items(self, _context, data, property):
|
|
1193
|
-
"""
|
|
1194
|
-
|
|
1195
|
-
:param _context:
|
|
1196
|
-
:param data:
|
|
1197
|
-
:param property:
|
|
1198
|
-
"""
|
|
1199
|
-
...
|
|
1200
|
-
|
|
1201
1007
|
def get(self):
|
|
1202
1008
|
"""Returns the value of the custom property assigned to key or default
|
|
1203
1009
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -1304,6 +1110,13 @@ class MESH_UL_attributes(bpy_types._GenericUI):
|
|
|
1304
1110
|
"""Returns the property from the path, raise an exception when not found."""
|
|
1305
1111
|
...
|
|
1306
1112
|
|
|
1113
|
+
def poll(self, context):
|
|
1114
|
+
"""
|
|
1115
|
+
|
|
1116
|
+
:param context:
|
|
1117
|
+
"""
|
|
1118
|
+
...
|
|
1119
|
+
|
|
1307
1120
|
def pop(self):
|
|
1308
1121
|
"""Remove and return the value of the custom property assigned to key or default
|
|
1309
1122
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -1354,8 +1167,13 @@ class MESH_UL_attributes(bpy_types._GenericUI):
|
|
|
1354
1167
|
"""
|
|
1355
1168
|
...
|
|
1356
1169
|
|
|
1357
|
-
class
|
|
1170
|
+
class DATA_PT_shape_keys(MeshButtonsPanel, bpy_types._GenericUI):
|
|
1171
|
+
COMPAT_ENGINES: typing.Any
|
|
1172
|
+
bl_context: typing.Any
|
|
1173
|
+
bl_label: typing.Any
|
|
1174
|
+
bl_region_type: typing.Any
|
|
1358
1175
|
bl_rna: typing.Any
|
|
1176
|
+
bl_space_type: typing.Any
|
|
1359
1177
|
id_data: typing.Any
|
|
1360
1178
|
|
|
1361
1179
|
def append(self, draw_func):
|
|
@@ -1390,19 +1208,10 @@ class MESH_UL_shape_keys(bpy_types._GenericUI):
|
|
|
1390
1208
|
"""
|
|
1391
1209
|
...
|
|
1392
1210
|
|
|
1393
|
-
def
|
|
1394
|
-
self, _context, layout, _data, item, icon, active_data, _active_propname, index
|
|
1395
|
-
):
|
|
1211
|
+
def draw(self, context):
|
|
1396
1212
|
"""
|
|
1397
1213
|
|
|
1398
|
-
:param
|
|
1399
|
-
:param layout:
|
|
1400
|
-
:param _data:
|
|
1401
|
-
:param item:
|
|
1402
|
-
:param icon:
|
|
1403
|
-
:param active_data:
|
|
1404
|
-
:param _active_propname:
|
|
1405
|
-
:param index:
|
|
1214
|
+
:param context:
|
|
1406
1215
|
"""
|
|
1407
1216
|
...
|
|
1408
1217
|
|
|
@@ -1528,6 +1337,13 @@ class MESH_UL_shape_keys(bpy_types._GenericUI):
|
|
|
1528
1337
|
"""Returns the property from the path, raise an exception when not found."""
|
|
1529
1338
|
...
|
|
1530
1339
|
|
|
1340
|
+
def poll(self, context):
|
|
1341
|
+
"""
|
|
1342
|
+
|
|
1343
|
+
:param context:
|
|
1344
|
+
"""
|
|
1345
|
+
...
|
|
1346
|
+
|
|
1531
1347
|
def pop(self):
|
|
1532
1348
|
"""Remove and return the value of the custom property assigned to key or default
|
|
1533
1349
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -1578,8 +1394,14 @@ class MESH_UL_shape_keys(bpy_types._GenericUI):
|
|
|
1578
1394
|
"""
|
|
1579
1395
|
...
|
|
1580
1396
|
|
|
1581
|
-
class
|
|
1397
|
+
class DATA_PT_texture_space(MeshButtonsPanel, bpy_types._GenericUI):
|
|
1398
|
+
COMPAT_ENGINES: typing.Any
|
|
1399
|
+
bl_context: typing.Any
|
|
1400
|
+
bl_label: typing.Any
|
|
1401
|
+
bl_options: typing.Any
|
|
1402
|
+
bl_region_type: typing.Any
|
|
1582
1403
|
bl_rna: typing.Any
|
|
1404
|
+
bl_space_type: typing.Any
|
|
1583
1405
|
id_data: typing.Any
|
|
1584
1406
|
|
|
1585
1407
|
def append(self, draw_func):
|
|
@@ -1614,27 +1436,10 @@ class MESH_UL_uvmaps(bpy_types._GenericUI):
|
|
|
1614
1436
|
"""
|
|
1615
1437
|
...
|
|
1616
1438
|
|
|
1617
|
-
def
|
|
1618
|
-
self,
|
|
1619
|
-
_context,
|
|
1620
|
-
layout,
|
|
1621
|
-
_data,
|
|
1622
|
-
item,
|
|
1623
|
-
icon,
|
|
1624
|
-
_active_data,
|
|
1625
|
-
_active_propname,
|
|
1626
|
-
_index,
|
|
1627
|
-
):
|
|
1439
|
+
def draw(self, context):
|
|
1628
1440
|
"""
|
|
1629
1441
|
|
|
1630
|
-
:param
|
|
1631
|
-
:param layout:
|
|
1632
|
-
:param _data:
|
|
1633
|
-
:param item:
|
|
1634
|
-
:param icon:
|
|
1635
|
-
:param _active_data:
|
|
1636
|
-
:param _active_propname:
|
|
1637
|
-
:param _index:
|
|
1442
|
+
:param context:
|
|
1638
1443
|
"""
|
|
1639
1444
|
...
|
|
1640
1445
|
|
|
@@ -1760,6 +1565,13 @@ class MESH_UL_uvmaps(bpy_types._GenericUI):
|
|
|
1760
1565
|
"""Returns the property from the path, raise an exception when not found."""
|
|
1761
1566
|
...
|
|
1762
1567
|
|
|
1568
|
+
def poll(self, context):
|
|
1569
|
+
"""
|
|
1570
|
+
|
|
1571
|
+
:param context:
|
|
1572
|
+
"""
|
|
1573
|
+
...
|
|
1574
|
+
|
|
1763
1575
|
def pop(self):
|
|
1764
1576
|
"""Remove and return the value of the custom property assigned to key or default
|
|
1765
1577
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -1810,8 +1622,14 @@ class MESH_UL_uvmaps(bpy_types._GenericUI):
|
|
|
1810
1622
|
"""
|
|
1811
1623
|
...
|
|
1812
1624
|
|
|
1813
|
-
class
|
|
1625
|
+
class DATA_PT_uv_texture(MeshButtonsPanel, bpy_types._GenericUI):
|
|
1626
|
+
COMPAT_ENGINES: typing.Any
|
|
1627
|
+
bl_context: typing.Any
|
|
1628
|
+
bl_label: typing.Any
|
|
1629
|
+
bl_options: typing.Any
|
|
1630
|
+
bl_region_type: typing.Any
|
|
1814
1631
|
bl_rna: typing.Any
|
|
1632
|
+
bl_space_type: typing.Any
|
|
1815
1633
|
id_data: typing.Any
|
|
1816
1634
|
|
|
1817
1635
|
def append(self, draw_func):
|
|
@@ -1846,27 +1664,10 @@ class MESH_UL_vgroups(bpy_types._GenericUI):
|
|
|
1846
1664
|
"""
|
|
1847
1665
|
...
|
|
1848
1666
|
|
|
1849
|
-
def
|
|
1850
|
-
self,
|
|
1851
|
-
_context,
|
|
1852
|
-
layout,
|
|
1853
|
-
_data,
|
|
1854
|
-
item,
|
|
1855
|
-
icon,
|
|
1856
|
-
_active_data_,
|
|
1857
|
-
_active_propname,
|
|
1858
|
-
_index,
|
|
1859
|
-
):
|
|
1667
|
+
def draw(self, context):
|
|
1860
1668
|
"""
|
|
1861
1669
|
|
|
1862
|
-
:param
|
|
1863
|
-
:param layout:
|
|
1864
|
-
:param _data:
|
|
1865
|
-
:param item:
|
|
1866
|
-
:param icon:
|
|
1867
|
-
:param _active_data_:
|
|
1868
|
-
:param _active_propname:
|
|
1869
|
-
:param _index:
|
|
1670
|
+
:param context:
|
|
1870
1671
|
"""
|
|
1871
1672
|
...
|
|
1872
1673
|
|
|
@@ -1992,6 +1793,13 @@ class MESH_UL_vgroups(bpy_types._GenericUI):
|
|
|
1992
1793
|
"""Returns the property from the path, raise an exception when not found."""
|
|
1993
1794
|
...
|
|
1994
1795
|
|
|
1796
|
+
def poll(self, context):
|
|
1797
|
+
"""
|
|
1798
|
+
|
|
1799
|
+
:param context:
|
|
1800
|
+
"""
|
|
1801
|
+
...
|
|
1802
|
+
|
|
1995
1803
|
def pop(self):
|
|
1996
1804
|
"""Remove and return the value of the custom property assigned to key or default
|
|
1997
1805
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -2042,9 +1850,16 @@ class MESH_UL_vgroups(bpy_types._GenericUI):
|
|
|
2042
1850
|
"""
|
|
2043
1851
|
...
|
|
2044
1852
|
|
|
2045
|
-
class
|
|
1853
|
+
class DATA_PT_vertex_colors(
|
|
1854
|
+
DATA_PT_mesh_attributes, MeshButtonsPanel, bpy_types._GenericUI
|
|
1855
|
+
):
|
|
1856
|
+
COMPAT_ENGINES: typing.Any
|
|
1857
|
+
bl_context: typing.Any
|
|
1858
|
+
bl_label: typing.Any
|
|
1859
|
+
bl_options: typing.Any
|
|
1860
|
+
bl_region_type: typing.Any
|
|
2046
1861
|
bl_rna: typing.Any
|
|
2047
|
-
|
|
1862
|
+
bl_space_type: typing.Any
|
|
2048
1863
|
id_data: typing.Any
|
|
2049
1864
|
|
|
2050
1865
|
def append(self, draw_func):
|
|
@@ -2079,27 +1894,10 @@ class MESH_UL_color_attributes(bpy_types._GenericUI, ColorAttributesListBase):
|
|
|
2079
1894
|
"""
|
|
2080
1895
|
...
|
|
2081
1896
|
|
|
2082
|
-
def
|
|
2083
|
-
self,
|
|
2084
|
-
_context,
|
|
2085
|
-
layout,
|
|
2086
|
-
data,
|
|
2087
|
-
attribute,
|
|
2088
|
-
_icon,
|
|
2089
|
-
_active_data,
|
|
2090
|
-
_active_propname,
|
|
2091
|
-
_index,
|
|
2092
|
-
):
|
|
1897
|
+
def draw(self, context):
|
|
2093
1898
|
"""
|
|
2094
1899
|
|
|
2095
|
-
:param
|
|
2096
|
-
:param layout:
|
|
2097
|
-
:param data:
|
|
2098
|
-
:param attribute:
|
|
2099
|
-
:param _icon:
|
|
2100
|
-
:param _active_data:
|
|
2101
|
-
:param _active_propname:
|
|
2102
|
-
:param _index:
|
|
1900
|
+
:param context:
|
|
2103
1901
|
"""
|
|
2104
1902
|
...
|
|
2105
1903
|
|
|
@@ -2119,15 +1917,6 @@ class MESH_UL_color_attributes(bpy_types._GenericUI, ColorAttributesListBase):
|
|
|
2119
1917
|
"""
|
|
2120
1918
|
...
|
|
2121
1919
|
|
|
2122
|
-
def filter_items(self, _context, data, property):
|
|
2123
|
-
"""
|
|
2124
|
-
|
|
2125
|
-
:param _context:
|
|
2126
|
-
:param data:
|
|
2127
|
-
:param property:
|
|
2128
|
-
"""
|
|
2129
|
-
...
|
|
2130
|
-
|
|
2131
1920
|
def get(self):
|
|
2132
1921
|
"""Returns the value of the custom property assigned to key or default
|
|
2133
1922
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -2234,6 +2023,13 @@ class MESH_UL_color_attributes(bpy_types._GenericUI, ColorAttributesListBase):
|
|
|
2234
2023
|
"""Returns the property from the path, raise an exception when not found."""
|
|
2235
2024
|
...
|
|
2236
2025
|
|
|
2026
|
+
def poll(self, context):
|
|
2027
|
+
"""
|
|
2028
|
+
|
|
2029
|
+
:param context:
|
|
2030
|
+
"""
|
|
2031
|
+
...
|
|
2032
|
+
|
|
2237
2033
|
def pop(self):
|
|
2238
2034
|
"""Remove and return the value of the custom property assigned to key or default
|
|
2239
2035
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -2284,9 +2080,13 @@ class MESH_UL_color_attributes(bpy_types._GenericUI, ColorAttributesListBase):
|
|
|
2284
2080
|
"""
|
|
2285
2081
|
...
|
|
2286
2082
|
|
|
2287
|
-
class
|
|
2083
|
+
class DATA_PT_vertex_groups(MeshButtonsPanel, bpy_types._GenericUI):
|
|
2084
|
+
COMPAT_ENGINES: typing.Any
|
|
2085
|
+
bl_context: typing.Any
|
|
2086
|
+
bl_label: typing.Any
|
|
2087
|
+
bl_region_type: typing.Any
|
|
2288
2088
|
bl_rna: typing.Any
|
|
2289
|
-
|
|
2089
|
+
bl_space_type: typing.Any
|
|
2290
2090
|
id_data: typing.Any
|
|
2291
2091
|
|
|
2292
2092
|
def append(self, draw_func):
|
|
@@ -2321,27 +2121,10 @@ class MESH_UL_color_attributes_selector(bpy_types._GenericUI, ColorAttributesLis
|
|
|
2321
2121
|
"""
|
|
2322
2122
|
...
|
|
2323
2123
|
|
|
2324
|
-
def
|
|
2325
|
-
self,
|
|
2326
|
-
_context,
|
|
2327
|
-
layout,
|
|
2328
|
-
_data,
|
|
2329
|
-
attribute,
|
|
2330
|
-
_icon,
|
|
2331
|
-
_active_data,
|
|
2332
|
-
_active_propname,
|
|
2333
|
-
_index,
|
|
2334
|
-
):
|
|
2124
|
+
def draw(self, context):
|
|
2335
2125
|
"""
|
|
2336
2126
|
|
|
2337
|
-
:param
|
|
2338
|
-
:param layout:
|
|
2339
|
-
:param _data:
|
|
2340
|
-
:param attribute:
|
|
2341
|
-
:param _icon:
|
|
2342
|
-
:param _active_data:
|
|
2343
|
-
:param _active_propname:
|
|
2344
|
-
:param _index:
|
|
2127
|
+
:param context:
|
|
2345
2128
|
"""
|
|
2346
2129
|
...
|
|
2347
2130
|
|
|
@@ -2361,15 +2144,6 @@ class MESH_UL_color_attributes_selector(bpy_types._GenericUI, ColorAttributesLis
|
|
|
2361
2144
|
"""
|
|
2362
2145
|
...
|
|
2363
2146
|
|
|
2364
|
-
def filter_items(self, _context, data, property):
|
|
2365
|
-
"""
|
|
2366
|
-
|
|
2367
|
-
:param _context:
|
|
2368
|
-
:param data:
|
|
2369
|
-
:param property:
|
|
2370
|
-
"""
|
|
2371
|
-
...
|
|
2372
|
-
|
|
2373
2147
|
def get(self):
|
|
2374
2148
|
"""Returns the value of the custom property assigned to key or default
|
|
2375
2149
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -2476,6 +2250,13 @@ class MESH_UL_color_attributes_selector(bpy_types._GenericUI, ColorAttributesLis
|
|
|
2476
2250
|
"""Returns the property from the path, raise an exception when not found."""
|
|
2477
2251
|
...
|
|
2478
2252
|
|
|
2253
|
+
def poll(self, context):
|
|
2254
|
+
"""
|
|
2255
|
+
|
|
2256
|
+
:param context:
|
|
2257
|
+
"""
|
|
2258
|
+
...
|
|
2259
|
+
|
|
2479
2260
|
def pop(self):
|
|
2480
2261
|
"""Remove and return the value of the custom property assigned to key or default
|
|
2481
2262
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -2526,14 +2307,9 @@ class MESH_UL_color_attributes_selector(bpy_types._GenericUI, ColorAttributesLis
|
|
|
2526
2307
|
"""
|
|
2527
2308
|
...
|
|
2528
2309
|
|
|
2529
|
-
class
|
|
2530
|
-
COMPAT_ENGINES: typing.Any
|
|
2531
|
-
bl_context: typing.Any
|
|
2310
|
+
class MESH_MT_attribute_context_menu(bpy_types._GenericUI):
|
|
2532
2311
|
bl_label: typing.Any
|
|
2533
|
-
bl_options: typing.Any
|
|
2534
|
-
bl_region_type: typing.Any
|
|
2535
2312
|
bl_rna: typing.Any
|
|
2536
|
-
bl_space_type: typing.Any
|
|
2537
2313
|
id_data: typing.Any
|
|
2538
2314
|
|
|
2539
2315
|
def append(self, draw_func):
|
|
@@ -2568,10 +2344,30 @@ class DATA_PT_context_mesh(MeshButtonsPanel, bpy_types._GenericUI):
|
|
|
2568
2344
|
"""
|
|
2569
2345
|
...
|
|
2570
2346
|
|
|
2571
|
-
def draw(self,
|
|
2347
|
+
def draw(self, _context):
|
|
2348
|
+
"""
|
|
2349
|
+
|
|
2350
|
+
:param _context:
|
|
2351
|
+
"""
|
|
2352
|
+
...
|
|
2353
|
+
|
|
2354
|
+
def draw_collapsible(self, context, layout):
|
|
2572
2355
|
"""
|
|
2573
2356
|
|
|
2574
2357
|
:param context:
|
|
2358
|
+
:param layout:
|
|
2359
|
+
"""
|
|
2360
|
+
...
|
|
2361
|
+
|
|
2362
|
+
def draw_preset(self, _context):
|
|
2363
|
+
"""Define these on the subclass:
|
|
2364
|
+
- preset_operator (string)
|
|
2365
|
+
- preset_subdir (string)Optionally:
|
|
2366
|
+
- preset_add_operator (string)
|
|
2367
|
+
- preset_extensions (set of strings)
|
|
2368
|
+
- preset_operator_defaults (dict of keyword args)
|
|
2369
|
+
|
|
2370
|
+
:param _context:
|
|
2575
2371
|
"""
|
|
2576
2372
|
...
|
|
2577
2373
|
|
|
@@ -2693,17 +2489,44 @@ class DATA_PT_context_mesh(MeshButtonsPanel, bpy_types._GenericUI):
|
|
|
2693
2489
|
"""
|
|
2694
2490
|
...
|
|
2695
2491
|
|
|
2696
|
-
def
|
|
2697
|
-
|
|
2698
|
-
|
|
2492
|
+
def path_menu(
|
|
2493
|
+
self,
|
|
2494
|
+
searchpaths: list[str],
|
|
2495
|
+
operator: str,
|
|
2496
|
+
props_default: dict = None,
|
|
2497
|
+
prop_filepath: str | None = "filepath",
|
|
2498
|
+
filter_ext: collections.abc.Callable | None = None,
|
|
2499
|
+
filter_path=None,
|
|
2500
|
+
display_name: collections.abc.Callable | None = None,
|
|
2501
|
+
add_operator=None,
|
|
2502
|
+
add_operator_props=None,
|
|
2503
|
+
):
|
|
2504
|
+
"""Populate a menu from a list of paths.
|
|
2699
2505
|
|
|
2700
|
-
|
|
2701
|
-
|
|
2506
|
+
:param searchpaths: Paths to scan.
|
|
2507
|
+
:type searchpaths: list[str]
|
|
2508
|
+
:param operator: The operator id to use with each file.
|
|
2509
|
+
:type operator: str
|
|
2510
|
+
:param props_default: Properties to assign to each operator.
|
|
2511
|
+
:type props_default: dict
|
|
2512
|
+
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
2513
|
+
:type prop_filepath: str | None
|
|
2514
|
+
:param filter_ext: Optional callback that takes the file extensions.
|
|
2702
2515
|
|
|
2703
|
-
|
|
2516
|
+
Returning false excludes the file from the list.
|
|
2517
|
+
:type filter_ext: collections.abc.Callable | None
|
|
2518
|
+
:param filter_path:
|
|
2519
|
+
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
2520
|
+
:type display_name: collections.abc.Callable | None
|
|
2521
|
+
:param add_operator:
|
|
2522
|
+
:param add_operator_props:
|
|
2704
2523
|
"""
|
|
2705
2524
|
...
|
|
2706
2525
|
|
|
2526
|
+
def path_resolve(self):
|
|
2527
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
2528
|
+
...
|
|
2529
|
+
|
|
2707
2530
|
def pop(self):
|
|
2708
2531
|
"""Remove and return the value of the custom property assigned to key or default
|
|
2709
2532
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -2754,21 +2577,9 @@ class DATA_PT_context_mesh(MeshButtonsPanel, bpy_types._GenericUI):
|
|
|
2754
2577
|
"""
|
|
2755
2578
|
...
|
|
2756
2579
|
|
|
2757
|
-
class
|
|
2758
|
-
MeshButtonsPanel, rna_prop_ui.PropertyPanel, bpy_types._GenericUI
|
|
2759
|
-
):
|
|
2760
|
-
"""The subclass should have its own poll function
|
|
2761
|
-
and the variable '_context_path' MUST be set.
|
|
2762
|
-
"""
|
|
2763
|
-
|
|
2764
|
-
COMPAT_ENGINES: typing.Any
|
|
2765
|
-
bl_context: typing.Any
|
|
2580
|
+
class MESH_MT_color_attribute_context_menu(bpy_types._GenericUI):
|
|
2766
2581
|
bl_label: typing.Any
|
|
2767
|
-
bl_options: typing.Any
|
|
2768
|
-
bl_order: typing.Any
|
|
2769
|
-
bl_region_type: typing.Any
|
|
2770
2582
|
bl_rna: typing.Any
|
|
2771
|
-
bl_space_type: typing.Any
|
|
2772
2583
|
id_data: typing.Any
|
|
2773
2584
|
|
|
2774
2585
|
def append(self, draw_func):
|
|
@@ -2803,10 +2614,30 @@ class DATA_PT_custom_props_mesh(
|
|
|
2803
2614
|
"""
|
|
2804
2615
|
...
|
|
2805
2616
|
|
|
2806
|
-
def draw(self,
|
|
2617
|
+
def draw(self, _context):
|
|
2618
|
+
"""
|
|
2619
|
+
|
|
2620
|
+
:param _context:
|
|
2621
|
+
"""
|
|
2622
|
+
...
|
|
2623
|
+
|
|
2624
|
+
def draw_collapsible(self, context, layout):
|
|
2807
2625
|
"""
|
|
2808
2626
|
|
|
2809
2627
|
:param context:
|
|
2628
|
+
:param layout:
|
|
2629
|
+
"""
|
|
2630
|
+
...
|
|
2631
|
+
|
|
2632
|
+
def draw_preset(self, _context):
|
|
2633
|
+
"""Define these on the subclass:
|
|
2634
|
+
- preset_operator (string)
|
|
2635
|
+
- preset_subdir (string)Optionally:
|
|
2636
|
+
- preset_add_operator (string)
|
|
2637
|
+
- preset_extensions (set of strings)
|
|
2638
|
+
- preset_operator_defaults (dict of keyword args)
|
|
2639
|
+
|
|
2640
|
+
:param _context:
|
|
2810
2641
|
"""
|
|
2811
2642
|
...
|
|
2812
2643
|
|
|
@@ -2928,17 +2759,44 @@ class DATA_PT_custom_props_mesh(
|
|
|
2928
2759
|
"""
|
|
2929
2760
|
...
|
|
2930
2761
|
|
|
2931
|
-
def
|
|
2932
|
-
|
|
2933
|
-
|
|
2762
|
+
def path_menu(
|
|
2763
|
+
self,
|
|
2764
|
+
searchpaths: list[str],
|
|
2765
|
+
operator: str,
|
|
2766
|
+
props_default: dict = None,
|
|
2767
|
+
prop_filepath: str | None = "filepath",
|
|
2768
|
+
filter_ext: collections.abc.Callable | None = None,
|
|
2769
|
+
filter_path=None,
|
|
2770
|
+
display_name: collections.abc.Callable | None = None,
|
|
2771
|
+
add_operator=None,
|
|
2772
|
+
add_operator_props=None,
|
|
2773
|
+
):
|
|
2774
|
+
"""Populate a menu from a list of paths.
|
|
2934
2775
|
|
|
2935
|
-
|
|
2936
|
-
|
|
2776
|
+
:param searchpaths: Paths to scan.
|
|
2777
|
+
:type searchpaths: list[str]
|
|
2778
|
+
:param operator: The operator id to use with each file.
|
|
2779
|
+
:type operator: str
|
|
2780
|
+
:param props_default: Properties to assign to each operator.
|
|
2781
|
+
:type props_default: dict
|
|
2782
|
+
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
2783
|
+
:type prop_filepath: str | None
|
|
2784
|
+
:param filter_ext: Optional callback that takes the file extensions.
|
|
2937
2785
|
|
|
2938
|
-
|
|
2786
|
+
Returning false excludes the file from the list.
|
|
2787
|
+
:type filter_ext: collections.abc.Callable | None
|
|
2788
|
+
:param filter_path:
|
|
2789
|
+
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
2790
|
+
:type display_name: collections.abc.Callable | None
|
|
2791
|
+
:param add_operator:
|
|
2792
|
+
:param add_operator_props:
|
|
2939
2793
|
"""
|
|
2940
2794
|
...
|
|
2941
2795
|
|
|
2796
|
+
def path_resolve(self):
|
|
2797
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
2798
|
+
...
|
|
2799
|
+
|
|
2942
2800
|
def pop(self):
|
|
2943
2801
|
"""Remove and return the value of the custom property assigned to key or default
|
|
2944
2802
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -2989,14 +2847,9 @@ class DATA_PT_custom_props_mesh(
|
|
|
2989
2847
|
"""
|
|
2990
2848
|
...
|
|
2991
2849
|
|
|
2992
|
-
class
|
|
2993
|
-
COMPAT_ENGINES: typing.Any
|
|
2994
|
-
bl_context: typing.Any
|
|
2850
|
+
class MESH_MT_shape_key_context_menu(bpy_types._GenericUI):
|
|
2995
2851
|
bl_label: typing.Any
|
|
2996
|
-
bl_options: typing.Any
|
|
2997
|
-
bl_region_type: typing.Any
|
|
2998
2852
|
bl_rna: typing.Any
|
|
2999
|
-
bl_space_type: typing.Any
|
|
3000
2853
|
id_data: typing.Any
|
|
3001
2854
|
|
|
3002
2855
|
def append(self, draw_func):
|
|
@@ -3031,10 +2884,30 @@ class DATA_PT_customdata(MeshButtonsPanel, bpy_types._GenericUI):
|
|
|
3031
2884
|
"""
|
|
3032
2885
|
...
|
|
3033
2886
|
|
|
3034
|
-
def draw(self,
|
|
2887
|
+
def draw(self, _context):
|
|
2888
|
+
"""
|
|
2889
|
+
|
|
2890
|
+
:param _context:
|
|
2891
|
+
"""
|
|
2892
|
+
...
|
|
2893
|
+
|
|
2894
|
+
def draw_collapsible(self, context, layout):
|
|
3035
2895
|
"""
|
|
3036
2896
|
|
|
3037
2897
|
:param context:
|
|
2898
|
+
:param layout:
|
|
2899
|
+
"""
|
|
2900
|
+
...
|
|
2901
|
+
|
|
2902
|
+
def draw_preset(self, _context):
|
|
2903
|
+
"""Define these on the subclass:
|
|
2904
|
+
- preset_operator (string)
|
|
2905
|
+
- preset_subdir (string)Optionally:
|
|
2906
|
+
- preset_add_operator (string)
|
|
2907
|
+
- preset_extensions (set of strings)
|
|
2908
|
+
- preset_operator_defaults (dict of keyword args)
|
|
2909
|
+
|
|
2910
|
+
:param _context:
|
|
3038
2911
|
"""
|
|
3039
2912
|
...
|
|
3040
2913
|
|
|
@@ -3156,17 +3029,44 @@ class DATA_PT_customdata(MeshButtonsPanel, bpy_types._GenericUI):
|
|
|
3156
3029
|
"""
|
|
3157
3030
|
...
|
|
3158
3031
|
|
|
3159
|
-
def
|
|
3160
|
-
|
|
3161
|
-
|
|
3032
|
+
def path_menu(
|
|
3033
|
+
self,
|
|
3034
|
+
searchpaths: list[str],
|
|
3035
|
+
operator: str,
|
|
3036
|
+
props_default: dict = None,
|
|
3037
|
+
prop_filepath: str | None = "filepath",
|
|
3038
|
+
filter_ext: collections.abc.Callable | None = None,
|
|
3039
|
+
filter_path=None,
|
|
3040
|
+
display_name: collections.abc.Callable | None = None,
|
|
3041
|
+
add_operator=None,
|
|
3042
|
+
add_operator_props=None,
|
|
3043
|
+
):
|
|
3044
|
+
"""Populate a menu from a list of paths.
|
|
3162
3045
|
|
|
3163
|
-
|
|
3164
|
-
|
|
3046
|
+
:param searchpaths: Paths to scan.
|
|
3047
|
+
:type searchpaths: list[str]
|
|
3048
|
+
:param operator: The operator id to use with each file.
|
|
3049
|
+
:type operator: str
|
|
3050
|
+
:param props_default: Properties to assign to each operator.
|
|
3051
|
+
:type props_default: dict
|
|
3052
|
+
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
3053
|
+
:type prop_filepath: str | None
|
|
3054
|
+
:param filter_ext: Optional callback that takes the file extensions.
|
|
3165
3055
|
|
|
3166
|
-
|
|
3056
|
+
Returning false excludes the file from the list.
|
|
3057
|
+
:type filter_ext: collections.abc.Callable | None
|
|
3058
|
+
:param filter_path:
|
|
3059
|
+
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
3060
|
+
:type display_name: collections.abc.Callable | None
|
|
3061
|
+
:param add_operator:
|
|
3062
|
+
:param add_operator_props:
|
|
3167
3063
|
"""
|
|
3168
3064
|
...
|
|
3169
3065
|
|
|
3066
|
+
def path_resolve(self):
|
|
3067
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
3068
|
+
...
|
|
3069
|
+
|
|
3170
3070
|
def pop(self):
|
|
3171
3071
|
"""Remove and return the value of the custom property assigned to key or default
|
|
3172
3072
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -3217,14 +3117,9 @@ class DATA_PT_customdata(MeshButtonsPanel, bpy_types._GenericUI):
|
|
|
3217
3117
|
"""
|
|
3218
3118
|
...
|
|
3219
3119
|
|
|
3220
|
-
class
|
|
3221
|
-
COMPAT_ENGINES: typing.Any
|
|
3222
|
-
bl_context: typing.Any
|
|
3120
|
+
class MESH_MT_vertex_group_context_menu(bpy_types._GenericUI):
|
|
3223
3121
|
bl_label: typing.Any
|
|
3224
|
-
bl_options: typing.Any
|
|
3225
|
-
bl_region_type: typing.Any
|
|
3226
3122
|
bl_rna: typing.Any
|
|
3227
|
-
bl_space_type: typing.Any
|
|
3228
3123
|
id_data: typing.Any
|
|
3229
3124
|
|
|
3230
3125
|
def append(self, draw_func):
|
|
@@ -3259,10 +3154,30 @@ class DATA_PT_mesh_attributes(MeshButtonsPanel, bpy_types._GenericUI):
|
|
|
3259
3154
|
"""
|
|
3260
3155
|
...
|
|
3261
3156
|
|
|
3262
|
-
def draw(self,
|
|
3157
|
+
def draw(self, _context):
|
|
3158
|
+
"""
|
|
3159
|
+
|
|
3160
|
+
:param _context:
|
|
3161
|
+
"""
|
|
3162
|
+
...
|
|
3163
|
+
|
|
3164
|
+
def draw_collapsible(self, context, layout):
|
|
3263
3165
|
"""
|
|
3264
3166
|
|
|
3265
3167
|
:param context:
|
|
3168
|
+
:param layout:
|
|
3169
|
+
"""
|
|
3170
|
+
...
|
|
3171
|
+
|
|
3172
|
+
def draw_preset(self, _context):
|
|
3173
|
+
"""Define these on the subclass:
|
|
3174
|
+
- preset_operator (string)
|
|
3175
|
+
- preset_subdir (string)Optionally:
|
|
3176
|
+
- preset_add_operator (string)
|
|
3177
|
+
- preset_extensions (set of strings)
|
|
3178
|
+
- preset_operator_defaults (dict of keyword args)
|
|
3179
|
+
|
|
3180
|
+
:param _context:
|
|
3266
3181
|
"""
|
|
3267
3182
|
...
|
|
3268
3183
|
|
|
@@ -3384,17 +3299,44 @@ class DATA_PT_mesh_attributes(MeshButtonsPanel, bpy_types._GenericUI):
|
|
|
3384
3299
|
"""
|
|
3385
3300
|
...
|
|
3386
3301
|
|
|
3302
|
+
def path_menu(
|
|
3303
|
+
self,
|
|
3304
|
+
searchpaths: list[str],
|
|
3305
|
+
operator: str,
|
|
3306
|
+
props_default: dict = None,
|
|
3307
|
+
prop_filepath: str | None = "filepath",
|
|
3308
|
+
filter_ext: collections.abc.Callable | None = None,
|
|
3309
|
+
filter_path=None,
|
|
3310
|
+
display_name: collections.abc.Callable | None = None,
|
|
3311
|
+
add_operator=None,
|
|
3312
|
+
add_operator_props=None,
|
|
3313
|
+
):
|
|
3314
|
+
"""Populate a menu from a list of paths.
|
|
3315
|
+
|
|
3316
|
+
:param searchpaths: Paths to scan.
|
|
3317
|
+
:type searchpaths: list[str]
|
|
3318
|
+
:param operator: The operator id to use with each file.
|
|
3319
|
+
:type operator: str
|
|
3320
|
+
:param props_default: Properties to assign to each operator.
|
|
3321
|
+
:type props_default: dict
|
|
3322
|
+
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
3323
|
+
:type prop_filepath: str | None
|
|
3324
|
+
:param filter_ext: Optional callback that takes the file extensions.
|
|
3325
|
+
|
|
3326
|
+
Returning false excludes the file from the list.
|
|
3327
|
+
:type filter_ext: collections.abc.Callable | None
|
|
3328
|
+
:param filter_path:
|
|
3329
|
+
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
3330
|
+
:type display_name: collections.abc.Callable | None
|
|
3331
|
+
:param add_operator:
|
|
3332
|
+
:param add_operator_props:
|
|
3333
|
+
"""
|
|
3334
|
+
...
|
|
3335
|
+
|
|
3387
3336
|
def path_resolve(self):
|
|
3388
3337
|
"""Returns the property from the path, raise an exception when not found."""
|
|
3389
3338
|
...
|
|
3390
3339
|
|
|
3391
|
-
def poll(self, context):
|
|
3392
|
-
"""
|
|
3393
|
-
|
|
3394
|
-
:param context:
|
|
3395
|
-
"""
|
|
3396
|
-
...
|
|
3397
|
-
|
|
3398
3340
|
def pop(self):
|
|
3399
3341
|
"""Remove and return the value of the custom property assigned to key or default
|
|
3400
3342
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -3445,14 +3387,9 @@ class DATA_PT_mesh_attributes(MeshButtonsPanel, bpy_types._GenericUI):
|
|
|
3445
3387
|
"""
|
|
3446
3388
|
...
|
|
3447
3389
|
|
|
3448
|
-
class
|
|
3449
|
-
COMPAT_ENGINES: typing.Any
|
|
3450
|
-
bl_context: typing.Any
|
|
3451
|
-
bl_label: typing.Any
|
|
3452
|
-
bl_options: typing.Any
|
|
3453
|
-
bl_region_type: typing.Any
|
|
3390
|
+
class MESH_UL_attributes(bpy_types._GenericUI):
|
|
3454
3391
|
bl_rna: typing.Any
|
|
3455
|
-
|
|
3392
|
+
display_domain_names: typing.Any
|
|
3456
3393
|
id_data: typing.Any
|
|
3457
3394
|
|
|
3458
3395
|
def append(self, draw_func):
|
|
@@ -3487,10 +3424,27 @@ class DATA_PT_remesh(MeshButtonsPanel, bpy_types._GenericUI):
|
|
|
3487
3424
|
"""
|
|
3488
3425
|
...
|
|
3489
3426
|
|
|
3490
|
-
def
|
|
3427
|
+
def draw_item(
|
|
3428
|
+
self,
|
|
3429
|
+
_context,
|
|
3430
|
+
layout,
|
|
3431
|
+
_data,
|
|
3432
|
+
attribute,
|
|
3433
|
+
_icon,
|
|
3434
|
+
_active_data,
|
|
3435
|
+
_active_propname,
|
|
3436
|
+
_index,
|
|
3437
|
+
):
|
|
3491
3438
|
"""
|
|
3492
3439
|
|
|
3493
|
-
:param
|
|
3440
|
+
:param _context:
|
|
3441
|
+
:param layout:
|
|
3442
|
+
:param _data:
|
|
3443
|
+
:param attribute:
|
|
3444
|
+
:param _icon:
|
|
3445
|
+
:param _active_data:
|
|
3446
|
+
:param _active_propname:
|
|
3447
|
+
:param _index:
|
|
3494
3448
|
"""
|
|
3495
3449
|
...
|
|
3496
3450
|
|
|
@@ -3510,6 +3464,15 @@ class DATA_PT_remesh(MeshButtonsPanel, bpy_types._GenericUI):
|
|
|
3510
3464
|
"""
|
|
3511
3465
|
...
|
|
3512
3466
|
|
|
3467
|
+
def filter_items(self, _context, data, property):
|
|
3468
|
+
"""
|
|
3469
|
+
|
|
3470
|
+
:param _context:
|
|
3471
|
+
:param data:
|
|
3472
|
+
:param property:
|
|
3473
|
+
"""
|
|
3474
|
+
...
|
|
3475
|
+
|
|
3513
3476
|
def get(self):
|
|
3514
3477
|
"""Returns the value of the custom property assigned to key or default
|
|
3515
3478
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -3616,13 +3579,6 @@ class DATA_PT_remesh(MeshButtonsPanel, bpy_types._GenericUI):
|
|
|
3616
3579
|
"""Returns the property from the path, raise an exception when not found."""
|
|
3617
3580
|
...
|
|
3618
3581
|
|
|
3619
|
-
def poll(self, context):
|
|
3620
|
-
"""
|
|
3621
|
-
|
|
3622
|
-
:param context:
|
|
3623
|
-
"""
|
|
3624
|
-
...
|
|
3625
|
-
|
|
3626
3582
|
def pop(self):
|
|
3627
3583
|
"""Remove and return the value of the custom property assigned to key or default
|
|
3628
3584
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -3673,13 +3629,8 @@ class DATA_PT_remesh(MeshButtonsPanel, bpy_types._GenericUI):
|
|
|
3673
3629
|
"""
|
|
3674
3630
|
...
|
|
3675
3631
|
|
|
3676
|
-
class
|
|
3677
|
-
COMPAT_ENGINES: typing.Any
|
|
3678
|
-
bl_context: typing.Any
|
|
3679
|
-
bl_label: typing.Any
|
|
3680
|
-
bl_region_type: typing.Any
|
|
3632
|
+
class MESH_UL_shape_keys(bpy_types._GenericUI):
|
|
3681
3633
|
bl_rna: typing.Any
|
|
3682
|
-
bl_space_type: typing.Any
|
|
3683
3634
|
id_data: typing.Any
|
|
3684
3635
|
|
|
3685
3636
|
def append(self, draw_func):
|
|
@@ -3714,10 +3665,19 @@ class DATA_PT_shape_keys(MeshButtonsPanel, bpy_types._GenericUI):
|
|
|
3714
3665
|
"""
|
|
3715
3666
|
...
|
|
3716
3667
|
|
|
3717
|
-
def
|
|
3668
|
+
def draw_item(
|
|
3669
|
+
self, _context, layout, _data, item, icon, active_data, _active_propname, index
|
|
3670
|
+
):
|
|
3718
3671
|
"""
|
|
3719
3672
|
|
|
3720
|
-
:param
|
|
3673
|
+
:param _context:
|
|
3674
|
+
:param layout:
|
|
3675
|
+
:param _data:
|
|
3676
|
+
:param item:
|
|
3677
|
+
:param icon:
|
|
3678
|
+
:param active_data:
|
|
3679
|
+
:param _active_propname:
|
|
3680
|
+
:param index:
|
|
3721
3681
|
"""
|
|
3722
3682
|
...
|
|
3723
3683
|
|
|
@@ -3843,13 +3803,6 @@ class DATA_PT_shape_keys(MeshButtonsPanel, bpy_types._GenericUI):
|
|
|
3843
3803
|
"""Returns the property from the path, raise an exception when not found."""
|
|
3844
3804
|
...
|
|
3845
3805
|
|
|
3846
|
-
def poll(self, context):
|
|
3847
|
-
"""
|
|
3848
|
-
|
|
3849
|
-
:param context:
|
|
3850
|
-
"""
|
|
3851
|
-
...
|
|
3852
|
-
|
|
3853
3806
|
def pop(self):
|
|
3854
3807
|
"""Remove and return the value of the custom property assigned to key or default
|
|
3855
3808
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -3900,14 +3853,8 @@ class DATA_PT_shape_keys(MeshButtonsPanel, bpy_types._GenericUI):
|
|
|
3900
3853
|
"""
|
|
3901
3854
|
...
|
|
3902
3855
|
|
|
3903
|
-
class
|
|
3904
|
-
COMPAT_ENGINES: typing.Any
|
|
3905
|
-
bl_context: typing.Any
|
|
3906
|
-
bl_label: typing.Any
|
|
3907
|
-
bl_options: typing.Any
|
|
3908
|
-
bl_region_type: typing.Any
|
|
3856
|
+
class MESH_UL_uvmaps(bpy_types._GenericUI):
|
|
3909
3857
|
bl_rna: typing.Any
|
|
3910
|
-
bl_space_type: typing.Any
|
|
3911
3858
|
id_data: typing.Any
|
|
3912
3859
|
|
|
3913
3860
|
def append(self, draw_func):
|
|
@@ -3942,10 +3889,27 @@ class DATA_PT_texture_space(MeshButtonsPanel, bpy_types._GenericUI):
|
|
|
3942
3889
|
"""
|
|
3943
3890
|
...
|
|
3944
3891
|
|
|
3945
|
-
def
|
|
3892
|
+
def draw_item(
|
|
3893
|
+
self,
|
|
3894
|
+
_context,
|
|
3895
|
+
layout,
|
|
3896
|
+
_data,
|
|
3897
|
+
item,
|
|
3898
|
+
icon,
|
|
3899
|
+
_active_data,
|
|
3900
|
+
_active_propname,
|
|
3901
|
+
_index,
|
|
3902
|
+
):
|
|
3946
3903
|
"""
|
|
3947
3904
|
|
|
3948
|
-
:param
|
|
3905
|
+
:param _context:
|
|
3906
|
+
:param layout:
|
|
3907
|
+
:param _data:
|
|
3908
|
+
:param item:
|
|
3909
|
+
:param icon:
|
|
3910
|
+
:param _active_data:
|
|
3911
|
+
:param _active_propname:
|
|
3912
|
+
:param _index:
|
|
3949
3913
|
"""
|
|
3950
3914
|
...
|
|
3951
3915
|
|
|
@@ -4071,13 +4035,6 @@ class DATA_PT_texture_space(MeshButtonsPanel, bpy_types._GenericUI):
|
|
|
4071
4035
|
"""Returns the property from the path, raise an exception when not found."""
|
|
4072
4036
|
...
|
|
4073
4037
|
|
|
4074
|
-
def poll(self, context):
|
|
4075
|
-
"""
|
|
4076
|
-
|
|
4077
|
-
:param context:
|
|
4078
|
-
"""
|
|
4079
|
-
...
|
|
4080
|
-
|
|
4081
4038
|
def pop(self):
|
|
4082
4039
|
"""Remove and return the value of the custom property assigned to key or default
|
|
4083
4040
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -4128,14 +4085,8 @@ class DATA_PT_texture_space(MeshButtonsPanel, bpy_types._GenericUI):
|
|
|
4128
4085
|
"""
|
|
4129
4086
|
...
|
|
4130
4087
|
|
|
4131
|
-
class
|
|
4132
|
-
COMPAT_ENGINES: typing.Any
|
|
4133
|
-
bl_context: typing.Any
|
|
4134
|
-
bl_label: typing.Any
|
|
4135
|
-
bl_options: typing.Any
|
|
4136
|
-
bl_region_type: typing.Any
|
|
4088
|
+
class MESH_UL_vgroups(bpy_types._GenericUI):
|
|
4137
4089
|
bl_rna: typing.Any
|
|
4138
|
-
bl_space_type: typing.Any
|
|
4139
4090
|
id_data: typing.Any
|
|
4140
4091
|
|
|
4141
4092
|
def append(self, draw_func):
|
|
@@ -4170,10 +4121,27 @@ class DATA_PT_uv_texture(MeshButtonsPanel, bpy_types._GenericUI):
|
|
|
4170
4121
|
"""
|
|
4171
4122
|
...
|
|
4172
4123
|
|
|
4173
|
-
def
|
|
4124
|
+
def draw_item(
|
|
4125
|
+
self,
|
|
4126
|
+
_context,
|
|
4127
|
+
layout,
|
|
4128
|
+
_data,
|
|
4129
|
+
item,
|
|
4130
|
+
icon,
|
|
4131
|
+
_active_data_,
|
|
4132
|
+
_active_propname,
|
|
4133
|
+
_index,
|
|
4134
|
+
):
|
|
4174
4135
|
"""
|
|
4175
4136
|
|
|
4176
|
-
:param
|
|
4137
|
+
:param _context:
|
|
4138
|
+
:param layout:
|
|
4139
|
+
:param _data:
|
|
4140
|
+
:param item:
|
|
4141
|
+
:param icon:
|
|
4142
|
+
:param _active_data_:
|
|
4143
|
+
:param _active_propname:
|
|
4144
|
+
:param _index:
|
|
4177
4145
|
"""
|
|
4178
4146
|
...
|
|
4179
4147
|
|
|
@@ -4299,13 +4267,6 @@ class DATA_PT_uv_texture(MeshButtonsPanel, bpy_types._GenericUI):
|
|
|
4299
4267
|
"""Returns the property from the path, raise an exception when not found."""
|
|
4300
4268
|
...
|
|
4301
4269
|
|
|
4302
|
-
def poll(self, context):
|
|
4303
|
-
"""
|
|
4304
|
-
|
|
4305
|
-
:param context:
|
|
4306
|
-
"""
|
|
4307
|
-
...
|
|
4308
|
-
|
|
4309
4270
|
def pop(self):
|
|
4310
4271
|
"""Remove and return the value of the custom property assigned to key or default
|
|
4311
4272
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -4356,13 +4317,21 @@ class DATA_PT_uv_texture(MeshButtonsPanel, bpy_types._GenericUI):
|
|
|
4356
4317
|
"""
|
|
4357
4318
|
...
|
|
4358
4319
|
|
|
4359
|
-
class
|
|
4360
|
-
COMPAT_ENGINES: typing.Any
|
|
4320
|
+
class MeshButtonsPanel:
|
|
4361
4321
|
bl_context: typing.Any
|
|
4362
|
-
bl_label: typing.Any
|
|
4363
4322
|
bl_region_type: typing.Any
|
|
4364
|
-
bl_rna: typing.Any
|
|
4365
4323
|
bl_space_type: typing.Any
|
|
4324
|
+
|
|
4325
|
+
def poll(self, context):
|
|
4326
|
+
"""
|
|
4327
|
+
|
|
4328
|
+
:param context:
|
|
4329
|
+
"""
|
|
4330
|
+
...
|
|
4331
|
+
|
|
4332
|
+
class MESH_UL_color_attributes(bpy_types._GenericUI, ColorAttributesListBase):
|
|
4333
|
+
bl_rna: typing.Any
|
|
4334
|
+
display_domain_names: typing.Any
|
|
4366
4335
|
id_data: typing.Any
|
|
4367
4336
|
|
|
4368
4337
|
def append(self, draw_func):
|
|
@@ -4397,10 +4366,27 @@ class DATA_PT_vertex_groups(MeshButtonsPanel, bpy_types._GenericUI):
|
|
|
4397
4366
|
"""
|
|
4398
4367
|
...
|
|
4399
4368
|
|
|
4400
|
-
def
|
|
4369
|
+
def draw_item(
|
|
4370
|
+
self,
|
|
4371
|
+
_context,
|
|
4372
|
+
layout,
|
|
4373
|
+
data,
|
|
4374
|
+
attribute,
|
|
4375
|
+
_icon,
|
|
4376
|
+
_active_data,
|
|
4377
|
+
_active_propname,
|
|
4378
|
+
_index,
|
|
4379
|
+
):
|
|
4401
4380
|
"""
|
|
4402
4381
|
|
|
4403
|
-
:param
|
|
4382
|
+
:param _context:
|
|
4383
|
+
:param layout:
|
|
4384
|
+
:param data:
|
|
4385
|
+
:param attribute:
|
|
4386
|
+
:param _icon:
|
|
4387
|
+
:param _active_data:
|
|
4388
|
+
:param _active_propname:
|
|
4389
|
+
:param _index:
|
|
4404
4390
|
"""
|
|
4405
4391
|
...
|
|
4406
4392
|
|
|
@@ -4420,6 +4406,15 @@ class DATA_PT_vertex_groups(MeshButtonsPanel, bpy_types._GenericUI):
|
|
|
4420
4406
|
"""
|
|
4421
4407
|
...
|
|
4422
4408
|
|
|
4409
|
+
def filter_items(self, _context, data, property):
|
|
4410
|
+
"""
|
|
4411
|
+
|
|
4412
|
+
:param _context:
|
|
4413
|
+
:param data:
|
|
4414
|
+
:param property:
|
|
4415
|
+
"""
|
|
4416
|
+
...
|
|
4417
|
+
|
|
4423
4418
|
def get(self):
|
|
4424
4419
|
"""Returns the value of the custom property assigned to key or default
|
|
4425
4420
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -4526,13 +4521,6 @@ class DATA_PT_vertex_groups(MeshButtonsPanel, bpy_types._GenericUI):
|
|
|
4526
4521
|
"""Returns the property from the path, raise an exception when not found."""
|
|
4527
4522
|
...
|
|
4528
4523
|
|
|
4529
|
-
def poll(self, context):
|
|
4530
|
-
"""
|
|
4531
|
-
|
|
4532
|
-
:param context:
|
|
4533
|
-
"""
|
|
4534
|
-
...
|
|
4535
|
-
|
|
4536
4524
|
def pop(self):
|
|
4537
4525
|
"""Remove and return the value of the custom property assigned to key or default
|
|
4538
4526
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -4583,16 +4571,9 @@ class DATA_PT_vertex_groups(MeshButtonsPanel, bpy_types._GenericUI):
|
|
|
4583
4571
|
"""
|
|
4584
4572
|
...
|
|
4585
4573
|
|
|
4586
|
-
class
|
|
4587
|
-
DATA_PT_mesh_attributes, MeshButtonsPanel, bpy_types._GenericUI
|
|
4588
|
-
):
|
|
4589
|
-
COMPAT_ENGINES: typing.Any
|
|
4590
|
-
bl_context: typing.Any
|
|
4591
|
-
bl_label: typing.Any
|
|
4592
|
-
bl_options: typing.Any
|
|
4593
|
-
bl_region_type: typing.Any
|
|
4574
|
+
class MESH_UL_color_attributes_selector(bpy_types._GenericUI, ColorAttributesListBase):
|
|
4594
4575
|
bl_rna: typing.Any
|
|
4595
|
-
|
|
4576
|
+
display_domain_names: typing.Any
|
|
4596
4577
|
id_data: typing.Any
|
|
4597
4578
|
|
|
4598
4579
|
def append(self, draw_func):
|
|
@@ -4627,10 +4608,27 @@ class DATA_PT_vertex_colors(
|
|
|
4627
4608
|
"""
|
|
4628
4609
|
...
|
|
4629
4610
|
|
|
4630
|
-
def
|
|
4611
|
+
def draw_item(
|
|
4612
|
+
self,
|
|
4613
|
+
_context,
|
|
4614
|
+
layout,
|
|
4615
|
+
_data,
|
|
4616
|
+
attribute,
|
|
4617
|
+
_icon,
|
|
4618
|
+
_active_data,
|
|
4619
|
+
_active_propname,
|
|
4620
|
+
_index,
|
|
4621
|
+
):
|
|
4631
4622
|
"""
|
|
4632
4623
|
|
|
4633
|
-
:param
|
|
4624
|
+
:param _context:
|
|
4625
|
+
:param layout:
|
|
4626
|
+
:param _data:
|
|
4627
|
+
:param attribute:
|
|
4628
|
+
:param _icon:
|
|
4629
|
+
:param _active_data:
|
|
4630
|
+
:param _active_propname:
|
|
4631
|
+
:param _index:
|
|
4634
4632
|
"""
|
|
4635
4633
|
...
|
|
4636
4634
|
|
|
@@ -4650,6 +4648,15 @@ class DATA_PT_vertex_colors(
|
|
|
4650
4648
|
"""
|
|
4651
4649
|
...
|
|
4652
4650
|
|
|
4651
|
+
def filter_items(self, _context, data, property):
|
|
4652
|
+
"""
|
|
4653
|
+
|
|
4654
|
+
:param _context:
|
|
4655
|
+
:param data:
|
|
4656
|
+
:param property:
|
|
4657
|
+
"""
|
|
4658
|
+
...
|
|
4659
|
+
|
|
4653
4660
|
def get(self):
|
|
4654
4661
|
"""Returns the value of the custom property assigned to key or default
|
|
4655
4662
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -4756,13 +4763,6 @@ class DATA_PT_vertex_colors(
|
|
|
4756
4763
|
"""Returns the property from the path, raise an exception when not found."""
|
|
4757
4764
|
...
|
|
4758
4765
|
|
|
4759
|
-
def poll(self, context):
|
|
4760
|
-
"""
|
|
4761
|
-
|
|
4762
|
-
:param context:
|
|
4763
|
-
"""
|
|
4764
|
-
...
|
|
4765
|
-
|
|
4766
4766
|
def pop(self):
|
|
4767
4767
|
"""Remove and return the value of the custom property assigned to key or default
|
|
4768
4768
|
when not found (matches Python's dictionary function of the same name).
|