fake-bpy-module 20240708__py3-none-any.whl → 20240711__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.
- _bpy_internal/__init__.pyi +1 -0
- _bpy_internal/addons/__init__.pyi +7 -0
- _bpy_internal/addons/cli/__init__.pyi +8 -0
- _bpy_internal/extensions/wheel_manager/__init__.pyi +1 -1
- _bpy_internal/freedesktop/__init__.pyi +1 -1
- addon_utils/__init__.pyi +6 -5
- bl_app_override/__init__.pyi +2 -1
- bl_app_template_utils/__init__.pyi +4 -4
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +1 -1
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +2 -2
- bl_console_utils/autocomplete/intellisense/__init__.pyi +3 -1
- bl_keymap_utils/io/__init__.pyi +4 -2
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +1 -1
- bl_keymap_utils/platform_helpers/__init__.pyi +1 -1
- bl_operators/__init__.pyi +1 -0
- bl_operators/add_mesh_torus/__init__.pyi +1 -1
- bl_operators/anim/__init__.pyi +8 -8
- bl_operators/assets/__init__.pyi +3 -3
- bl_operators/bone_selection_sets/__init__.pyi +2986 -0
- bl_operators/clip/__init__.pyi +11 -11
- bl_operators/connect_to_output/__init__.pyi +1 -1
- bl_operators/console/__init__.pyi +5 -5
- bl_operators/constraint/__init__.pyi +4 -4
- bl_operators/file/__init__.pyi +3 -3
- bl_operators/freestyle/__init__.pyi +4 -4
- bl_operators/geometry_nodes/__init__.pyi +4 -4
- bl_operators/image/__init__.pyi +4 -4
- bl_operators/image_as_planes/__init__.pyi +2 -2
- bl_operators/mesh/__init__.pyi +3 -3
- bl_operators/node/__init__.pyi +8 -8
- bl_operators/object/__init__.pyi +15 -15
- bl_operators/object_align/__init__.pyi +1 -1
- bl_operators/object_quick_effects/__init__.pyi +4 -4
- bl_operators/object_randomize_transform/__init__.pyi +1 -1
- bl_operators/presets/__init__.pyi +25 -23
- bl_operators/rigidbody/__init__.pyi +3 -3
- bl_operators/screen_play_rendered_anim/__init__.pyi +1 -1
- bl_operators/sequencer/__init__.pyi +5 -5
- bl_operators/spreadsheet/__init__.pyi +1 -1
- bl_operators/userpref/__init__.pyi +25 -25
- bl_operators/uvcalc_follow_active/__init__.pyi +1 -1
- bl_operators/uvcalc_lightmap/__init__.pyi +2 -2
- bl_operators/uvcalc_transform/__init__.pyi +2 -2
- bl_operators/vertexpaint_dirt/__init__.pyi +1 -1
- bl_operators/view3d/__init__.pyi +5 -5
- bl_operators/wm/__init__.pyi +46 -42
- bl_operators/world/__init__.pyi +1 -1
- bl_ui/__init__.pyi +2 -0
- bl_ui/anim/__init__.pyi +1 -0
- bl_ui/generic_ui_list/__init__.pyi +5 -4
- bl_ui/node_add_menu/__init__.pyi +2 -1
- bl_ui/node_add_menu_compositor/__init__.pyi +18 -0
- bl_ui/node_add_menu_geometry/__init__.pyi +321 -0
- bl_ui/node_add_menu_shader/__init__.pyi +10 -0
- bl_ui/node_add_menu_texture/__init__.pyi +9 -0
- bl_ui/properties_collection/__init__.pyi +1 -0
- bl_ui/properties_data_armature/__init__.pyi +1273 -0
- bl_ui/properties_data_camera/__init__.pyi +2 -0
- bl_ui/properties_data_curves/__init__.pyi +1 -0
- bl_ui/properties_data_gpencil/__init__.pyi +2 -0
- bl_ui/properties_data_grease_pencil/__init__.pyi +3 -0
- bl_ui/properties_data_mesh/__init__.pyi +4 -0
- bl_ui/properties_data_modifier/__init__.pyi +8 -1
- bl_ui/properties_data_pointcloud/__init__.pyi +1 -0
- bl_ui/properties_freestyle/__init__.pyi +1 -0
- bl_ui/properties_grease_pencil_common/__init__.pyi +13 -1
- bl_ui/properties_mask_common/__init__.pyi +6 -0
- bl_ui/properties_material/__init__.pyi +1 -0
- bl_ui/properties_material_gpencil/__init__.pyi +2 -0
- bl_ui/properties_object/__init__.pyi +1 -0
- bl_ui/properties_output/__init__.pyi +3 -0
- bl_ui/properties_paint_common/__init__.pyi +48 -17
- bl_ui/properties_particle/__init__.pyi +2 -0
- bl_ui/properties_physics_cloth/__init__.pyi +1 -0
- bl_ui/properties_physics_fluid/__init__.pyi +1 -0
- bl_ui/properties_render/__init__.pyi +2 -0
- bl_ui/properties_texture/__init__.pyi +1 -0
- bl_ui/properties_view_layer/__init__.pyi +1 -0
- bl_ui/space_clip/__init__.pyi +31 -0
- bl_ui/space_console/__init__.pyi +5 -0
- bl_ui/space_dopesheet/__init__.pyi +14 -0
- bl_ui/space_filebrowser/__init__.pyi +13 -0
- bl_ui/space_graph/__init__.pyi +16 -0
- bl_ui/space_image/__init__.pyi +313 -11
- bl_ui/space_info/__init__.pyi +5 -0
- bl_ui/space_nla/__init__.pyi +13 -0
- bl_ui/space_node/__init__.pyi +12 -0
- bl_ui/space_outliner/__init__.pyi +12 -0
- bl_ui/space_sequencer/__init__.pyi +34 -0
- bl_ui/space_text/__init__.pyi +12 -0
- bl_ui/space_time/__init__.pyi +4 -0
- bl_ui/space_toolsystem_common/__init__.pyi +7 -6
- bl_ui/space_toolsystem_toolbar/__init__.pyi +18 -14
- bl_ui/space_topbar/__init__.pyi +20 -1
- bl_ui/space_userpref/__init__.pyi +8 -0
- bl_ui/space_view3d/__init__.pyi +3477 -1372
- bl_ui/space_view3d_toolbar/__init__.pyi +1706 -880
- bl_ui/utils/__init__.pyi +1 -0
- bl_ui_utils/bug_report_url/__init__.pyi +1 -1
- bpy/ops/brush/__init__.pyi +185 -11
- bpy/ops/extensions/__init__.pyi +15 -1
- bpy/ops/gpencil/__init__.pyi +0 -28
- bpy/ops/paint/__init__.pyi +0 -48
- bpy/ops/pose/__init__.pyi +176 -0
- bpy/ops/wm/__init__.pyi +18 -0
- bpy/path/__init__.pyi +6 -6
- bpy/types/__init__.pyi +30763 -28505
- bpy/utils/__init__.pyi +14 -12
- bpy_extras/anim_utils/__init__.pyi +3 -3
- bpy_extras/view3d_utils/__init__.pyi +2 -0
- {fake_bpy_module-20240708.dist-info → fake_bpy_module-20240711.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240708.dist-info → fake_bpy_module-20240711.dist-info}/RECORD +119 -116
- {fake_bpy_module-20240708.dist-info → fake_bpy_module-20240711.dist-info}/WHEEL +1 -1
- freestyle/utils/__init__.pyi +1 -1
- mathutils/__init__.pyi +1687 -679
- rna_info/__init__.pyi +1 -0
- rna_prop_ui/__init__.pyi +2 -1
- rna_xml/__init__.pyi +2 -2
- {fake_bpy_module-20240708.dist-info → fake_bpy_module-20240711.dist-info}/top_level.txt +0 -0
|
@@ -496,6 +496,7 @@ class VIEW3D_MT_brush_context_menu(bpy_types._GenericUI):
|
|
|
496
496
|
self,
|
|
497
497
|
searchpaths: list[str],
|
|
498
498
|
operator: str,
|
|
499
|
+
*,
|
|
499
500
|
props_default: dict = None,
|
|
500
501
|
prop_filepath: str | None = "filepath",
|
|
501
502
|
filter_ext: collections.abc.Callable | None = None,
|
|
@@ -766,6 +767,7 @@ class VIEW3D_MT_brush_gpencil_context_menu(bpy_types._GenericUI):
|
|
|
766
767
|
self,
|
|
767
768
|
searchpaths: list[str],
|
|
768
769
|
operator: str,
|
|
770
|
+
*,
|
|
769
771
|
props_default: dict = None,
|
|
770
772
|
prop_filepath: str | None = "filepath",
|
|
771
773
|
filter_ext: collections.abc.Callable | None = None,
|
|
@@ -1036,6 +1038,7 @@ class VIEW3D_MT_tools_projectpaint_stencil(bpy_types._GenericUI):
|
|
|
1036
1038
|
self,
|
|
1037
1039
|
searchpaths: list[str],
|
|
1038
1040
|
operator: str,
|
|
1041
|
+
*,
|
|
1039
1042
|
props_default: dict = None,
|
|
1040
1043
|
prop_filepath: str | None = "filepath",
|
|
1041
1044
|
filter_ext: collections.abc.Callable | None = None,
|
|
@@ -1306,6 +1309,7 @@ class VIEW3D_MT_tools_projectpaint_uvlayer(bpy_types._GenericUI):
|
|
|
1306
1309
|
self,
|
|
1307
1310
|
searchpaths: list[str],
|
|
1308
1311
|
operator: str,
|
|
1312
|
+
*,
|
|
1309
1313
|
props_default: dict = None,
|
|
1310
1314
|
prop_filepath: str | None = "filepath",
|
|
1311
1315
|
filter_ext: collections.abc.Callable | None = None,
|
|
@@ -1632,7 +1636,7 @@ class VIEW3D_PT_curves_sculpt_symmetry(
|
|
|
1632
1636
|
"""
|
|
1633
1637
|
...
|
|
1634
1638
|
|
|
1635
|
-
def prop_unified_color(self, parent, context, brush, prop_name, text=None):
|
|
1639
|
+
def prop_unified_color(self, parent, context, brush, prop_name, *, text=None):
|
|
1636
1640
|
"""
|
|
1637
1641
|
|
|
1638
1642
|
:param parent:
|
|
@@ -2097,6 +2101,7 @@ class VIEW3D_PT_gpencil_brush_presets(bpy_types._GenericUI, bl_ui.utils.PresetPa
|
|
|
2097
2101
|
self,
|
|
2098
2102
|
searchpaths: list[str],
|
|
2099
2103
|
operator: str,
|
|
2104
|
+
*,
|
|
2100
2105
|
props_default: dict = None,
|
|
2101
2106
|
prop_filepath: str | None = "filepath",
|
|
2102
2107
|
filter_ext: collections.abc.Callable | None = None,
|
|
@@ -2247,7 +2252,7 @@ class VIEW3D_PT_imagepaint_options(
|
|
|
2247
2252
|
"""
|
|
2248
2253
|
...
|
|
2249
2254
|
|
|
2250
|
-
def prop_unified_color(self, parent, context, brush, prop_name, text=None):
|
|
2255
|
+
def prop_unified_color(self, parent, context, brush, prop_name, *, text=None):
|
|
2251
2256
|
"""
|
|
2252
2257
|
|
|
2253
2258
|
:param parent:
|
|
@@ -2740,7 +2745,7 @@ class VIEW3D_PT_sculpt_dyntopo(
|
|
|
2740
2745
|
"""
|
|
2741
2746
|
...
|
|
2742
2747
|
|
|
2743
|
-
def prop_unified_color(self, parent, context, brush, prop_name, text=None):
|
|
2748
|
+
def prop_unified_color(self, parent, context, brush, prop_name, *, text=None):
|
|
2744
2749
|
"""
|
|
2745
2750
|
|
|
2746
2751
|
:param parent:
|
|
@@ -3042,7 +3047,7 @@ class VIEW3D_PT_sculpt_options(
|
|
|
3042
3047
|
"""
|
|
3043
3048
|
...
|
|
3044
3049
|
|
|
3045
|
-
def prop_unified_color(self, parent, context, brush, prop_name, text=None):
|
|
3050
|
+
def prop_unified_color(self, parent, context, brush, prop_name, *, text=None):
|
|
3046
3051
|
"""
|
|
3047
3052
|
|
|
3048
3053
|
:param parent:
|
|
@@ -3343,7 +3348,7 @@ class VIEW3D_PT_sculpt_options_gravity(
|
|
|
3343
3348
|
"""
|
|
3344
3349
|
...
|
|
3345
3350
|
|
|
3346
|
-
def prop_unified_color(self, parent, context, brush, prop_name, text=None):
|
|
3351
|
+
def prop_unified_color(self, parent, context, brush, prop_name, *, text=None):
|
|
3347
3352
|
"""
|
|
3348
3353
|
|
|
3349
3354
|
:param parent:
|
|
@@ -3644,7 +3649,7 @@ class VIEW3D_PT_sculpt_symmetry(
|
|
|
3644
3649
|
"""
|
|
3645
3650
|
...
|
|
3646
3651
|
|
|
3647
|
-
def prop_unified_color(self, parent, context, brush, prop_name, text=None):
|
|
3652
|
+
def prop_unified_color(self, parent, context, brush, prop_name, *, text=None):
|
|
3648
3653
|
"""
|
|
3649
3654
|
|
|
3650
3655
|
:param parent:
|
|
@@ -4165,7 +4170,7 @@ class VIEW3D_PT_sculpt_voxel_remesh(
|
|
|
4165
4170
|
"""
|
|
4166
4171
|
...
|
|
4167
4172
|
|
|
4168
|
-
def prop_unified_color(self, parent, context, brush, prop_name, text=None):
|
|
4173
|
+
def prop_unified_color(self, parent, context, brush, prop_name, *, text=None):
|
|
4169
4174
|
"""
|
|
4170
4175
|
|
|
4171
4176
|
:param parent:
|
|
@@ -4507,7 +4512,7 @@ class VIEW3D_PT_slots_paint_canvas(
|
|
|
4507
4512
|
"""
|
|
4508
4513
|
...
|
|
4509
4514
|
|
|
4510
|
-
def draw_image_interpolation(self, kwargs):
|
|
4515
|
+
def draw_image_interpolation(self, **kwargs):
|
|
4511
4516
|
"""
|
|
4512
4517
|
|
|
4513
4518
|
:param kwargs:
|
|
@@ -5884,7 +5889,7 @@ class VIEW3D_PT_tools_brush_clone(
|
|
|
5884
5889
|
"""
|
|
5885
5890
|
...
|
|
5886
5891
|
|
|
5887
|
-
def prop_unified_color(self, parent, context, brush, prop_name, text=None):
|
|
5892
|
+
def prop_unified_color(self, parent, context, brush, prop_name, *, text=None):
|
|
5888
5893
|
"""
|
|
5889
5894
|
|
|
5890
5895
|
:param parent:
|
|
@@ -6185,7 +6190,7 @@ class VIEW3D_PT_tools_brush_color(
|
|
|
6185
6190
|
"""
|
|
6186
6191
|
...
|
|
6187
6192
|
|
|
6188
|
-
def prop_unified_color(self, parent, context, brush, prop_name, text=None):
|
|
6193
|
+
def prop_unified_color(self, parent, context, brush, prop_name, *, text=None):
|
|
6189
6194
|
"""
|
|
6190
6195
|
|
|
6191
6196
|
:param parent:
|
|
@@ -6498,7 +6503,7 @@ class VIEW3D_PT_tools_brush_display(
|
|
|
6498
6503
|
"""
|
|
6499
6504
|
...
|
|
6500
6505
|
|
|
6501
|
-
def prop_unified_color(self, parent, context, brush, prop_name, text=None):
|
|
6506
|
+
def prop_unified_color(self, parent, context, brush, prop_name, *, text=None):
|
|
6502
6507
|
"""
|
|
6503
6508
|
|
|
6504
6509
|
:param parent:
|
|
@@ -6802,7 +6807,7 @@ class VIEW3D_PT_tools_brush_falloff(
|
|
|
6802
6807
|
"""
|
|
6803
6808
|
...
|
|
6804
6809
|
|
|
6805
|
-
def prop_unified_color(self, parent, context, brush, prop_name, text=None):
|
|
6810
|
+
def prop_unified_color(self, parent, context, brush, prop_name, *, text=None):
|
|
6806
6811
|
"""
|
|
6807
6812
|
|
|
6808
6813
|
:param parent:
|
|
@@ -7111,7 +7116,7 @@ class VIEW3D_PT_tools_brush_falloff_frontface(
|
|
|
7111
7116
|
"""
|
|
7112
7117
|
...
|
|
7113
7118
|
|
|
7114
|
-
def prop_unified_color(self, parent, context, brush, prop_name, text=None):
|
|
7119
|
+
def prop_unified_color(self, parent, context, brush, prop_name, *, text=None):
|
|
7115
7120
|
"""
|
|
7116
7121
|
|
|
7117
7122
|
:param parent:
|
|
@@ -7420,7 +7425,7 @@ class VIEW3D_PT_tools_brush_falloff_normal(
|
|
|
7420
7425
|
"""
|
|
7421
7426
|
...
|
|
7422
7427
|
|
|
7423
|
-
def prop_unified_color(self, parent, context, brush, prop_name, text=None):
|
|
7428
|
+
def prop_unified_color(self, parent, context, brush, prop_name, *, text=None):
|
|
7424
7429
|
"""
|
|
7425
7430
|
|
|
7426
7431
|
:param parent:
|
|
@@ -7723,7 +7728,7 @@ class VIEW3D_PT_tools_brush_select(
|
|
|
7723
7728
|
"""
|
|
7724
7729
|
...
|
|
7725
7730
|
|
|
7726
|
-
def prop_unified_color(self, parent, context, brush, prop_name, text=None):
|
|
7731
|
+
def prop_unified_color(self, parent, context, brush, prop_name, *, text=None):
|
|
7727
7732
|
"""
|
|
7728
7733
|
|
|
7729
7734
|
:param parent:
|
|
@@ -8024,7 +8029,7 @@ class VIEW3D_PT_tools_brush_settings(
|
|
|
8024
8029
|
"""
|
|
8025
8030
|
...
|
|
8026
8031
|
|
|
8027
|
-
def prop_unified_color(self, parent, context, brush, prop_name, text=None):
|
|
8032
|
+
def prop_unified_color(self, parent, context, brush, prop_name, *, text=None):
|
|
8028
8033
|
"""
|
|
8029
8034
|
|
|
8030
8035
|
:param parent:
|
|
@@ -8328,7 +8333,7 @@ class VIEW3D_PT_tools_brush_settings_advanced(
|
|
|
8328
8333
|
"""
|
|
8329
8334
|
...
|
|
8330
8335
|
|
|
8331
|
-
def prop_unified_color(self, parent, context, brush, prop_name, text=None):
|
|
8336
|
+
def prop_unified_color(self, parent, context, brush, prop_name, *, text=None):
|
|
8332
8337
|
"""
|
|
8333
8338
|
|
|
8334
8339
|
:param parent:
|
|
@@ -8633,7 +8638,7 @@ class VIEW3D_PT_tools_brush_stroke(
|
|
|
8633
8638
|
"""
|
|
8634
8639
|
...
|
|
8635
8640
|
|
|
8636
|
-
def prop_unified_color(self, parent, context, brush, prop_name, text=None):
|
|
8641
|
+
def prop_unified_color(self, parent, context, brush, prop_name, *, text=None):
|
|
8637
8642
|
"""
|
|
8638
8643
|
|
|
8639
8644
|
:param parent:
|
|
@@ -8944,7 +8949,7 @@ class VIEW3D_PT_tools_brush_stroke_smooth_stroke(
|
|
|
8944
8949
|
"""
|
|
8945
8950
|
...
|
|
8946
8951
|
|
|
8947
|
-
def prop_unified_color(self, parent, context, brush, prop_name, text=None):
|
|
8952
|
+
def prop_unified_color(self, parent, context, brush, prop_name, *, text=None):
|
|
8948
8953
|
"""
|
|
8949
8954
|
|
|
8950
8955
|
:param parent:
|
|
@@ -9248,7 +9253,7 @@ class VIEW3D_PT_tools_brush_swatches(
|
|
|
9248
9253
|
"""
|
|
9249
9254
|
...
|
|
9250
9255
|
|
|
9251
|
-
def prop_unified_color(self, parent, context, brush, prop_name, text=None):
|
|
9256
|
+
def prop_unified_color(self, parent, context, brush, prop_name, *, text=None):
|
|
9252
9257
|
"""
|
|
9253
9258
|
|
|
9254
9259
|
:param parent:
|
|
@@ -9550,7 +9555,7 @@ class VIEW3D_PT_tools_brush_texture(
|
|
|
9550
9555
|
"""
|
|
9551
9556
|
...
|
|
9552
9557
|
|
|
9553
|
-
def prop_unified_color(self, parent, context, brush, prop_name, text=None):
|
|
9558
|
+
def prop_unified_color(self, parent, context, brush, prop_name, *, text=None):
|
|
9554
9559
|
"""
|
|
9555
9560
|
|
|
9556
9561
|
:param parent:
|
|
@@ -9839,6 +9844,234 @@ class VIEW3D_PT_tools_grease_pencil_brush_advanced(View3DPanel, bpy_types._Gener
|
|
|
9839
9844
|
"""
|
|
9840
9845
|
...
|
|
9841
9846
|
|
|
9847
|
+
class VIEW3D_PT_tools_grease_pencil_brush_eraser(View3DPanel, bpy_types._GenericUI):
|
|
9848
|
+
bl_category: typing.Any
|
|
9849
|
+
bl_context: typing.Any
|
|
9850
|
+
bl_label: typing.Any
|
|
9851
|
+
bl_options: typing.Any
|
|
9852
|
+
bl_region_type: typing.Any
|
|
9853
|
+
bl_rna: typing.Any
|
|
9854
|
+
bl_space_type: typing.Any
|
|
9855
|
+
id_data: typing.Any
|
|
9856
|
+
|
|
9857
|
+
def append(self, draw_func):
|
|
9858
|
+
"""Append a draw function to this menu,
|
|
9859
|
+
takes the same arguments as the menus draw function
|
|
9860
|
+
|
|
9861
|
+
:param draw_func:
|
|
9862
|
+
"""
|
|
9863
|
+
...
|
|
9864
|
+
|
|
9865
|
+
def as_pointer(self) -> int:
|
|
9866
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
9867
|
+
|
|
9868
|
+
:return: int (memory address).
|
|
9869
|
+
:rtype: int
|
|
9870
|
+
"""
|
|
9871
|
+
...
|
|
9872
|
+
|
|
9873
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
9874
|
+
"""
|
|
9875
|
+
|
|
9876
|
+
:return: The RNA type or default when not found.
|
|
9877
|
+
:rtype: bpy.types.Struct
|
|
9878
|
+
"""
|
|
9879
|
+
...
|
|
9880
|
+
|
|
9881
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
9882
|
+
"""
|
|
9883
|
+
|
|
9884
|
+
:return: The class or default when not found.
|
|
9885
|
+
:rtype: typing.Any
|
|
9886
|
+
"""
|
|
9887
|
+
...
|
|
9888
|
+
|
|
9889
|
+
def draw(self, context):
|
|
9890
|
+
"""
|
|
9891
|
+
|
|
9892
|
+
:param context:
|
|
9893
|
+
"""
|
|
9894
|
+
...
|
|
9895
|
+
|
|
9896
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
9897
|
+
"""Adds driver(s) to the given property
|
|
9898
|
+
|
|
9899
|
+
:return: The driver(s) added.
|
|
9900
|
+
:rtype: bpy.types.FCurve
|
|
9901
|
+
"""
|
|
9902
|
+
...
|
|
9903
|
+
|
|
9904
|
+
def driver_remove(self) -> bool:
|
|
9905
|
+
"""Remove driver(s) from the given property
|
|
9906
|
+
|
|
9907
|
+
:return: Success of driver removal.
|
|
9908
|
+
:rtype: bool
|
|
9909
|
+
"""
|
|
9910
|
+
...
|
|
9911
|
+
|
|
9912
|
+
def get(self):
|
|
9913
|
+
"""Returns the value of the custom property assigned to key or default
|
|
9914
|
+
when not found (matches Python's dictionary function of the same name).
|
|
9915
|
+
|
|
9916
|
+
"""
|
|
9917
|
+
...
|
|
9918
|
+
|
|
9919
|
+
def id_properties_clear(self):
|
|
9920
|
+
"""
|
|
9921
|
+
|
|
9922
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
9923
|
+
"""
|
|
9924
|
+
...
|
|
9925
|
+
|
|
9926
|
+
def id_properties_ensure(self):
|
|
9927
|
+
"""
|
|
9928
|
+
|
|
9929
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
9930
|
+
"""
|
|
9931
|
+
...
|
|
9932
|
+
|
|
9933
|
+
def id_properties_ui(self):
|
|
9934
|
+
"""
|
|
9935
|
+
|
|
9936
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
9937
|
+
"""
|
|
9938
|
+
...
|
|
9939
|
+
|
|
9940
|
+
def is_extended(self): ...
|
|
9941
|
+
def is_property_hidden(self) -> bool:
|
|
9942
|
+
"""Check if a property is hidden.
|
|
9943
|
+
|
|
9944
|
+
:return: True when the property is hidden.
|
|
9945
|
+
:rtype: bool
|
|
9946
|
+
"""
|
|
9947
|
+
...
|
|
9948
|
+
|
|
9949
|
+
def is_property_overridable_library(self) -> bool:
|
|
9950
|
+
"""Check if a property is overridable.
|
|
9951
|
+
|
|
9952
|
+
:return: True when the property is overridable.
|
|
9953
|
+
:rtype: bool
|
|
9954
|
+
"""
|
|
9955
|
+
...
|
|
9956
|
+
|
|
9957
|
+
def is_property_readonly(self) -> bool:
|
|
9958
|
+
"""Check if a property is readonly.
|
|
9959
|
+
|
|
9960
|
+
:return: True when the property is readonly (not writable).
|
|
9961
|
+
:rtype: bool
|
|
9962
|
+
"""
|
|
9963
|
+
...
|
|
9964
|
+
|
|
9965
|
+
def is_property_set(self) -> bool:
|
|
9966
|
+
"""Check if a property is set, use for testing operator properties.
|
|
9967
|
+
|
|
9968
|
+
:return: True when the property has been set.
|
|
9969
|
+
:rtype: bool
|
|
9970
|
+
"""
|
|
9971
|
+
...
|
|
9972
|
+
|
|
9973
|
+
def items(self):
|
|
9974
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
9975
|
+
dictionary function of the same name).
|
|
9976
|
+
|
|
9977
|
+
:return: custom property key, value pairs.
|
|
9978
|
+
"""
|
|
9979
|
+
...
|
|
9980
|
+
|
|
9981
|
+
def keyframe_delete(self) -> bool:
|
|
9982
|
+
"""Remove a keyframe from this properties fcurve.
|
|
9983
|
+
|
|
9984
|
+
:return: Success of keyframe deletion.
|
|
9985
|
+
:rtype: bool
|
|
9986
|
+
"""
|
|
9987
|
+
...
|
|
9988
|
+
|
|
9989
|
+
def keyframe_insert(self) -> bool:
|
|
9990
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
9991
|
+
|
|
9992
|
+
:return: Success of keyframe insertion.
|
|
9993
|
+
:rtype: bool
|
|
9994
|
+
"""
|
|
9995
|
+
...
|
|
9996
|
+
|
|
9997
|
+
def keys(self):
|
|
9998
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
9999
|
+
dictionary function of the same name).
|
|
10000
|
+
|
|
10001
|
+
:return: custom property keys.
|
|
10002
|
+
"""
|
|
10003
|
+
...
|
|
10004
|
+
|
|
10005
|
+
def path_from_id(self) -> str:
|
|
10006
|
+
"""Returns the data path from the ID to this object (string).
|
|
10007
|
+
|
|
10008
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
10009
|
+
to this struct and property (when given).
|
|
10010
|
+
:rtype: str
|
|
10011
|
+
"""
|
|
10012
|
+
...
|
|
10013
|
+
|
|
10014
|
+
def path_resolve(self):
|
|
10015
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
10016
|
+
...
|
|
10017
|
+
|
|
10018
|
+
def poll(self, context):
|
|
10019
|
+
"""
|
|
10020
|
+
|
|
10021
|
+
:param context:
|
|
10022
|
+
"""
|
|
10023
|
+
...
|
|
10024
|
+
|
|
10025
|
+
def pop(self):
|
|
10026
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
10027
|
+
when not found (matches Python's dictionary function of the same name).
|
|
10028
|
+
|
|
10029
|
+
"""
|
|
10030
|
+
...
|
|
10031
|
+
|
|
10032
|
+
def prepend(self, draw_func):
|
|
10033
|
+
"""Prepend a draw function to this menu, takes the same arguments as
|
|
10034
|
+
the menus draw function
|
|
10035
|
+
|
|
10036
|
+
:param draw_func:
|
|
10037
|
+
"""
|
|
10038
|
+
...
|
|
10039
|
+
|
|
10040
|
+
def property_overridable_library_set(self) -> bool:
|
|
10041
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
10042
|
+
|
|
10043
|
+
:return: True when the overridable status of the property was successfully set.
|
|
10044
|
+
:rtype: bool
|
|
10045
|
+
"""
|
|
10046
|
+
...
|
|
10047
|
+
|
|
10048
|
+
def property_unset(self):
|
|
10049
|
+
"""Unset a property, will use default value afterward."""
|
|
10050
|
+
...
|
|
10051
|
+
|
|
10052
|
+
def remove(self, draw_func):
|
|
10053
|
+
"""Remove a draw function that has been added to this menu
|
|
10054
|
+
|
|
10055
|
+
:param draw_func:
|
|
10056
|
+
"""
|
|
10057
|
+
...
|
|
10058
|
+
|
|
10059
|
+
def type_recast(self):
|
|
10060
|
+
"""Return a new instance, this is needed because types
|
|
10061
|
+
such as textures can be changed at runtime.
|
|
10062
|
+
|
|
10063
|
+
:return: a new instance of this object with the type initialized again.
|
|
10064
|
+
"""
|
|
10065
|
+
...
|
|
10066
|
+
|
|
10067
|
+
def values(self):
|
|
10068
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
10069
|
+
dictionary function of the same name).
|
|
10070
|
+
|
|
10071
|
+
:return: custom property values.
|
|
10072
|
+
"""
|
|
10073
|
+
...
|
|
10074
|
+
|
|
9842
10075
|
class VIEW3D_PT_tools_grease_pencil_brush_gap_closure(
|
|
9843
10076
|
View3DPanel, bpy_types._GenericUI
|
|
9844
10077
|
):
|
|
@@ -10769,7 +11002,7 @@ class VIEW3D_PT_tools_grease_pencil_brush_paint_falloff(
|
|
|
10769
11002
|
"""
|
|
10770
11003
|
...
|
|
10771
11004
|
|
|
10772
|
-
def prop_unified_color(self, parent, context, brush, prop_name, text=None):
|
|
11005
|
+
def prop_unified_color(self, parent, context, brush, prop_name, *, text=None):
|
|
10773
11006
|
"""
|
|
10774
11007
|
|
|
10775
11008
|
:param parent:
|
|
@@ -11545,7 +11778,7 @@ class VIEW3D_PT_tools_grease_pencil_brush_sculpt_falloff(
|
|
|
11545
11778
|
"""
|
|
11546
11779
|
...
|
|
11547
11780
|
|
|
11548
|
-
def prop_unified_color(self, parent, context, brush, prop_name, text=None):
|
|
11781
|
+
def prop_unified_color(self, parent, context, brush, prop_name, *, text=None):
|
|
11549
11782
|
"""
|
|
11550
11783
|
|
|
11551
11784
|
:param parent:
|
|
@@ -11604,12 +11837,13 @@ class VIEW3D_PT_tools_grease_pencil_brush_sculpt_falloff(
|
|
|
11604
11837
|
"""
|
|
11605
11838
|
...
|
|
11606
11839
|
|
|
11607
|
-
class
|
|
11608
|
-
|
|
11609
|
-
|
|
11610
|
-
|
|
11611
|
-
|
|
11612
|
-
|
|
11840
|
+
class VIEW3D_PT_tools_grease_pencil_brush_select(
|
|
11841
|
+
bl_ui.properties_paint_common.BrushPanel,
|
|
11842
|
+
GreasePencilPaintPanel,
|
|
11843
|
+
bpy_types._GenericUI,
|
|
11844
|
+
View3DPanel,
|
|
11845
|
+
bl_ui.properties_paint_common.BrushSelectPanel,
|
|
11846
|
+
bl_ui.properties_paint_common.UnifiedPaintPanel,
|
|
11613
11847
|
):
|
|
11614
11848
|
bl_category: typing.Any
|
|
11615
11849
|
bl_context: typing.Any
|
|
@@ -11681,6 +11915,14 @@ class VIEW3D_PT_tools_grease_pencil_brush_vertex_color(
|
|
|
11681
11915
|
"""
|
|
11682
11916
|
...
|
|
11683
11917
|
|
|
11918
|
+
def get_brush_mode(self, context):
|
|
11919
|
+
"""Get the correct mode for this context. For any context where this returns None,
|
|
11920
|
+
no brush options should be displayed.
|
|
11921
|
+
|
|
11922
|
+
:param context:
|
|
11923
|
+
"""
|
|
11924
|
+
...
|
|
11925
|
+
|
|
11684
11926
|
def id_properties_clear(self):
|
|
11685
11927
|
"""
|
|
11686
11928
|
|
|
@@ -11767,6 +12009,13 @@ class VIEW3D_PT_tools_grease_pencil_brush_vertex_color(
|
|
|
11767
12009
|
"""
|
|
11768
12010
|
...
|
|
11769
12011
|
|
|
12012
|
+
def paint_settings(self, context):
|
|
12013
|
+
"""
|
|
12014
|
+
|
|
12015
|
+
:param context:
|
|
12016
|
+
"""
|
|
12017
|
+
...
|
|
12018
|
+
|
|
11770
12019
|
def path_from_id(self) -> str:
|
|
11771
12020
|
"""Returns the data path from the ID to this object (string).
|
|
11772
12021
|
|
|
@@ -11802,8 +12051,61 @@ class VIEW3D_PT_tools_grease_pencil_brush_vertex_color(
|
|
|
11802
12051
|
"""
|
|
11803
12052
|
...
|
|
11804
12053
|
|
|
11805
|
-
def
|
|
11806
|
-
|
|
12054
|
+
def prop_unified(
|
|
12055
|
+
self,
|
|
12056
|
+
layout,
|
|
12057
|
+
context,
|
|
12058
|
+
brush,
|
|
12059
|
+
prop_name,
|
|
12060
|
+
unified_name=None,
|
|
12061
|
+
pressure_name=None,
|
|
12062
|
+
icon="NONE",
|
|
12063
|
+
text=None,
|
|
12064
|
+
slider=False,
|
|
12065
|
+
header=False,
|
|
12066
|
+
):
|
|
12067
|
+
"""Generalized way of adding brush options to the UI,
|
|
12068
|
+
along with their pen pressure setting and global toggle, if they exist.
|
|
12069
|
+
|
|
12070
|
+
:param layout:
|
|
12071
|
+
:param context:
|
|
12072
|
+
:param brush:
|
|
12073
|
+
:param prop_name:
|
|
12074
|
+
:param unified_name:
|
|
12075
|
+
:param pressure_name:
|
|
12076
|
+
:param icon:
|
|
12077
|
+
:param text:
|
|
12078
|
+
:param slider:
|
|
12079
|
+
:param header:
|
|
12080
|
+
"""
|
|
12081
|
+
...
|
|
12082
|
+
|
|
12083
|
+
def prop_unified_color(self, parent, context, brush, prop_name, *, text=None):
|
|
12084
|
+
"""
|
|
12085
|
+
|
|
12086
|
+
:param parent:
|
|
12087
|
+
:param context:
|
|
12088
|
+
:param brush:
|
|
12089
|
+
:param prop_name:
|
|
12090
|
+
:param text:
|
|
12091
|
+
"""
|
|
12092
|
+
...
|
|
12093
|
+
|
|
12094
|
+
def prop_unified_color_picker(
|
|
12095
|
+
self, parent, context, brush, prop_name, value_slider=True
|
|
12096
|
+
):
|
|
12097
|
+
"""
|
|
12098
|
+
|
|
12099
|
+
:param parent:
|
|
12100
|
+
:param context:
|
|
12101
|
+
:param brush:
|
|
12102
|
+
:param prop_name:
|
|
12103
|
+
:param value_slider:
|
|
12104
|
+
"""
|
|
12105
|
+
...
|
|
12106
|
+
|
|
12107
|
+
def property_overridable_library_set(self) -> bool:
|
|
12108
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
11807
12109
|
|
|
11808
12110
|
:return: True when the overridable status of the property was successfully set.
|
|
11809
12111
|
:rtype: bool
|
|
@@ -11837,17 +12139,16 @@ class VIEW3D_PT_tools_grease_pencil_brush_vertex_color(
|
|
|
11837
12139
|
"""
|
|
11838
12140
|
...
|
|
11839
12141
|
|
|
11840
|
-
class
|
|
11841
|
-
|
|
11842
|
-
|
|
11843
|
-
|
|
11844
|
-
|
|
11845
|
-
|
|
12142
|
+
class View3DPanel:
|
|
12143
|
+
bl_region_type: typing.Any
|
|
12144
|
+
bl_space_type: typing.Any
|
|
12145
|
+
|
|
12146
|
+
class VIEW3D_PT_tools_grease_pencil_brush_vertex_color(
|
|
12147
|
+
View3DPanel, bpy_types._GenericUI
|
|
11846
12148
|
):
|
|
11847
12149
|
bl_category: typing.Any
|
|
11848
12150
|
bl_context: typing.Any
|
|
11849
12151
|
bl_label: typing.Any
|
|
11850
|
-
bl_options: typing.Any
|
|
11851
12152
|
bl_region_type: typing.Any
|
|
11852
12153
|
bl_rna: typing.Any
|
|
11853
12154
|
bl_space_type: typing.Any
|
|
@@ -11915,14 +12216,6 @@ class VIEW3D_PT_tools_grease_pencil_brush_vertex_falloff(
|
|
|
11915
12216
|
"""
|
|
11916
12217
|
...
|
|
11917
12218
|
|
|
11918
|
-
def get_brush_mode(self, context):
|
|
11919
|
-
"""Get the correct mode for this context. For any context where this returns None,
|
|
11920
|
-
no brush options should be displayed.
|
|
11921
|
-
|
|
11922
|
-
:param context:
|
|
11923
|
-
"""
|
|
11924
|
-
...
|
|
11925
|
-
|
|
11926
12219
|
def id_properties_clear(self):
|
|
11927
12220
|
"""
|
|
11928
12221
|
|
|
@@ -12009,13 +12302,6 @@ class VIEW3D_PT_tools_grease_pencil_brush_vertex_falloff(
|
|
|
12009
12302
|
"""
|
|
12010
12303
|
...
|
|
12011
12304
|
|
|
12012
|
-
def paint_settings(self, context):
|
|
12013
|
-
"""
|
|
12014
|
-
|
|
12015
|
-
:param context:
|
|
12016
|
-
"""
|
|
12017
|
-
...
|
|
12018
|
-
|
|
12019
12305
|
def path_from_id(self) -> str:
|
|
12020
12306
|
"""Returns the data path from the ID to this object (string).
|
|
12021
12307
|
|
|
@@ -12051,59 +12337,6 @@ class VIEW3D_PT_tools_grease_pencil_brush_vertex_falloff(
|
|
|
12051
12337
|
"""
|
|
12052
12338
|
...
|
|
12053
12339
|
|
|
12054
|
-
def prop_unified(
|
|
12055
|
-
self,
|
|
12056
|
-
layout,
|
|
12057
|
-
context,
|
|
12058
|
-
brush,
|
|
12059
|
-
prop_name,
|
|
12060
|
-
unified_name=None,
|
|
12061
|
-
pressure_name=None,
|
|
12062
|
-
icon="NONE",
|
|
12063
|
-
text=None,
|
|
12064
|
-
slider=False,
|
|
12065
|
-
header=False,
|
|
12066
|
-
):
|
|
12067
|
-
"""Generalized way of adding brush options to the UI,
|
|
12068
|
-
along with their pen pressure setting and global toggle, if they exist.
|
|
12069
|
-
|
|
12070
|
-
:param layout:
|
|
12071
|
-
:param context:
|
|
12072
|
-
:param brush:
|
|
12073
|
-
:param prop_name:
|
|
12074
|
-
:param unified_name:
|
|
12075
|
-
:param pressure_name:
|
|
12076
|
-
:param icon:
|
|
12077
|
-
:param text:
|
|
12078
|
-
:param slider:
|
|
12079
|
-
:param header:
|
|
12080
|
-
"""
|
|
12081
|
-
...
|
|
12082
|
-
|
|
12083
|
-
def prop_unified_color(self, parent, context, brush, prop_name, text=None):
|
|
12084
|
-
"""
|
|
12085
|
-
|
|
12086
|
-
:param parent:
|
|
12087
|
-
:param context:
|
|
12088
|
-
:param brush:
|
|
12089
|
-
:param prop_name:
|
|
12090
|
-
:param text:
|
|
12091
|
-
"""
|
|
12092
|
-
...
|
|
12093
|
-
|
|
12094
|
-
def prop_unified_color_picker(
|
|
12095
|
-
self, parent, context, brush, prop_name, value_slider=True
|
|
12096
|
-
):
|
|
12097
|
-
"""
|
|
12098
|
-
|
|
12099
|
-
:param parent:
|
|
12100
|
-
:param context:
|
|
12101
|
-
:param brush:
|
|
12102
|
-
:param prop_name:
|
|
12103
|
-
:param value_slider:
|
|
12104
|
-
"""
|
|
12105
|
-
...
|
|
12106
|
-
|
|
12107
12340
|
def property_overridable_library_set(self) -> bool:
|
|
12108
12341
|
"""Define a property as overridable or not (only for custom properties!).
|
|
12109
12342
|
|
|
@@ -12139,13 +12372,17 @@ class VIEW3D_PT_tools_grease_pencil_brush_vertex_falloff(
|
|
|
12139
12372
|
"""
|
|
12140
12373
|
...
|
|
12141
12374
|
|
|
12142
|
-
class
|
|
12143
|
-
View3DPanel,
|
|
12375
|
+
class VIEW3D_PT_tools_grease_pencil_brush_vertex_falloff(
|
|
12376
|
+
View3DPanel,
|
|
12377
|
+
bpy_types._GenericUI,
|
|
12378
|
+
bl_ui.properties_grease_pencil_common.GreasePencilBrushFalloff,
|
|
12379
|
+
View3DPaintPanel,
|
|
12380
|
+
bl_ui.properties_paint_common.UnifiedPaintPanel,
|
|
12144
12381
|
):
|
|
12145
12382
|
bl_category: typing.Any
|
|
12146
12383
|
bl_context: typing.Any
|
|
12147
12384
|
bl_label: typing.Any
|
|
12148
|
-
|
|
12385
|
+
bl_options: typing.Any
|
|
12149
12386
|
bl_region_type: typing.Any
|
|
12150
12387
|
bl_rna: typing.Any
|
|
12151
12388
|
bl_space_type: typing.Any
|
|
@@ -12213,6 +12450,14 @@ class VIEW3D_PT_tools_grease_pencil_brush_vertex_palette(
|
|
|
12213
12450
|
"""
|
|
12214
12451
|
...
|
|
12215
12452
|
|
|
12453
|
+
def get_brush_mode(self, context):
|
|
12454
|
+
"""Get the correct mode for this context. For any context where this returns None,
|
|
12455
|
+
no brush options should be displayed.
|
|
12456
|
+
|
|
12457
|
+
:param context:
|
|
12458
|
+
"""
|
|
12459
|
+
...
|
|
12460
|
+
|
|
12216
12461
|
def id_properties_clear(self):
|
|
12217
12462
|
"""
|
|
12218
12463
|
|
|
@@ -12299,6 +12544,13 @@ class VIEW3D_PT_tools_grease_pencil_brush_vertex_palette(
|
|
|
12299
12544
|
"""
|
|
12300
12545
|
...
|
|
12301
12546
|
|
|
12547
|
+
def paint_settings(self, context):
|
|
12548
|
+
"""
|
|
12549
|
+
|
|
12550
|
+
:param context:
|
|
12551
|
+
"""
|
|
12552
|
+
...
|
|
12553
|
+
|
|
12302
12554
|
def path_from_id(self) -> str:
|
|
12303
12555
|
"""Returns the data path from the ID to this object (string).
|
|
12304
12556
|
|
|
@@ -12334,6 +12586,59 @@ class VIEW3D_PT_tools_grease_pencil_brush_vertex_palette(
|
|
|
12334
12586
|
"""
|
|
12335
12587
|
...
|
|
12336
12588
|
|
|
12589
|
+
def prop_unified(
|
|
12590
|
+
self,
|
|
12591
|
+
layout,
|
|
12592
|
+
context,
|
|
12593
|
+
brush,
|
|
12594
|
+
prop_name,
|
|
12595
|
+
unified_name=None,
|
|
12596
|
+
pressure_name=None,
|
|
12597
|
+
icon="NONE",
|
|
12598
|
+
text=None,
|
|
12599
|
+
slider=False,
|
|
12600
|
+
header=False,
|
|
12601
|
+
):
|
|
12602
|
+
"""Generalized way of adding brush options to the UI,
|
|
12603
|
+
along with their pen pressure setting and global toggle, if they exist.
|
|
12604
|
+
|
|
12605
|
+
:param layout:
|
|
12606
|
+
:param context:
|
|
12607
|
+
:param brush:
|
|
12608
|
+
:param prop_name:
|
|
12609
|
+
:param unified_name:
|
|
12610
|
+
:param pressure_name:
|
|
12611
|
+
:param icon:
|
|
12612
|
+
:param text:
|
|
12613
|
+
:param slider:
|
|
12614
|
+
:param header:
|
|
12615
|
+
"""
|
|
12616
|
+
...
|
|
12617
|
+
|
|
12618
|
+
def prop_unified_color(self, parent, context, brush, prop_name, *, text=None):
|
|
12619
|
+
"""
|
|
12620
|
+
|
|
12621
|
+
:param parent:
|
|
12622
|
+
:param context:
|
|
12623
|
+
:param brush:
|
|
12624
|
+
:param prop_name:
|
|
12625
|
+
:param text:
|
|
12626
|
+
"""
|
|
12627
|
+
...
|
|
12628
|
+
|
|
12629
|
+
def prop_unified_color_picker(
|
|
12630
|
+
self, parent, context, brush, prop_name, value_slider=True
|
|
12631
|
+
):
|
|
12632
|
+
"""
|
|
12633
|
+
|
|
12634
|
+
:param parent:
|
|
12635
|
+
:param context:
|
|
12636
|
+
:param brush:
|
|
12637
|
+
:param prop_name:
|
|
12638
|
+
:param value_slider:
|
|
12639
|
+
"""
|
|
12640
|
+
...
|
|
12641
|
+
|
|
12337
12642
|
def property_overridable_library_set(self) -> bool:
|
|
12338
12643
|
"""Define a property as overridable or not (only for custom properties!).
|
|
12339
12644
|
|
|
@@ -12369,17 +12674,12 @@ class VIEW3D_PT_tools_grease_pencil_brush_vertex_palette(
|
|
|
12369
12674
|
"""
|
|
12370
12675
|
...
|
|
12371
12676
|
|
|
12372
|
-
class
|
|
12373
|
-
View3DPanel,
|
|
12374
|
-
bpy_types._GenericUI,
|
|
12375
|
-
bl_ui.properties_grease_pencil_common.GreasePencilBrushFalloff,
|
|
12376
|
-
View3DPaintPanel,
|
|
12377
|
-
bl_ui.properties_paint_common.UnifiedPaintPanel,
|
|
12677
|
+
class VIEW3D_PT_tools_grease_pencil_brush_vertex_palette(
|
|
12678
|
+
View3DPanel, bpy_types._GenericUI
|
|
12378
12679
|
):
|
|
12379
12680
|
bl_category: typing.Any
|
|
12380
12681
|
bl_context: typing.Any
|
|
12381
12682
|
bl_label: typing.Any
|
|
12382
|
-
bl_options: typing.Any
|
|
12383
12683
|
bl_parent_id: typing.Any
|
|
12384
12684
|
bl_region_type: typing.Any
|
|
12385
12685
|
bl_rna: typing.Any
|
|
@@ -12448,14 +12748,6 @@ class VIEW3D_PT_tools_grease_pencil_brush_weight_falloff(
|
|
|
12448
12748
|
"""
|
|
12449
12749
|
...
|
|
12450
12750
|
|
|
12451
|
-
def get_brush_mode(self, context):
|
|
12452
|
-
"""Get the correct mode for this context. For any context where this returns None,
|
|
12453
|
-
no brush options should be displayed.
|
|
12454
|
-
|
|
12455
|
-
:param context:
|
|
12456
|
-
"""
|
|
12457
|
-
...
|
|
12458
|
-
|
|
12459
12751
|
def id_properties_clear(self):
|
|
12460
12752
|
"""
|
|
12461
12753
|
|
|
@@ -12542,13 +12834,6 @@ class VIEW3D_PT_tools_grease_pencil_brush_weight_falloff(
|
|
|
12542
12834
|
"""
|
|
12543
12835
|
...
|
|
12544
12836
|
|
|
12545
|
-
def paint_settings(self, context):
|
|
12546
|
-
"""
|
|
12547
|
-
|
|
12548
|
-
:param context:
|
|
12549
|
-
"""
|
|
12550
|
-
...
|
|
12551
|
-
|
|
12552
12837
|
def path_from_id(self) -> str:
|
|
12553
12838
|
"""Returns the data path from the ID to this object (string).
|
|
12554
12839
|
|
|
@@ -12584,61 +12869,8 @@ class VIEW3D_PT_tools_grease_pencil_brush_weight_falloff(
|
|
|
12584
12869
|
"""
|
|
12585
12870
|
...
|
|
12586
12871
|
|
|
12587
|
-
def
|
|
12588
|
-
|
|
12589
|
-
layout,
|
|
12590
|
-
context,
|
|
12591
|
-
brush,
|
|
12592
|
-
prop_name,
|
|
12593
|
-
unified_name=None,
|
|
12594
|
-
pressure_name=None,
|
|
12595
|
-
icon="NONE",
|
|
12596
|
-
text=None,
|
|
12597
|
-
slider=False,
|
|
12598
|
-
header=False,
|
|
12599
|
-
):
|
|
12600
|
-
"""Generalized way of adding brush options to the UI,
|
|
12601
|
-
along with their pen pressure setting and global toggle, if they exist.
|
|
12602
|
-
|
|
12603
|
-
:param layout:
|
|
12604
|
-
:param context:
|
|
12605
|
-
:param brush:
|
|
12606
|
-
:param prop_name:
|
|
12607
|
-
:param unified_name:
|
|
12608
|
-
:param pressure_name:
|
|
12609
|
-
:param icon:
|
|
12610
|
-
:param text:
|
|
12611
|
-
:param slider:
|
|
12612
|
-
:param header:
|
|
12613
|
-
"""
|
|
12614
|
-
...
|
|
12615
|
-
|
|
12616
|
-
def prop_unified_color(self, parent, context, brush, prop_name, text=None):
|
|
12617
|
-
"""
|
|
12618
|
-
|
|
12619
|
-
:param parent:
|
|
12620
|
-
:param context:
|
|
12621
|
-
:param brush:
|
|
12622
|
-
:param prop_name:
|
|
12623
|
-
:param text:
|
|
12624
|
-
"""
|
|
12625
|
-
...
|
|
12626
|
-
|
|
12627
|
-
def prop_unified_color_picker(
|
|
12628
|
-
self, parent, context, brush, prop_name, value_slider=True
|
|
12629
|
-
):
|
|
12630
|
-
"""
|
|
12631
|
-
|
|
12632
|
-
:param parent:
|
|
12633
|
-
:param context:
|
|
12634
|
-
:param brush:
|
|
12635
|
-
:param prop_name:
|
|
12636
|
-
:param value_slider:
|
|
12637
|
-
"""
|
|
12638
|
-
...
|
|
12639
|
-
|
|
12640
|
-
def property_overridable_library_set(self) -> bool:
|
|
12641
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
12872
|
+
def property_overridable_library_set(self) -> bool:
|
|
12873
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
12642
12874
|
|
|
12643
12875
|
:return: True when the overridable status of the property was successfully set.
|
|
12644
12876
|
:rtype: bool
|
|
@@ -12672,10 +12904,12 @@ class VIEW3D_PT_tools_grease_pencil_brush_weight_falloff(
|
|
|
12672
12904
|
"""
|
|
12673
12905
|
...
|
|
12674
12906
|
|
|
12675
|
-
class
|
|
12676
|
-
bl_ui.properties_grease_pencil_common.GreasePencilSculptAdvancedPanel,
|
|
12907
|
+
class VIEW3D_PT_tools_grease_pencil_brush_weight_falloff(
|
|
12677
12908
|
View3DPanel,
|
|
12678
12909
|
bpy_types._GenericUI,
|
|
12910
|
+
bl_ui.properties_grease_pencil_common.GreasePencilBrushFalloff,
|
|
12911
|
+
View3DPaintPanel,
|
|
12912
|
+
bl_ui.properties_paint_common.UnifiedPaintPanel,
|
|
12679
12913
|
):
|
|
12680
12914
|
bl_category: typing.Any
|
|
12681
12915
|
bl_context: typing.Any
|
|
@@ -12749,6 +12983,14 @@ class VIEW3D_PT_tools_grease_pencil_sculpt_brush_advanced(
|
|
|
12749
12983
|
"""
|
|
12750
12984
|
...
|
|
12751
12985
|
|
|
12986
|
+
def get_brush_mode(self, context):
|
|
12987
|
+
"""Get the correct mode for this context. For any context where this returns None,
|
|
12988
|
+
no brush options should be displayed.
|
|
12989
|
+
|
|
12990
|
+
:param context:
|
|
12991
|
+
"""
|
|
12992
|
+
...
|
|
12993
|
+
|
|
12752
12994
|
def id_properties_clear(self):
|
|
12753
12995
|
"""
|
|
12754
12996
|
|
|
@@ -12835,6 +13077,13 @@ class VIEW3D_PT_tools_grease_pencil_sculpt_brush_advanced(
|
|
|
12835
13077
|
"""
|
|
12836
13078
|
...
|
|
12837
13079
|
|
|
13080
|
+
def paint_settings(self, context):
|
|
13081
|
+
"""
|
|
13082
|
+
|
|
13083
|
+
:param context:
|
|
13084
|
+
"""
|
|
13085
|
+
...
|
|
13086
|
+
|
|
12838
13087
|
def path_from_id(self) -> str:
|
|
12839
13088
|
"""Returns the data path from the ID to this object (string).
|
|
12840
13089
|
|
|
@@ -12870,6 +13119,59 @@ class VIEW3D_PT_tools_grease_pencil_sculpt_brush_advanced(
|
|
|
12870
13119
|
"""
|
|
12871
13120
|
...
|
|
12872
13121
|
|
|
13122
|
+
def prop_unified(
|
|
13123
|
+
self,
|
|
13124
|
+
layout,
|
|
13125
|
+
context,
|
|
13126
|
+
brush,
|
|
13127
|
+
prop_name,
|
|
13128
|
+
unified_name=None,
|
|
13129
|
+
pressure_name=None,
|
|
13130
|
+
icon="NONE",
|
|
13131
|
+
text=None,
|
|
13132
|
+
slider=False,
|
|
13133
|
+
header=False,
|
|
13134
|
+
):
|
|
13135
|
+
"""Generalized way of adding brush options to the UI,
|
|
13136
|
+
along with their pen pressure setting and global toggle, if they exist.
|
|
13137
|
+
|
|
13138
|
+
:param layout:
|
|
13139
|
+
:param context:
|
|
13140
|
+
:param brush:
|
|
13141
|
+
:param prop_name:
|
|
13142
|
+
:param unified_name:
|
|
13143
|
+
:param pressure_name:
|
|
13144
|
+
:param icon:
|
|
13145
|
+
:param text:
|
|
13146
|
+
:param slider:
|
|
13147
|
+
:param header:
|
|
13148
|
+
"""
|
|
13149
|
+
...
|
|
13150
|
+
|
|
13151
|
+
def prop_unified_color(self, parent, context, brush, prop_name, *, text=None):
|
|
13152
|
+
"""
|
|
13153
|
+
|
|
13154
|
+
:param parent:
|
|
13155
|
+
:param context:
|
|
13156
|
+
:param brush:
|
|
13157
|
+
:param prop_name:
|
|
13158
|
+
:param text:
|
|
13159
|
+
"""
|
|
13160
|
+
...
|
|
13161
|
+
|
|
13162
|
+
def prop_unified_color_picker(
|
|
13163
|
+
self, parent, context, brush, prop_name, value_slider=True
|
|
13164
|
+
):
|
|
13165
|
+
"""
|
|
13166
|
+
|
|
13167
|
+
:param parent:
|
|
13168
|
+
:param context:
|
|
13169
|
+
:param brush:
|
|
13170
|
+
:param prop_name:
|
|
13171
|
+
:param value_slider:
|
|
13172
|
+
"""
|
|
13173
|
+
...
|
|
13174
|
+
|
|
12873
13175
|
def property_overridable_library_set(self) -> bool:
|
|
12874
13176
|
"""Define a property as overridable or not (only for custom properties!).
|
|
12875
13177
|
|
|
@@ -12905,7 +13207,7 @@ class VIEW3D_PT_tools_grease_pencil_sculpt_brush_advanced(
|
|
|
12905
13207
|
"""
|
|
12906
13208
|
...
|
|
12907
13209
|
|
|
12908
|
-
class
|
|
13210
|
+
class VIEW3D_PT_tools_grease_pencil_sculpt_brush_advanced(
|
|
12909
13211
|
bl_ui.properties_grease_pencil_common.GreasePencilSculptAdvancedPanel,
|
|
12910
13212
|
View3DPanel,
|
|
12911
13213
|
bpy_types._GenericUI,
|
|
@@ -12913,6 +13215,8 @@ class VIEW3D_PT_tools_grease_pencil_sculpt_brush_popover(
|
|
|
12913
13215
|
bl_category: typing.Any
|
|
12914
13216
|
bl_context: typing.Any
|
|
12915
13217
|
bl_label: typing.Any
|
|
13218
|
+
bl_options: typing.Any
|
|
13219
|
+
bl_parent_id: typing.Any
|
|
12916
13220
|
bl_region_type: typing.Any
|
|
12917
13221
|
bl_rna: typing.Any
|
|
12918
13222
|
bl_space_type: typing.Any
|
|
@@ -13136,18 +13440,17 @@ class VIEW3D_PT_tools_grease_pencil_sculpt_brush_popover(
|
|
|
13136
13440
|
"""
|
|
13137
13441
|
...
|
|
13138
13442
|
|
|
13139
|
-
class
|
|
13140
|
-
|
|
13443
|
+
class VIEW3D_PT_tools_grease_pencil_sculpt_brush_popover(
|
|
13444
|
+
bl_ui.properties_grease_pencil_common.GreasePencilSculptAdvancedPanel,
|
|
13445
|
+
View3DPanel,
|
|
13446
|
+
bpy_types._GenericUI,
|
|
13141
13447
|
):
|
|
13142
13448
|
bl_category: typing.Any
|
|
13143
13449
|
bl_context: typing.Any
|
|
13144
13450
|
bl_label: typing.Any
|
|
13145
|
-
bl_options: typing.Any
|
|
13146
|
-
bl_parent_id: typing.Any
|
|
13147
13451
|
bl_region_type: typing.Any
|
|
13148
13452
|
bl_rna: typing.Any
|
|
13149
13453
|
bl_space_type: typing.Any
|
|
13150
|
-
bl_ui_units_x: typing.Any
|
|
13151
13454
|
id_data: typing.Any
|
|
13152
13455
|
|
|
13153
13456
|
def append(self, draw_func):
|
|
@@ -13368,13 +13671,17 @@ class VIEW3D_PT_tools_grease_pencil_v3_brush_advanced(
|
|
|
13368
13671
|
"""
|
|
13369
13672
|
...
|
|
13370
13673
|
|
|
13371
|
-
class
|
|
13372
|
-
|
|
13674
|
+
class VIEW3D_PT_tools_grease_pencil_sculpt_select(
|
|
13675
|
+
bl_ui.properties_paint_common.BrushPanel,
|
|
13676
|
+
GreasePencilSculptPanel,
|
|
13677
|
+
bpy_types._GenericUI,
|
|
13678
|
+
View3DPanel,
|
|
13679
|
+
bl_ui.properties_paint_common.BrushSelectPanel,
|
|
13680
|
+
bl_ui.properties_paint_common.UnifiedPaintPanel,
|
|
13373
13681
|
):
|
|
13374
13682
|
bl_category: typing.Any
|
|
13375
13683
|
bl_context: typing.Any
|
|
13376
13684
|
bl_label: typing.Any
|
|
13377
|
-
bl_parent_id: typing.Any
|
|
13378
13685
|
bl_region_type: typing.Any
|
|
13379
13686
|
bl_rna: typing.Any
|
|
13380
13687
|
bl_space_type: typing.Any
|
|
@@ -13442,6 +13749,14 @@ class VIEW3D_PT_tools_grease_pencil_v3_brush_mix_palette(
|
|
|
13442
13749
|
"""
|
|
13443
13750
|
...
|
|
13444
13751
|
|
|
13752
|
+
def get_brush_mode(self, context):
|
|
13753
|
+
"""Get the correct mode for this context. For any context where this returns None,
|
|
13754
|
+
no brush options should be displayed.
|
|
13755
|
+
|
|
13756
|
+
:param context:
|
|
13757
|
+
"""
|
|
13758
|
+
...
|
|
13759
|
+
|
|
13445
13760
|
def id_properties_clear(self):
|
|
13446
13761
|
"""
|
|
13447
13762
|
|
|
@@ -13528,6 +13843,13 @@ class VIEW3D_PT_tools_grease_pencil_v3_brush_mix_palette(
|
|
|
13528
13843
|
"""
|
|
13529
13844
|
...
|
|
13530
13845
|
|
|
13846
|
+
def paint_settings(self, context):
|
|
13847
|
+
"""
|
|
13848
|
+
|
|
13849
|
+
:param context:
|
|
13850
|
+
"""
|
|
13851
|
+
...
|
|
13852
|
+
|
|
13531
13853
|
def path_from_id(self) -> str:
|
|
13532
13854
|
"""Returns the data path from the ID to this object (string).
|
|
13533
13855
|
|
|
@@ -13563,6 +13885,59 @@ class VIEW3D_PT_tools_grease_pencil_v3_brush_mix_palette(
|
|
|
13563
13885
|
"""
|
|
13564
13886
|
...
|
|
13565
13887
|
|
|
13888
|
+
def prop_unified(
|
|
13889
|
+
self,
|
|
13890
|
+
layout,
|
|
13891
|
+
context,
|
|
13892
|
+
brush,
|
|
13893
|
+
prop_name,
|
|
13894
|
+
unified_name=None,
|
|
13895
|
+
pressure_name=None,
|
|
13896
|
+
icon="NONE",
|
|
13897
|
+
text=None,
|
|
13898
|
+
slider=False,
|
|
13899
|
+
header=False,
|
|
13900
|
+
):
|
|
13901
|
+
"""Generalized way of adding brush options to the UI,
|
|
13902
|
+
along with their pen pressure setting and global toggle, if they exist.
|
|
13903
|
+
|
|
13904
|
+
:param layout:
|
|
13905
|
+
:param context:
|
|
13906
|
+
:param brush:
|
|
13907
|
+
:param prop_name:
|
|
13908
|
+
:param unified_name:
|
|
13909
|
+
:param pressure_name:
|
|
13910
|
+
:param icon:
|
|
13911
|
+
:param text:
|
|
13912
|
+
:param slider:
|
|
13913
|
+
:param header:
|
|
13914
|
+
"""
|
|
13915
|
+
...
|
|
13916
|
+
|
|
13917
|
+
def prop_unified_color(self, parent, context, brush, prop_name, *, text=None):
|
|
13918
|
+
"""
|
|
13919
|
+
|
|
13920
|
+
:param parent:
|
|
13921
|
+
:param context:
|
|
13922
|
+
:param brush:
|
|
13923
|
+
:param prop_name:
|
|
13924
|
+
:param text:
|
|
13925
|
+
"""
|
|
13926
|
+
...
|
|
13927
|
+
|
|
13928
|
+
def prop_unified_color_picker(
|
|
13929
|
+
self, parent, context, brush, prop_name, value_slider=True
|
|
13930
|
+
):
|
|
13931
|
+
"""
|
|
13932
|
+
|
|
13933
|
+
:param parent:
|
|
13934
|
+
:param context:
|
|
13935
|
+
:param brush:
|
|
13936
|
+
:param prop_name:
|
|
13937
|
+
:param value_slider:
|
|
13938
|
+
"""
|
|
13939
|
+
...
|
|
13940
|
+
|
|
13566
13941
|
def property_overridable_library_set(self) -> bool:
|
|
13567
13942
|
"""Define a property as overridable or not (only for custom properties!).
|
|
13568
13943
|
|
|
@@ -13598,15 +13973,18 @@ class VIEW3D_PT_tools_grease_pencil_v3_brush_mix_palette(
|
|
|
13598
13973
|
"""
|
|
13599
13974
|
...
|
|
13600
13975
|
|
|
13601
|
-
class
|
|
13976
|
+
class VIEW3D_PT_tools_grease_pencil_v3_brush_advanced(
|
|
13602
13977
|
View3DPanel, bpy_types._GenericUI
|
|
13603
13978
|
):
|
|
13604
13979
|
bl_category: typing.Any
|
|
13605
13980
|
bl_context: typing.Any
|
|
13606
13981
|
bl_label: typing.Any
|
|
13982
|
+
bl_options: typing.Any
|
|
13983
|
+
bl_parent_id: typing.Any
|
|
13607
13984
|
bl_region_type: typing.Any
|
|
13608
13985
|
bl_rna: typing.Any
|
|
13609
13986
|
bl_space_type: typing.Any
|
|
13987
|
+
bl_ui_units_x: typing.Any
|
|
13610
13988
|
id_data: typing.Any
|
|
13611
13989
|
|
|
13612
13990
|
def append(self, draw_func):
|
|
@@ -13827,14 +14205,11 @@ class VIEW3D_PT_tools_grease_pencil_v3_brush_mixcolor(
|
|
|
13827
14205
|
"""
|
|
13828
14206
|
...
|
|
13829
14207
|
|
|
13830
|
-
class
|
|
13831
|
-
View3DPanel, bpy_types._GenericUI
|
|
13832
|
-
):
|
|
14208
|
+
class VIEW3D_PT_tools_grease_pencil_v3_brush_eraser(View3DPanel, bpy_types._GenericUI):
|
|
13833
14209
|
bl_category: typing.Any
|
|
13834
14210
|
bl_context: typing.Any
|
|
13835
14211
|
bl_label: typing.Any
|
|
13836
14212
|
bl_options: typing.Any
|
|
13837
|
-
bl_parent_id: typing.Any
|
|
13838
14213
|
bl_region_type: typing.Any
|
|
13839
14214
|
bl_rna: typing.Any
|
|
13840
14215
|
bl_space_type: typing.Any
|
|
@@ -13879,13 +14254,6 @@ class VIEW3D_PT_tools_grease_pencil_v3_brush_post_processing(
|
|
|
13879
14254
|
"""
|
|
13880
14255
|
...
|
|
13881
14256
|
|
|
13882
|
-
def draw_header(self, context):
|
|
13883
|
-
"""
|
|
13884
|
-
|
|
13885
|
-
:param context:
|
|
13886
|
-
"""
|
|
13887
|
-
...
|
|
13888
|
-
|
|
13889
14257
|
def driver_add(self) -> bpy.types.FCurve:
|
|
13890
14258
|
"""Adds driver(s) to the given property
|
|
13891
14259
|
|
|
@@ -14065,11 +14433,12 @@ class VIEW3D_PT_tools_grease_pencil_v3_brush_post_processing(
|
|
|
14065
14433
|
"""
|
|
14066
14434
|
...
|
|
14067
14435
|
|
|
14068
|
-
class
|
|
14436
|
+
class VIEW3D_PT_tools_grease_pencil_v3_brush_mix_palette(
|
|
14437
|
+
View3DPanel, bpy_types._GenericUI
|
|
14438
|
+
):
|
|
14069
14439
|
bl_category: typing.Any
|
|
14070
14440
|
bl_context: typing.Any
|
|
14071
14441
|
bl_label: typing.Any
|
|
14072
|
-
bl_options: typing.Any
|
|
14073
14442
|
bl_parent_id: typing.Any
|
|
14074
14443
|
bl_region_type: typing.Any
|
|
14075
14444
|
bl_rna: typing.Any
|
|
@@ -14115,13 +14484,6 @@ class VIEW3D_PT_tools_grease_pencil_v3_brush_random(View3DPanel, bpy_types._Gene
|
|
|
14115
14484
|
"""
|
|
14116
14485
|
...
|
|
14117
14486
|
|
|
14118
|
-
def draw_header(self, context):
|
|
14119
|
-
"""
|
|
14120
|
-
|
|
14121
|
-
:param context:
|
|
14122
|
-
"""
|
|
14123
|
-
...
|
|
14124
|
-
|
|
14125
14487
|
def driver_add(self) -> bpy.types.FCurve:
|
|
14126
14488
|
"""Adds driver(s) to the given property
|
|
14127
14489
|
|
|
@@ -14301,16 +14663,12 @@ class VIEW3D_PT_tools_grease_pencil_v3_brush_random(View3DPanel, bpy_types._Gene
|
|
|
14301
14663
|
"""
|
|
14302
14664
|
...
|
|
14303
14665
|
|
|
14304
|
-
class
|
|
14305
|
-
View3DPanel,
|
|
14306
|
-
View3DPaintPanel,
|
|
14307
|
-
bl_ui.properties_paint_common.UnifiedPaintPanel,
|
|
14308
|
-
bpy_types._GenericUI,
|
|
14666
|
+
class VIEW3D_PT_tools_grease_pencil_v3_brush_mixcolor(
|
|
14667
|
+
View3DPanel, bpy_types._GenericUI
|
|
14309
14668
|
):
|
|
14310
14669
|
bl_category: typing.Any
|
|
14311
14670
|
bl_context: typing.Any
|
|
14312
14671
|
bl_label: typing.Any
|
|
14313
|
-
bl_options: typing.Any
|
|
14314
14672
|
bl_region_type: typing.Any
|
|
14315
14673
|
bl_rna: typing.Any
|
|
14316
14674
|
bl_space_type: typing.Any
|
|
@@ -14378,14 +14736,6 @@ class VIEW3D_PT_tools_imagepaint_options(
|
|
|
14378
14736
|
"""
|
|
14379
14737
|
...
|
|
14380
14738
|
|
|
14381
|
-
def get_brush_mode(self, context):
|
|
14382
|
-
"""Get the correct mode for this context. For any context where this returns None,
|
|
14383
|
-
no brush options should be displayed.
|
|
14384
|
-
|
|
14385
|
-
:param context:
|
|
14386
|
-
"""
|
|
14387
|
-
...
|
|
14388
|
-
|
|
14389
14739
|
def id_properties_clear(self):
|
|
14390
14740
|
"""
|
|
14391
14741
|
|
|
@@ -14472,13 +14822,6 @@ class VIEW3D_PT_tools_imagepaint_options(
|
|
|
14472
14822
|
"""
|
|
14473
14823
|
...
|
|
14474
14824
|
|
|
14475
|
-
def paint_settings(self, context):
|
|
14476
|
-
"""
|
|
14477
|
-
|
|
14478
|
-
:param context:
|
|
14479
|
-
"""
|
|
14480
|
-
...
|
|
14481
|
-
|
|
14482
14825
|
def path_from_id(self) -> str:
|
|
14483
14826
|
"""Returns the data path from the ID to this object (string).
|
|
14484
14827
|
|
|
@@ -14514,59 +14857,6 @@ class VIEW3D_PT_tools_imagepaint_options(
|
|
|
14514
14857
|
"""
|
|
14515
14858
|
...
|
|
14516
14859
|
|
|
14517
|
-
def prop_unified(
|
|
14518
|
-
self,
|
|
14519
|
-
layout,
|
|
14520
|
-
context,
|
|
14521
|
-
brush,
|
|
14522
|
-
prop_name,
|
|
14523
|
-
unified_name=None,
|
|
14524
|
-
pressure_name=None,
|
|
14525
|
-
icon="NONE",
|
|
14526
|
-
text=None,
|
|
14527
|
-
slider=False,
|
|
14528
|
-
header=False,
|
|
14529
|
-
):
|
|
14530
|
-
"""Generalized way of adding brush options to the UI,
|
|
14531
|
-
along with their pen pressure setting and global toggle, if they exist.
|
|
14532
|
-
|
|
14533
|
-
:param layout:
|
|
14534
|
-
:param context:
|
|
14535
|
-
:param brush:
|
|
14536
|
-
:param prop_name:
|
|
14537
|
-
:param unified_name:
|
|
14538
|
-
:param pressure_name:
|
|
14539
|
-
:param icon:
|
|
14540
|
-
:param text:
|
|
14541
|
-
:param slider:
|
|
14542
|
-
:param header:
|
|
14543
|
-
"""
|
|
14544
|
-
...
|
|
14545
|
-
|
|
14546
|
-
def prop_unified_color(self, parent, context, brush, prop_name, text=None):
|
|
14547
|
-
"""
|
|
14548
|
-
|
|
14549
|
-
:param parent:
|
|
14550
|
-
:param context:
|
|
14551
|
-
:param brush:
|
|
14552
|
-
:param prop_name:
|
|
14553
|
-
:param text:
|
|
14554
|
-
"""
|
|
14555
|
-
...
|
|
14556
|
-
|
|
14557
|
-
def prop_unified_color_picker(
|
|
14558
|
-
self, parent, context, brush, prop_name, value_slider=True
|
|
14559
|
-
):
|
|
14560
|
-
"""
|
|
14561
|
-
|
|
14562
|
-
:param parent:
|
|
14563
|
-
:param context:
|
|
14564
|
-
:param brush:
|
|
14565
|
-
:param prop_name:
|
|
14566
|
-
:param value_slider:
|
|
14567
|
-
"""
|
|
14568
|
-
...
|
|
14569
|
-
|
|
14570
14860
|
def property_overridable_library_set(self) -> bool:
|
|
14571
14861
|
"""Define a property as overridable or not (only for custom properties!).
|
|
14572
14862
|
|
|
@@ -14602,7 +14892,11 @@ class VIEW3D_PT_tools_imagepaint_options(
|
|
|
14602
14892
|
"""
|
|
14603
14893
|
...
|
|
14604
14894
|
|
|
14605
|
-
class
|
|
14895
|
+
class VIEW3D_PT_tools_grease_pencil_v3_brush_post_processing(
|
|
14896
|
+
View3DPanel, bpy_types._GenericUI
|
|
14897
|
+
):
|
|
14898
|
+
bl_category: typing.Any
|
|
14899
|
+
bl_context: typing.Any
|
|
14606
14900
|
bl_label: typing.Any
|
|
14607
14901
|
bl_options: typing.Any
|
|
14608
14902
|
bl_parent_id: typing.Any
|
|
@@ -14779,6 +15073,13 @@ class VIEW3D_PT_tools_imagepaint_options_cavity(bpy_types._GenericUI):
|
|
|
14779
15073
|
"""Returns the property from the path, raise an exception when not found."""
|
|
14780
15074
|
...
|
|
14781
15075
|
|
|
15076
|
+
def poll(self, context):
|
|
15077
|
+
"""
|
|
15078
|
+
|
|
15079
|
+
:param context:
|
|
15080
|
+
"""
|
|
15081
|
+
...
|
|
15082
|
+
|
|
14782
15083
|
def pop(self):
|
|
14783
15084
|
"""Remove and return the value of the custom property assigned to key or default
|
|
14784
15085
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -14829,12 +15130,7 @@ class VIEW3D_PT_tools_imagepaint_options_cavity(bpy_types._GenericUI):
|
|
|
14829
15130
|
"""
|
|
14830
15131
|
...
|
|
14831
15132
|
|
|
14832
|
-
class
|
|
14833
|
-
View3DPanel,
|
|
14834
|
-
bpy_types._GenericUI,
|
|
14835
|
-
View3DPaintPanel,
|
|
14836
|
-
bl_ui.properties_paint_common.UnifiedPaintPanel,
|
|
14837
|
-
):
|
|
15133
|
+
class VIEW3D_PT_tools_grease_pencil_v3_brush_random(View3DPanel, bpy_types._GenericUI):
|
|
14838
15134
|
bl_category: typing.Any
|
|
14839
15135
|
bl_context: typing.Any
|
|
14840
15136
|
bl_label: typing.Any
|
|
@@ -14884,6 +15180,13 @@ class VIEW3D_PT_tools_imagepaint_options_external(
|
|
|
14884
15180
|
"""
|
|
14885
15181
|
...
|
|
14886
15182
|
|
|
15183
|
+
def draw_header(self, context):
|
|
15184
|
+
"""
|
|
15185
|
+
|
|
15186
|
+
:param context:
|
|
15187
|
+
"""
|
|
15188
|
+
...
|
|
15189
|
+
|
|
14887
15190
|
def driver_add(self) -> bpy.types.FCurve:
|
|
14888
15191
|
"""Adds driver(s) to the given property
|
|
14889
15192
|
|
|
@@ -14907,14 +15210,6 @@ class VIEW3D_PT_tools_imagepaint_options_external(
|
|
|
14907
15210
|
"""
|
|
14908
15211
|
...
|
|
14909
15212
|
|
|
14910
|
-
def get_brush_mode(self, context):
|
|
14911
|
-
"""Get the correct mode for this context. For any context where this returns None,
|
|
14912
|
-
no brush options should be displayed.
|
|
14913
|
-
|
|
14914
|
-
:param context:
|
|
14915
|
-
"""
|
|
14916
|
-
...
|
|
14917
|
-
|
|
14918
15213
|
def id_properties_clear(self):
|
|
14919
15214
|
"""
|
|
14920
15215
|
|
|
@@ -15001,13 +15296,6 @@ class VIEW3D_PT_tools_imagepaint_options_external(
|
|
|
15001
15296
|
"""
|
|
15002
15297
|
...
|
|
15003
15298
|
|
|
15004
|
-
def paint_settings(self, context):
|
|
15005
|
-
"""
|
|
15006
|
-
|
|
15007
|
-
:param context:
|
|
15008
|
-
"""
|
|
15009
|
-
...
|
|
15010
|
-
|
|
15011
15299
|
def path_from_id(self) -> str:
|
|
15012
15300
|
"""Returns the data path from the ID to this object (string).
|
|
15013
15301
|
|
|
@@ -15021,6 +15309,13 @@ class VIEW3D_PT_tools_imagepaint_options_external(
|
|
|
15021
15309
|
"""Returns the property from the path, raise an exception when not found."""
|
|
15022
15310
|
...
|
|
15023
15311
|
|
|
15312
|
+
def poll(self, context):
|
|
15313
|
+
"""
|
|
15314
|
+
|
|
15315
|
+
:param context:
|
|
15316
|
+
"""
|
|
15317
|
+
...
|
|
15318
|
+
|
|
15024
15319
|
def pop(self):
|
|
15025
15320
|
"""Remove and return the value of the custom property assigned to key or default
|
|
15026
15321
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -15036,59 +15331,6 @@ class VIEW3D_PT_tools_imagepaint_options_external(
|
|
|
15036
15331
|
"""
|
|
15037
15332
|
...
|
|
15038
15333
|
|
|
15039
|
-
def prop_unified(
|
|
15040
|
-
self,
|
|
15041
|
-
layout,
|
|
15042
|
-
context,
|
|
15043
|
-
brush,
|
|
15044
|
-
prop_name,
|
|
15045
|
-
unified_name=None,
|
|
15046
|
-
pressure_name=None,
|
|
15047
|
-
icon="NONE",
|
|
15048
|
-
text=None,
|
|
15049
|
-
slider=False,
|
|
15050
|
-
header=False,
|
|
15051
|
-
):
|
|
15052
|
-
"""Generalized way of adding brush options to the UI,
|
|
15053
|
-
along with their pen pressure setting and global toggle, if they exist.
|
|
15054
|
-
|
|
15055
|
-
:param layout:
|
|
15056
|
-
:param context:
|
|
15057
|
-
:param brush:
|
|
15058
|
-
:param prop_name:
|
|
15059
|
-
:param unified_name:
|
|
15060
|
-
:param pressure_name:
|
|
15061
|
-
:param icon:
|
|
15062
|
-
:param text:
|
|
15063
|
-
:param slider:
|
|
15064
|
-
:param header:
|
|
15065
|
-
"""
|
|
15066
|
-
...
|
|
15067
|
-
|
|
15068
|
-
def prop_unified_color(self, parent, context, brush, prop_name, text=None):
|
|
15069
|
-
"""
|
|
15070
|
-
|
|
15071
|
-
:param parent:
|
|
15072
|
-
:param context:
|
|
15073
|
-
:param brush:
|
|
15074
|
-
:param prop_name:
|
|
15075
|
-
:param text:
|
|
15076
|
-
"""
|
|
15077
|
-
...
|
|
15078
|
-
|
|
15079
|
-
def prop_unified_color_picker(
|
|
15080
|
-
self, parent, context, brush, prop_name, value_slider=True
|
|
15081
|
-
):
|
|
15082
|
-
"""
|
|
15083
|
-
|
|
15084
|
-
:param parent:
|
|
15085
|
-
:param context:
|
|
15086
|
-
:param brush:
|
|
15087
|
-
:param prop_name:
|
|
15088
|
-
:param value_slider:
|
|
15089
|
-
"""
|
|
15090
|
-
...
|
|
15091
|
-
|
|
15092
15334
|
def property_overridable_library_set(self) -> bool:
|
|
15093
15335
|
"""Define a property as overridable or not (only for custom properties!).
|
|
15094
15336
|
|
|
@@ -15124,16 +15366,17 @@ class VIEW3D_PT_tools_imagepaint_options_external(
|
|
|
15124
15366
|
"""
|
|
15125
15367
|
...
|
|
15126
15368
|
|
|
15127
|
-
class
|
|
15128
|
-
|
|
15369
|
+
class VIEW3D_PT_tools_grease_pencil_v3_brush_select(
|
|
15370
|
+
bl_ui.properties_paint_common.BrushPanel,
|
|
15371
|
+
GreasePencilV3PaintPanel,
|
|
15129
15372
|
bpy_types._GenericUI,
|
|
15130
|
-
|
|
15373
|
+
View3DPanel,
|
|
15374
|
+
bl_ui.properties_paint_common.BrushSelectPanel,
|
|
15131
15375
|
bl_ui.properties_paint_common.UnifiedPaintPanel,
|
|
15132
15376
|
):
|
|
15133
15377
|
bl_category: typing.Any
|
|
15134
15378
|
bl_context: typing.Any
|
|
15135
15379
|
bl_label: typing.Any
|
|
15136
|
-
bl_options: typing.Any
|
|
15137
15380
|
bl_region_type: typing.Any
|
|
15138
15381
|
bl_rna: typing.Any
|
|
15139
15382
|
bl_space_type: typing.Any
|
|
@@ -15366,7 +15609,7 @@ class VIEW3D_PT_tools_imagepaint_symmetry(
|
|
|
15366
15609
|
"""
|
|
15367
15610
|
...
|
|
15368
15611
|
|
|
15369
|
-
def prop_unified_color(self, parent, context, brush, prop_name, text=None):
|
|
15612
|
+
def prop_unified_color(self, parent, context, brush, prop_name, *, text=None):
|
|
15370
15613
|
"""
|
|
15371
15614
|
|
|
15372
15615
|
:param parent:
|
|
@@ -15425,19 +15668,17 @@ class VIEW3D_PT_tools_imagepaint_symmetry(
|
|
|
15425
15668
|
"""
|
|
15426
15669
|
...
|
|
15427
15670
|
|
|
15428
|
-
class
|
|
15671
|
+
class VIEW3D_PT_tools_grease_pencil_vertex_paint_select(
|
|
15429
15672
|
bl_ui.properties_paint_common.BrushPanel,
|
|
15673
|
+
GreasePencilVertexPanel,
|
|
15430
15674
|
View3DPanel,
|
|
15431
15675
|
bpy_types._GenericUI,
|
|
15432
|
-
|
|
15433
|
-
bl_ui.properties_paint_common.TextureMaskPanel,
|
|
15676
|
+
bl_ui.properties_paint_common.BrushSelectPanel,
|
|
15434
15677
|
bl_ui.properties_paint_common.UnifiedPaintPanel,
|
|
15435
15678
|
):
|
|
15436
15679
|
bl_category: typing.Any
|
|
15437
15680
|
bl_context: typing.Any
|
|
15438
15681
|
bl_label: typing.Any
|
|
15439
|
-
bl_options: typing.Any
|
|
15440
|
-
bl_parent_id: typing.Any
|
|
15441
15682
|
bl_region_type: typing.Any
|
|
15442
15683
|
bl_rna: typing.Any
|
|
15443
15684
|
bl_space_type: typing.Any
|
|
@@ -15670,7 +15911,7 @@ class VIEW3D_PT_tools_mask_texture(
|
|
|
15670
15911
|
"""
|
|
15671
15912
|
...
|
|
15672
15913
|
|
|
15673
|
-
def prop_unified_color(self, parent, context, brush, prop_name, text=None):
|
|
15914
|
+
def prop_unified_color(self, parent, context, brush, prop_name, *, text=None):
|
|
15674
15915
|
"""
|
|
15675
15916
|
|
|
15676
15917
|
:param parent:
|
|
@@ -15729,15 +15970,20 @@ class VIEW3D_PT_tools_mask_texture(
|
|
|
15729
15970
|
"""
|
|
15730
15971
|
...
|
|
15731
15972
|
|
|
15732
|
-
class
|
|
15973
|
+
class VIEW3D_PT_tools_grease_pencil_weight_paint_select(
|
|
15974
|
+
bl_ui.properties_paint_common.BrushPanel,
|
|
15975
|
+
GreasePencilWeightPanel,
|
|
15976
|
+
View3DPanel,
|
|
15977
|
+
bpy_types._GenericUI,
|
|
15978
|
+
bl_ui.properties_paint_common.BrushSelectPanel,
|
|
15979
|
+
bl_ui.properties_paint_common.UnifiedPaintPanel,
|
|
15980
|
+
):
|
|
15733
15981
|
bl_category: typing.Any
|
|
15734
15982
|
bl_context: typing.Any
|
|
15735
15983
|
bl_label: typing.Any
|
|
15736
|
-
bl_options: typing.Any
|
|
15737
15984
|
bl_region_type: typing.Any
|
|
15738
15985
|
bl_rna: typing.Any
|
|
15739
15986
|
bl_space_type: typing.Any
|
|
15740
|
-
bl_ui_units_x: typing.Any
|
|
15741
15987
|
id_data: typing.Any
|
|
15742
15988
|
|
|
15743
15989
|
def append(self, draw_func):
|
|
@@ -15772,10 +16018,10 @@ class VIEW3D_PT_tools_meshedit_options(View3DPanel, bpy_types._GenericUI):
|
|
|
15772
16018
|
"""
|
|
15773
16019
|
...
|
|
15774
16020
|
|
|
15775
|
-
def draw(self,
|
|
16021
|
+
def draw(self, context):
|
|
15776
16022
|
"""
|
|
15777
16023
|
|
|
15778
|
-
:param
|
|
16024
|
+
:param context:
|
|
15779
16025
|
"""
|
|
15780
16026
|
...
|
|
15781
16027
|
|
|
@@ -15802,6 +16048,14 @@ class VIEW3D_PT_tools_meshedit_options(View3DPanel, bpy_types._GenericUI):
|
|
|
15802
16048
|
"""
|
|
15803
16049
|
...
|
|
15804
16050
|
|
|
16051
|
+
def get_brush_mode(self, context):
|
|
16052
|
+
"""Get the correct mode for this context. For any context where this returns None,
|
|
16053
|
+
no brush options should be displayed.
|
|
16054
|
+
|
|
16055
|
+
:param context:
|
|
16056
|
+
"""
|
|
16057
|
+
...
|
|
16058
|
+
|
|
15805
16059
|
def id_properties_clear(self):
|
|
15806
16060
|
"""
|
|
15807
16061
|
|
|
@@ -15888,6 +16142,13 @@ class VIEW3D_PT_tools_meshedit_options(View3DPanel, bpy_types._GenericUI):
|
|
|
15888
16142
|
"""
|
|
15889
16143
|
...
|
|
15890
16144
|
|
|
16145
|
+
def paint_settings(self, context):
|
|
16146
|
+
"""
|
|
16147
|
+
|
|
16148
|
+
:param context:
|
|
16149
|
+
"""
|
|
16150
|
+
...
|
|
16151
|
+
|
|
15891
16152
|
def path_from_id(self) -> str:
|
|
15892
16153
|
"""Returns the data path from the ID to this object (string).
|
|
15893
16154
|
|
|
@@ -15901,6 +16162,13 @@ class VIEW3D_PT_tools_meshedit_options(View3DPanel, bpy_types._GenericUI):
|
|
|
15901
16162
|
"""Returns the property from the path, raise an exception when not found."""
|
|
15902
16163
|
...
|
|
15903
16164
|
|
|
16165
|
+
def poll(self, context):
|
|
16166
|
+
"""
|
|
16167
|
+
|
|
16168
|
+
:param context:
|
|
16169
|
+
"""
|
|
16170
|
+
...
|
|
16171
|
+
|
|
15904
16172
|
def pop(self):
|
|
15905
16173
|
"""Remove and return the value of the custom property assigned to key or default
|
|
15906
16174
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -15916,6 +16184,59 @@ class VIEW3D_PT_tools_meshedit_options(View3DPanel, bpy_types._GenericUI):
|
|
|
15916
16184
|
"""
|
|
15917
16185
|
...
|
|
15918
16186
|
|
|
16187
|
+
def prop_unified(
|
|
16188
|
+
self,
|
|
16189
|
+
layout,
|
|
16190
|
+
context,
|
|
16191
|
+
brush,
|
|
16192
|
+
prop_name,
|
|
16193
|
+
unified_name=None,
|
|
16194
|
+
pressure_name=None,
|
|
16195
|
+
icon="NONE",
|
|
16196
|
+
text=None,
|
|
16197
|
+
slider=False,
|
|
16198
|
+
header=False,
|
|
16199
|
+
):
|
|
16200
|
+
"""Generalized way of adding brush options to the UI,
|
|
16201
|
+
along with their pen pressure setting and global toggle, if they exist.
|
|
16202
|
+
|
|
16203
|
+
:param layout:
|
|
16204
|
+
:param context:
|
|
16205
|
+
:param brush:
|
|
16206
|
+
:param prop_name:
|
|
16207
|
+
:param unified_name:
|
|
16208
|
+
:param pressure_name:
|
|
16209
|
+
:param icon:
|
|
16210
|
+
:param text:
|
|
16211
|
+
:param slider:
|
|
16212
|
+
:param header:
|
|
16213
|
+
"""
|
|
16214
|
+
...
|
|
16215
|
+
|
|
16216
|
+
def prop_unified_color(self, parent, context, brush, prop_name, *, text=None):
|
|
16217
|
+
"""
|
|
16218
|
+
|
|
16219
|
+
:param parent:
|
|
16220
|
+
:param context:
|
|
16221
|
+
:param brush:
|
|
16222
|
+
:param prop_name:
|
|
16223
|
+
:param text:
|
|
16224
|
+
"""
|
|
16225
|
+
...
|
|
16226
|
+
|
|
16227
|
+
def prop_unified_color_picker(
|
|
16228
|
+
self, parent, context, brush, prop_name, value_slider=True
|
|
16229
|
+
):
|
|
16230
|
+
"""
|
|
16231
|
+
|
|
16232
|
+
:param parent:
|
|
16233
|
+
:param context:
|
|
16234
|
+
:param brush:
|
|
16235
|
+
:param prop_name:
|
|
16236
|
+
:param value_slider:
|
|
16237
|
+
"""
|
|
16238
|
+
...
|
|
16239
|
+
|
|
15919
16240
|
def property_overridable_library_set(self) -> bool:
|
|
15920
16241
|
"""Define a property as overridable or not (only for custom properties!).
|
|
15921
16242
|
|
|
@@ -15951,11 +16272,16 @@ class VIEW3D_PT_tools_meshedit_options(View3DPanel, bpy_types._GenericUI):
|
|
|
15951
16272
|
"""
|
|
15952
16273
|
...
|
|
15953
16274
|
|
|
15954
|
-
class
|
|
16275
|
+
class VIEW3D_PT_tools_imagepaint_options(
|
|
16276
|
+
View3DPanel,
|
|
16277
|
+
View3DPaintPanel,
|
|
16278
|
+
bl_ui.properties_paint_common.UnifiedPaintPanel,
|
|
16279
|
+
bpy_types._GenericUI,
|
|
16280
|
+
):
|
|
15955
16281
|
bl_category: typing.Any
|
|
15956
16282
|
bl_context: typing.Any
|
|
15957
16283
|
bl_label: typing.Any
|
|
15958
|
-
|
|
16284
|
+
bl_options: typing.Any
|
|
15959
16285
|
bl_region_type: typing.Any
|
|
15960
16286
|
bl_rna: typing.Any
|
|
15961
16287
|
bl_space_type: typing.Any
|
|
@@ -16023,6 +16349,14 @@ class VIEW3D_PT_tools_meshedit_options_transform(View3DPanel, bpy_types._Generic
|
|
|
16023
16349
|
"""
|
|
16024
16350
|
...
|
|
16025
16351
|
|
|
16352
|
+
def get_brush_mode(self, context):
|
|
16353
|
+
"""Get the correct mode for this context. For any context where this returns None,
|
|
16354
|
+
no brush options should be displayed.
|
|
16355
|
+
|
|
16356
|
+
:param context:
|
|
16357
|
+
"""
|
|
16358
|
+
...
|
|
16359
|
+
|
|
16026
16360
|
def id_properties_clear(self):
|
|
16027
16361
|
"""
|
|
16028
16362
|
|
|
@@ -16109,6 +16443,13 @@ class VIEW3D_PT_tools_meshedit_options_transform(View3DPanel, bpy_types._Generic
|
|
|
16109
16443
|
"""
|
|
16110
16444
|
...
|
|
16111
16445
|
|
|
16446
|
+
def paint_settings(self, context):
|
|
16447
|
+
"""
|
|
16448
|
+
|
|
16449
|
+
:param context:
|
|
16450
|
+
"""
|
|
16451
|
+
...
|
|
16452
|
+
|
|
16112
16453
|
def path_from_id(self) -> str:
|
|
16113
16454
|
"""Returns the data path from the ID to this object (string).
|
|
16114
16455
|
|
|
@@ -16144,6 +16485,59 @@ class VIEW3D_PT_tools_meshedit_options_transform(View3DPanel, bpy_types._Generic
|
|
|
16144
16485
|
"""
|
|
16145
16486
|
...
|
|
16146
16487
|
|
|
16488
|
+
def prop_unified(
|
|
16489
|
+
self,
|
|
16490
|
+
layout,
|
|
16491
|
+
context,
|
|
16492
|
+
brush,
|
|
16493
|
+
prop_name,
|
|
16494
|
+
unified_name=None,
|
|
16495
|
+
pressure_name=None,
|
|
16496
|
+
icon="NONE",
|
|
16497
|
+
text=None,
|
|
16498
|
+
slider=False,
|
|
16499
|
+
header=False,
|
|
16500
|
+
):
|
|
16501
|
+
"""Generalized way of adding brush options to the UI,
|
|
16502
|
+
along with their pen pressure setting and global toggle, if they exist.
|
|
16503
|
+
|
|
16504
|
+
:param layout:
|
|
16505
|
+
:param context:
|
|
16506
|
+
:param brush:
|
|
16507
|
+
:param prop_name:
|
|
16508
|
+
:param unified_name:
|
|
16509
|
+
:param pressure_name:
|
|
16510
|
+
:param icon:
|
|
16511
|
+
:param text:
|
|
16512
|
+
:param slider:
|
|
16513
|
+
:param header:
|
|
16514
|
+
"""
|
|
16515
|
+
...
|
|
16516
|
+
|
|
16517
|
+
def prop_unified_color(self, parent, context, brush, prop_name, *, text=None):
|
|
16518
|
+
"""
|
|
16519
|
+
|
|
16520
|
+
:param parent:
|
|
16521
|
+
:param context:
|
|
16522
|
+
:param brush:
|
|
16523
|
+
:param prop_name:
|
|
16524
|
+
:param text:
|
|
16525
|
+
"""
|
|
16526
|
+
...
|
|
16527
|
+
|
|
16528
|
+
def prop_unified_color_picker(
|
|
16529
|
+
self, parent, context, brush, prop_name, value_slider=True
|
|
16530
|
+
):
|
|
16531
|
+
"""
|
|
16532
|
+
|
|
16533
|
+
:param parent:
|
|
16534
|
+
:param context:
|
|
16535
|
+
:param brush:
|
|
16536
|
+
:param prop_name:
|
|
16537
|
+
:param value_slider:
|
|
16538
|
+
"""
|
|
16539
|
+
...
|
|
16540
|
+
|
|
16147
16541
|
def property_overridable_library_set(self) -> bool:
|
|
16148
16542
|
"""Define a property as overridable or not (only for custom properties!).
|
|
16149
16543
|
|
|
@@ -16179,10 +16573,9 @@ class VIEW3D_PT_tools_meshedit_options_transform(View3DPanel, bpy_types._Generic
|
|
|
16179
16573
|
"""
|
|
16180
16574
|
...
|
|
16181
16575
|
|
|
16182
|
-
class
|
|
16183
|
-
bl_category: typing.Any
|
|
16184
|
-
bl_context: typing.Any
|
|
16576
|
+
class VIEW3D_PT_tools_imagepaint_options_cavity(bpy_types._GenericUI):
|
|
16185
16577
|
bl_label: typing.Any
|
|
16578
|
+
bl_options: typing.Any
|
|
16186
16579
|
bl_parent_id: typing.Any
|
|
16187
16580
|
bl_region_type: typing.Any
|
|
16188
16581
|
bl_rna: typing.Any
|
|
@@ -16228,6 +16621,13 @@ class VIEW3D_PT_tools_meshedit_options_uvs(View3DPanel, bpy_types._GenericUI):
|
|
|
16228
16621
|
"""
|
|
16229
16622
|
...
|
|
16230
16623
|
|
|
16624
|
+
def draw_header(self, context):
|
|
16625
|
+
"""
|
|
16626
|
+
|
|
16627
|
+
:param context:
|
|
16628
|
+
"""
|
|
16629
|
+
...
|
|
16630
|
+
|
|
16231
16631
|
def driver_add(self) -> bpy.types.FCurve:
|
|
16232
16632
|
"""Adds driver(s) to the given property
|
|
16233
16633
|
|
|
@@ -16400,10 +16800,17 @@ class VIEW3D_PT_tools_meshedit_options_uvs(View3DPanel, bpy_types._GenericUI):
|
|
|
16400
16800
|
"""
|
|
16401
16801
|
...
|
|
16402
16802
|
|
|
16403
|
-
class
|
|
16803
|
+
class VIEW3D_PT_tools_imagepaint_options_external(
|
|
16804
|
+
View3DPanel,
|
|
16805
|
+
bpy_types._GenericUI,
|
|
16806
|
+
View3DPaintPanel,
|
|
16807
|
+
bl_ui.properties_paint_common.UnifiedPaintPanel,
|
|
16808
|
+
):
|
|
16404
16809
|
bl_category: typing.Any
|
|
16405
16810
|
bl_context: typing.Any
|
|
16406
16811
|
bl_label: typing.Any
|
|
16812
|
+
bl_options: typing.Any
|
|
16813
|
+
bl_parent_id: typing.Any
|
|
16407
16814
|
bl_region_type: typing.Any
|
|
16408
16815
|
bl_rna: typing.Any
|
|
16409
16816
|
bl_space_type: typing.Any
|
|
@@ -16471,6 +16878,14 @@ class VIEW3D_PT_tools_object_options(View3DPanel, bpy_types._GenericUI):
|
|
|
16471
16878
|
"""
|
|
16472
16879
|
...
|
|
16473
16880
|
|
|
16881
|
+
def get_brush_mode(self, context):
|
|
16882
|
+
"""Get the correct mode for this context. For any context where this returns None,
|
|
16883
|
+
no brush options should be displayed.
|
|
16884
|
+
|
|
16885
|
+
:param context:
|
|
16886
|
+
"""
|
|
16887
|
+
...
|
|
16888
|
+
|
|
16474
16889
|
def id_properties_clear(self):
|
|
16475
16890
|
"""
|
|
16476
16891
|
|
|
@@ -16557,6 +16972,13 @@ class VIEW3D_PT_tools_object_options(View3DPanel, bpy_types._GenericUI):
|
|
|
16557
16972
|
"""
|
|
16558
16973
|
...
|
|
16559
16974
|
|
|
16975
|
+
def paint_settings(self, context):
|
|
16976
|
+
"""
|
|
16977
|
+
|
|
16978
|
+
:param context:
|
|
16979
|
+
"""
|
|
16980
|
+
...
|
|
16981
|
+
|
|
16560
16982
|
def path_from_id(self) -> str:
|
|
16561
16983
|
"""Returns the data path from the ID to this object (string).
|
|
16562
16984
|
|
|
@@ -16585,6 +17007,59 @@ class VIEW3D_PT_tools_object_options(View3DPanel, bpy_types._GenericUI):
|
|
|
16585
17007
|
"""
|
|
16586
17008
|
...
|
|
16587
17009
|
|
|
17010
|
+
def prop_unified(
|
|
17011
|
+
self,
|
|
17012
|
+
layout,
|
|
17013
|
+
context,
|
|
17014
|
+
brush,
|
|
17015
|
+
prop_name,
|
|
17016
|
+
unified_name=None,
|
|
17017
|
+
pressure_name=None,
|
|
17018
|
+
icon="NONE",
|
|
17019
|
+
text=None,
|
|
17020
|
+
slider=False,
|
|
17021
|
+
header=False,
|
|
17022
|
+
):
|
|
17023
|
+
"""Generalized way of adding brush options to the UI,
|
|
17024
|
+
along with their pen pressure setting and global toggle, if they exist.
|
|
17025
|
+
|
|
17026
|
+
:param layout:
|
|
17027
|
+
:param context:
|
|
17028
|
+
:param brush:
|
|
17029
|
+
:param prop_name:
|
|
17030
|
+
:param unified_name:
|
|
17031
|
+
:param pressure_name:
|
|
17032
|
+
:param icon:
|
|
17033
|
+
:param text:
|
|
17034
|
+
:param slider:
|
|
17035
|
+
:param header:
|
|
17036
|
+
"""
|
|
17037
|
+
...
|
|
17038
|
+
|
|
17039
|
+
def prop_unified_color(self, parent, context, brush, prop_name, *, text=None):
|
|
17040
|
+
"""
|
|
17041
|
+
|
|
17042
|
+
:param parent:
|
|
17043
|
+
:param context:
|
|
17044
|
+
:param brush:
|
|
17045
|
+
:param prop_name:
|
|
17046
|
+
:param text:
|
|
17047
|
+
"""
|
|
17048
|
+
...
|
|
17049
|
+
|
|
17050
|
+
def prop_unified_color_picker(
|
|
17051
|
+
self, parent, context, brush, prop_name, value_slider=True
|
|
17052
|
+
):
|
|
17053
|
+
"""
|
|
17054
|
+
|
|
17055
|
+
:param parent:
|
|
17056
|
+
:param context:
|
|
17057
|
+
:param brush:
|
|
17058
|
+
:param prop_name:
|
|
17059
|
+
:param value_slider:
|
|
17060
|
+
"""
|
|
17061
|
+
...
|
|
17062
|
+
|
|
16588
17063
|
def property_overridable_library_set(self) -> bool:
|
|
16589
17064
|
"""Define a property as overridable or not (only for custom properties!).
|
|
16590
17065
|
|
|
@@ -16620,11 +17095,16 @@ class VIEW3D_PT_tools_object_options(View3DPanel, bpy_types._GenericUI):
|
|
|
16620
17095
|
"""
|
|
16621
17096
|
...
|
|
16622
17097
|
|
|
16623
|
-
class
|
|
17098
|
+
class VIEW3D_PT_tools_imagepaint_symmetry(
|
|
17099
|
+
View3DPanel,
|
|
17100
|
+
bpy_types._GenericUI,
|
|
17101
|
+
View3DPaintPanel,
|
|
17102
|
+
bl_ui.properties_paint_common.UnifiedPaintPanel,
|
|
17103
|
+
):
|
|
16624
17104
|
bl_category: typing.Any
|
|
16625
17105
|
bl_context: typing.Any
|
|
16626
17106
|
bl_label: typing.Any
|
|
16627
|
-
|
|
17107
|
+
bl_options: typing.Any
|
|
16628
17108
|
bl_region_type: typing.Any
|
|
16629
17109
|
bl_rna: typing.Any
|
|
16630
17110
|
bl_space_type: typing.Any
|
|
@@ -16692,6 +17172,14 @@ class VIEW3D_PT_tools_object_options_transform(View3DPanel, bpy_types._GenericUI
|
|
|
16692
17172
|
"""
|
|
16693
17173
|
...
|
|
16694
17174
|
|
|
17175
|
+
def get_brush_mode(self, context):
|
|
17176
|
+
"""Get the correct mode for this context. For any context where this returns None,
|
|
17177
|
+
no brush options should be displayed.
|
|
17178
|
+
|
|
17179
|
+
:param context:
|
|
17180
|
+
"""
|
|
17181
|
+
...
|
|
17182
|
+
|
|
16695
17183
|
def id_properties_clear(self):
|
|
16696
17184
|
"""
|
|
16697
17185
|
|
|
@@ -16778,6 +17266,13 @@ class VIEW3D_PT_tools_object_options_transform(View3DPanel, bpy_types._GenericUI
|
|
|
16778
17266
|
"""
|
|
16779
17267
|
...
|
|
16780
17268
|
|
|
17269
|
+
def paint_settings(self, context):
|
|
17270
|
+
"""
|
|
17271
|
+
|
|
17272
|
+
:param context:
|
|
17273
|
+
"""
|
|
17274
|
+
...
|
|
17275
|
+
|
|
16781
17276
|
def path_from_id(self) -> str:
|
|
16782
17277
|
"""Returns the data path from the ID to this object (string).
|
|
16783
17278
|
|
|
@@ -16791,6 +17286,13 @@ class VIEW3D_PT_tools_object_options_transform(View3DPanel, bpy_types._GenericUI
|
|
|
16791
17286
|
"""Returns the property from the path, raise an exception when not found."""
|
|
16792
17287
|
...
|
|
16793
17288
|
|
|
17289
|
+
def poll(self, context):
|
|
17290
|
+
"""
|
|
17291
|
+
|
|
17292
|
+
:param context:
|
|
17293
|
+
"""
|
|
17294
|
+
...
|
|
17295
|
+
|
|
16794
17296
|
def pop(self):
|
|
16795
17297
|
"""Remove and return the value of the custom property assigned to key or default
|
|
16796
17298
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -16806,6 +17308,59 @@ class VIEW3D_PT_tools_object_options_transform(View3DPanel, bpy_types._GenericUI
|
|
|
16806
17308
|
"""
|
|
16807
17309
|
...
|
|
16808
17310
|
|
|
17311
|
+
def prop_unified(
|
|
17312
|
+
self,
|
|
17313
|
+
layout,
|
|
17314
|
+
context,
|
|
17315
|
+
brush,
|
|
17316
|
+
prop_name,
|
|
17317
|
+
unified_name=None,
|
|
17318
|
+
pressure_name=None,
|
|
17319
|
+
icon="NONE",
|
|
17320
|
+
text=None,
|
|
17321
|
+
slider=False,
|
|
17322
|
+
header=False,
|
|
17323
|
+
):
|
|
17324
|
+
"""Generalized way of adding brush options to the UI,
|
|
17325
|
+
along with their pen pressure setting and global toggle, if they exist.
|
|
17326
|
+
|
|
17327
|
+
:param layout:
|
|
17328
|
+
:param context:
|
|
17329
|
+
:param brush:
|
|
17330
|
+
:param prop_name:
|
|
17331
|
+
:param unified_name:
|
|
17332
|
+
:param pressure_name:
|
|
17333
|
+
:param icon:
|
|
17334
|
+
:param text:
|
|
17335
|
+
:param slider:
|
|
17336
|
+
:param header:
|
|
17337
|
+
"""
|
|
17338
|
+
...
|
|
17339
|
+
|
|
17340
|
+
def prop_unified_color(self, parent, context, brush, prop_name, *, text=None):
|
|
17341
|
+
"""
|
|
17342
|
+
|
|
17343
|
+
:param parent:
|
|
17344
|
+
:param context:
|
|
17345
|
+
:param brush:
|
|
17346
|
+
:param prop_name:
|
|
17347
|
+
:param text:
|
|
17348
|
+
"""
|
|
17349
|
+
...
|
|
17350
|
+
|
|
17351
|
+
def prop_unified_color_picker(
|
|
17352
|
+
self, parent, context, brush, prop_name, value_slider=True
|
|
17353
|
+
):
|
|
17354
|
+
"""
|
|
17355
|
+
|
|
17356
|
+
:param parent:
|
|
17357
|
+
:param context:
|
|
17358
|
+
:param brush:
|
|
17359
|
+
:param prop_name:
|
|
17360
|
+
:param value_slider:
|
|
17361
|
+
"""
|
|
17362
|
+
...
|
|
17363
|
+
|
|
16809
17364
|
def property_overridable_library_set(self) -> bool:
|
|
16810
17365
|
"""Define a property as overridable or not (only for custom properties!).
|
|
16811
17366
|
|
|
@@ -16841,16 +17396,19 @@ class VIEW3D_PT_tools_object_options_transform(View3DPanel, bpy_types._GenericUI
|
|
|
16841
17396
|
"""
|
|
16842
17397
|
...
|
|
16843
17398
|
|
|
16844
|
-
class
|
|
17399
|
+
class VIEW3D_PT_tools_mask_texture(
|
|
17400
|
+
bl_ui.properties_paint_common.BrushPanel,
|
|
16845
17401
|
View3DPanel,
|
|
16846
17402
|
bpy_types._GenericUI,
|
|
16847
17403
|
View3DPaintPanel,
|
|
17404
|
+
bl_ui.properties_paint_common.TextureMaskPanel,
|
|
16848
17405
|
bl_ui.properties_paint_common.UnifiedPaintPanel,
|
|
16849
17406
|
):
|
|
16850
17407
|
bl_category: typing.Any
|
|
16851
17408
|
bl_context: typing.Any
|
|
16852
17409
|
bl_label: typing.Any
|
|
16853
17410
|
bl_options: typing.Any
|
|
17411
|
+
bl_parent_id: typing.Any
|
|
16854
17412
|
bl_region_type: typing.Any
|
|
16855
17413
|
bl_rna: typing.Any
|
|
16856
17414
|
bl_space_type: typing.Any
|
|
@@ -17083,27 +17641,249 @@ class VIEW3D_PT_tools_particlemode(
|
|
|
17083
17641
|
"""
|
|
17084
17642
|
...
|
|
17085
17643
|
|
|
17086
|
-
def prop_unified_color(self, parent, context, brush, prop_name, text=None):
|
|
17644
|
+
def prop_unified_color(self, parent, context, brush, prop_name, *, text=None):
|
|
17645
|
+
"""
|
|
17646
|
+
|
|
17647
|
+
:param parent:
|
|
17648
|
+
:param context:
|
|
17649
|
+
:param brush:
|
|
17650
|
+
:param prop_name:
|
|
17651
|
+
:param text:
|
|
17652
|
+
"""
|
|
17653
|
+
...
|
|
17654
|
+
|
|
17655
|
+
def prop_unified_color_picker(
|
|
17656
|
+
self, parent, context, brush, prop_name, value_slider=True
|
|
17657
|
+
):
|
|
17658
|
+
"""
|
|
17659
|
+
|
|
17660
|
+
:param parent:
|
|
17661
|
+
:param context:
|
|
17662
|
+
:param brush:
|
|
17663
|
+
:param prop_name:
|
|
17664
|
+
:param value_slider:
|
|
17665
|
+
"""
|
|
17666
|
+
...
|
|
17667
|
+
|
|
17668
|
+
def property_overridable_library_set(self) -> bool:
|
|
17669
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
17670
|
+
|
|
17671
|
+
:return: True when the overridable status of the property was successfully set.
|
|
17672
|
+
:rtype: bool
|
|
17673
|
+
"""
|
|
17674
|
+
...
|
|
17675
|
+
|
|
17676
|
+
def property_unset(self):
|
|
17677
|
+
"""Unset a property, will use default value afterward."""
|
|
17678
|
+
...
|
|
17679
|
+
|
|
17680
|
+
def remove(self, draw_func):
|
|
17681
|
+
"""Remove a draw function that has been added to this menu
|
|
17682
|
+
|
|
17683
|
+
:param draw_func:
|
|
17684
|
+
"""
|
|
17685
|
+
...
|
|
17686
|
+
|
|
17687
|
+
def type_recast(self):
|
|
17688
|
+
"""Return a new instance, this is needed because types
|
|
17689
|
+
such as textures can be changed at runtime.
|
|
17690
|
+
|
|
17691
|
+
:return: a new instance of this object with the type initialized again.
|
|
17692
|
+
"""
|
|
17693
|
+
...
|
|
17694
|
+
|
|
17695
|
+
def values(self):
|
|
17696
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
17697
|
+
dictionary function of the same name).
|
|
17698
|
+
|
|
17699
|
+
:return: custom property values.
|
|
17700
|
+
"""
|
|
17701
|
+
...
|
|
17702
|
+
|
|
17703
|
+
class VIEW3D_PT_tools_meshedit_options(View3DPanel, bpy_types._GenericUI):
|
|
17704
|
+
bl_category: typing.Any
|
|
17705
|
+
bl_context: typing.Any
|
|
17706
|
+
bl_label: typing.Any
|
|
17707
|
+
bl_options: typing.Any
|
|
17708
|
+
bl_region_type: typing.Any
|
|
17709
|
+
bl_rna: typing.Any
|
|
17710
|
+
bl_space_type: typing.Any
|
|
17711
|
+
bl_ui_units_x: typing.Any
|
|
17712
|
+
id_data: typing.Any
|
|
17713
|
+
|
|
17714
|
+
def append(self, draw_func):
|
|
17715
|
+
"""Append a draw function to this menu,
|
|
17716
|
+
takes the same arguments as the menus draw function
|
|
17717
|
+
|
|
17718
|
+
:param draw_func:
|
|
17719
|
+
"""
|
|
17720
|
+
...
|
|
17721
|
+
|
|
17722
|
+
def as_pointer(self) -> int:
|
|
17723
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
17724
|
+
|
|
17725
|
+
:return: int (memory address).
|
|
17726
|
+
:rtype: int
|
|
17727
|
+
"""
|
|
17728
|
+
...
|
|
17729
|
+
|
|
17730
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
17731
|
+
"""
|
|
17732
|
+
|
|
17733
|
+
:return: The RNA type or default when not found.
|
|
17734
|
+
:rtype: bpy.types.Struct
|
|
17735
|
+
"""
|
|
17736
|
+
...
|
|
17737
|
+
|
|
17738
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
17739
|
+
"""
|
|
17740
|
+
|
|
17741
|
+
:return: The class or default when not found.
|
|
17742
|
+
:rtype: typing.Any
|
|
17743
|
+
"""
|
|
17744
|
+
...
|
|
17745
|
+
|
|
17746
|
+
def draw(self, _context):
|
|
17747
|
+
"""
|
|
17748
|
+
|
|
17749
|
+
:param _context:
|
|
17750
|
+
"""
|
|
17751
|
+
...
|
|
17752
|
+
|
|
17753
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
17754
|
+
"""Adds driver(s) to the given property
|
|
17755
|
+
|
|
17756
|
+
:return: The driver(s) added.
|
|
17757
|
+
:rtype: bpy.types.FCurve
|
|
17758
|
+
"""
|
|
17759
|
+
...
|
|
17760
|
+
|
|
17761
|
+
def driver_remove(self) -> bool:
|
|
17762
|
+
"""Remove driver(s) from the given property
|
|
17763
|
+
|
|
17764
|
+
:return: Success of driver removal.
|
|
17765
|
+
:rtype: bool
|
|
17766
|
+
"""
|
|
17767
|
+
...
|
|
17768
|
+
|
|
17769
|
+
def get(self):
|
|
17770
|
+
"""Returns the value of the custom property assigned to key or default
|
|
17771
|
+
when not found (matches Python's dictionary function of the same name).
|
|
17772
|
+
|
|
17773
|
+
"""
|
|
17774
|
+
...
|
|
17775
|
+
|
|
17776
|
+
def id_properties_clear(self):
|
|
17777
|
+
"""
|
|
17778
|
+
|
|
17779
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
17780
|
+
"""
|
|
17781
|
+
...
|
|
17782
|
+
|
|
17783
|
+
def id_properties_ensure(self):
|
|
17784
|
+
"""
|
|
17785
|
+
|
|
17786
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
17787
|
+
"""
|
|
17788
|
+
...
|
|
17789
|
+
|
|
17790
|
+
def id_properties_ui(self):
|
|
17791
|
+
"""
|
|
17792
|
+
|
|
17793
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
17794
|
+
"""
|
|
17795
|
+
...
|
|
17796
|
+
|
|
17797
|
+
def is_extended(self): ...
|
|
17798
|
+
def is_property_hidden(self) -> bool:
|
|
17799
|
+
"""Check if a property is hidden.
|
|
17800
|
+
|
|
17801
|
+
:return: True when the property is hidden.
|
|
17802
|
+
:rtype: bool
|
|
17803
|
+
"""
|
|
17804
|
+
...
|
|
17805
|
+
|
|
17806
|
+
def is_property_overridable_library(self) -> bool:
|
|
17807
|
+
"""Check if a property is overridable.
|
|
17808
|
+
|
|
17809
|
+
:return: True when the property is overridable.
|
|
17810
|
+
:rtype: bool
|
|
17811
|
+
"""
|
|
17812
|
+
...
|
|
17813
|
+
|
|
17814
|
+
def is_property_readonly(self) -> bool:
|
|
17815
|
+
"""Check if a property is readonly.
|
|
17816
|
+
|
|
17817
|
+
:return: True when the property is readonly (not writable).
|
|
17818
|
+
:rtype: bool
|
|
17819
|
+
"""
|
|
17820
|
+
...
|
|
17821
|
+
|
|
17822
|
+
def is_property_set(self) -> bool:
|
|
17823
|
+
"""Check if a property is set, use for testing operator properties.
|
|
17824
|
+
|
|
17825
|
+
:return: True when the property has been set.
|
|
17826
|
+
:rtype: bool
|
|
17827
|
+
"""
|
|
17828
|
+
...
|
|
17829
|
+
|
|
17830
|
+
def items(self):
|
|
17831
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
17832
|
+
dictionary function of the same name).
|
|
17833
|
+
|
|
17834
|
+
:return: custom property key, value pairs.
|
|
17835
|
+
"""
|
|
17836
|
+
...
|
|
17837
|
+
|
|
17838
|
+
def keyframe_delete(self) -> bool:
|
|
17839
|
+
"""Remove a keyframe from this properties fcurve.
|
|
17840
|
+
|
|
17841
|
+
:return: Success of keyframe deletion.
|
|
17842
|
+
:rtype: bool
|
|
17843
|
+
"""
|
|
17844
|
+
...
|
|
17845
|
+
|
|
17846
|
+
def keyframe_insert(self) -> bool:
|
|
17847
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
17848
|
+
|
|
17849
|
+
:return: Success of keyframe insertion.
|
|
17850
|
+
:rtype: bool
|
|
17087
17851
|
"""
|
|
17852
|
+
...
|
|
17088
17853
|
|
|
17089
|
-
|
|
17090
|
-
|
|
17091
|
-
|
|
17092
|
-
|
|
17093
|
-
|
|
17854
|
+
def keys(self):
|
|
17855
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
17856
|
+
dictionary function of the same name).
|
|
17857
|
+
|
|
17858
|
+
:return: custom property keys.
|
|
17094
17859
|
"""
|
|
17095
17860
|
...
|
|
17096
17861
|
|
|
17097
|
-
def
|
|
17098
|
-
|
|
17099
|
-
|
|
17862
|
+
def path_from_id(self) -> str:
|
|
17863
|
+
"""Returns the data path from the ID to this object (string).
|
|
17864
|
+
|
|
17865
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
17866
|
+
to this struct and property (when given).
|
|
17867
|
+
:rtype: str
|
|
17100
17868
|
"""
|
|
17869
|
+
...
|
|
17101
17870
|
|
|
17102
|
-
|
|
17103
|
-
|
|
17104
|
-
|
|
17105
|
-
|
|
17106
|
-
|
|
17871
|
+
def path_resolve(self):
|
|
17872
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
17873
|
+
...
|
|
17874
|
+
|
|
17875
|
+
def pop(self):
|
|
17876
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
17877
|
+
when not found (matches Python's dictionary function of the same name).
|
|
17878
|
+
|
|
17879
|
+
"""
|
|
17880
|
+
...
|
|
17881
|
+
|
|
17882
|
+
def prepend(self, draw_func):
|
|
17883
|
+
"""Prepend a draw function to this menu, takes the same arguments as
|
|
17884
|
+
the menus draw function
|
|
17885
|
+
|
|
17886
|
+
:param draw_func:
|
|
17107
17887
|
"""
|
|
17108
17888
|
...
|
|
17109
17889
|
|
|
@@ -17142,13 +17922,11 @@ class VIEW3D_PT_tools_particlemode(
|
|
|
17142
17922
|
"""
|
|
17143
17923
|
...
|
|
17144
17924
|
|
|
17145
|
-
class
|
|
17146
|
-
"""Default tools for particle mode"""
|
|
17147
|
-
|
|
17925
|
+
class VIEW3D_PT_tools_meshedit_options_transform(View3DPanel, bpy_types._GenericUI):
|
|
17148
17926
|
bl_category: typing.Any
|
|
17149
17927
|
bl_context: typing.Any
|
|
17150
17928
|
bl_label: typing.Any
|
|
17151
|
-
|
|
17929
|
+
bl_parent_id: typing.Any
|
|
17152
17930
|
bl_region_type: typing.Any
|
|
17153
17931
|
bl_rna: typing.Any
|
|
17154
17932
|
bl_space_type: typing.Any
|
|
@@ -17315,6 +18093,13 @@ class VIEW3D_PT_tools_particlemode_options(View3DPanel, bpy_types._GenericUI):
|
|
|
17315
18093
|
"""Returns the property from the path, raise an exception when not found."""
|
|
17316
18094
|
...
|
|
17317
18095
|
|
|
18096
|
+
def poll(self, context):
|
|
18097
|
+
"""
|
|
18098
|
+
|
|
18099
|
+
:param context:
|
|
18100
|
+
"""
|
|
18101
|
+
...
|
|
18102
|
+
|
|
17318
18103
|
def pop(self):
|
|
17319
18104
|
"""Remove and return the value of the custom property assigned to key or default
|
|
17320
18105
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -17365,10 +18150,9 @@ class VIEW3D_PT_tools_particlemode_options(View3DPanel, bpy_types._GenericUI):
|
|
|
17365
18150
|
"""
|
|
17366
18151
|
...
|
|
17367
18152
|
|
|
17368
|
-
class
|
|
17369
|
-
"""Default tools for particle mode"""
|
|
17370
|
-
|
|
18153
|
+
class VIEW3D_PT_tools_meshedit_options_uvs(View3DPanel, bpy_types._GenericUI):
|
|
17371
18154
|
bl_category: typing.Any
|
|
18155
|
+
bl_context: typing.Any
|
|
17372
18156
|
bl_label: typing.Any
|
|
17373
18157
|
bl_parent_id: typing.Any
|
|
17374
18158
|
bl_region_type: typing.Any
|
|
@@ -17587,13 +18371,10 @@ class VIEW3D_PT_tools_particlemode_options_display(View3DPanel, bpy_types._Gener
|
|
|
17587
18371
|
"""
|
|
17588
18372
|
...
|
|
17589
18373
|
|
|
17590
|
-
class
|
|
17591
|
-
"""Default tools for particle mode"""
|
|
17592
|
-
|
|
18374
|
+
class VIEW3D_PT_tools_object_options(View3DPanel, bpy_types._GenericUI):
|
|
17593
18375
|
bl_category: typing.Any
|
|
18376
|
+
bl_context: typing.Any
|
|
17594
18377
|
bl_label: typing.Any
|
|
17595
|
-
bl_options: typing.Any
|
|
17596
|
-
bl_parent_id: typing.Any
|
|
17597
18378
|
bl_region_type: typing.Any
|
|
17598
18379
|
bl_rna: typing.Any
|
|
17599
18380
|
bl_space_type: typing.Any
|
|
@@ -17810,10 +18591,11 @@ class VIEW3D_PT_tools_particlemode_options_shapecut(View3DPanel, bpy_types._Gene
|
|
|
17810
18591
|
"""
|
|
17811
18592
|
...
|
|
17812
18593
|
|
|
17813
|
-
class
|
|
18594
|
+
class VIEW3D_PT_tools_object_options_transform(View3DPanel, bpy_types._GenericUI):
|
|
17814
18595
|
bl_category: typing.Any
|
|
17815
18596
|
bl_context: typing.Any
|
|
17816
18597
|
bl_label: typing.Any
|
|
18598
|
+
bl_parent_id: typing.Any
|
|
17817
18599
|
bl_region_type: typing.Any
|
|
17818
18600
|
bl_rna: typing.Any
|
|
17819
18601
|
bl_space_type: typing.Any
|
|
@@ -18030,7 +18812,7 @@ class VIEW3D_PT_tools_posemode_options(View3DPanel, bpy_types._GenericUI):
|
|
|
18030
18812
|
"""
|
|
18031
18813
|
...
|
|
18032
18814
|
|
|
18033
|
-
class
|
|
18815
|
+
class VIEW3D_PT_tools_particlemode(
|
|
18034
18816
|
View3DPanel,
|
|
18035
18817
|
bpy_types._GenericUI,
|
|
18036
18818
|
View3DPaintPanel,
|
|
@@ -18077,10 +18859,10 @@ class VIEW3D_PT_tools_vertexpaint_options(
|
|
|
18077
18859
|
"""
|
|
18078
18860
|
...
|
|
18079
18861
|
|
|
18080
|
-
def draw(self,
|
|
18862
|
+
def draw(self, context):
|
|
18081
18863
|
"""
|
|
18082
18864
|
|
|
18083
|
-
:param
|
|
18865
|
+
:param context:
|
|
18084
18866
|
"""
|
|
18085
18867
|
...
|
|
18086
18868
|
|
|
@@ -18221,10 +19003,10 @@ class VIEW3D_PT_tools_vertexpaint_options(
|
|
|
18221
19003
|
"""Returns the property from the path, raise an exception when not found."""
|
|
18222
19004
|
...
|
|
18223
19005
|
|
|
18224
|
-
def poll(self,
|
|
19006
|
+
def poll(self, context):
|
|
18225
19007
|
"""
|
|
18226
19008
|
|
|
18227
|
-
:param
|
|
19009
|
+
:param context:
|
|
18228
19010
|
"""
|
|
18229
19011
|
...
|
|
18230
19012
|
|
|
@@ -18272,7 +19054,7 @@ class VIEW3D_PT_tools_vertexpaint_options(
|
|
|
18272
19054
|
"""
|
|
18273
19055
|
...
|
|
18274
19056
|
|
|
18275
|
-
def prop_unified_color(self, parent, context, brush, prop_name, text=None):
|
|
19057
|
+
def prop_unified_color(self, parent, context, brush, prop_name, *, text=None):
|
|
18276
19058
|
"""
|
|
18277
19059
|
|
|
18278
19060
|
:param parent:
|
|
@@ -18331,12 +19113,9 @@ class VIEW3D_PT_tools_vertexpaint_options(
|
|
|
18331
19113
|
"""
|
|
18332
19114
|
...
|
|
18333
19115
|
|
|
18334
|
-
class
|
|
18335
|
-
|
|
18336
|
-
|
|
18337
|
-
View3DPaintPanel,
|
|
18338
|
-
bl_ui.properties_paint_common.UnifiedPaintPanel,
|
|
18339
|
-
):
|
|
19116
|
+
class VIEW3D_PT_tools_particlemode_options(View3DPanel, bpy_types._GenericUI):
|
|
19117
|
+
"""Default tools for particle mode"""
|
|
19118
|
+
|
|
18340
19119
|
bl_category: typing.Any
|
|
18341
19120
|
bl_context: typing.Any
|
|
18342
19121
|
bl_label: typing.Any
|
|
@@ -18408,14 +19187,6 @@ class VIEW3D_PT_tools_vertexpaint_symmetry(
|
|
|
18408
19187
|
"""
|
|
18409
19188
|
...
|
|
18410
19189
|
|
|
18411
|
-
def get_brush_mode(self, context):
|
|
18412
|
-
"""Get the correct mode for this context. For any context where this returns None,
|
|
18413
|
-
no brush options should be displayed.
|
|
18414
|
-
|
|
18415
|
-
:param context:
|
|
18416
|
-
"""
|
|
18417
|
-
...
|
|
18418
|
-
|
|
18419
19190
|
def id_properties_clear(self):
|
|
18420
19191
|
"""
|
|
18421
19192
|
|
|
@@ -18502,13 +19273,6 @@ class VIEW3D_PT_tools_vertexpaint_symmetry(
|
|
|
18502
19273
|
"""
|
|
18503
19274
|
...
|
|
18504
19275
|
|
|
18505
|
-
def paint_settings(self, context):
|
|
18506
|
-
"""
|
|
18507
|
-
|
|
18508
|
-
:param context:
|
|
18509
|
-
"""
|
|
18510
|
-
...
|
|
18511
|
-
|
|
18512
19276
|
def path_from_id(self) -> str:
|
|
18513
19277
|
"""Returns the data path from the ID to this object (string).
|
|
18514
19278
|
|
|
@@ -18522,13 +19286,6 @@ class VIEW3D_PT_tools_vertexpaint_symmetry(
|
|
|
18522
19286
|
"""Returns the property from the path, raise an exception when not found."""
|
|
18523
19287
|
...
|
|
18524
19288
|
|
|
18525
|
-
def poll(self, context):
|
|
18526
|
-
"""
|
|
18527
|
-
|
|
18528
|
-
:param context:
|
|
18529
|
-
"""
|
|
18530
|
-
...
|
|
18531
|
-
|
|
18532
19289
|
def pop(self):
|
|
18533
19290
|
"""Remove and return the value of the custom property assigned to key or default
|
|
18534
19291
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -18544,59 +19301,6 @@ class VIEW3D_PT_tools_vertexpaint_symmetry(
|
|
|
18544
19301
|
"""
|
|
18545
19302
|
...
|
|
18546
19303
|
|
|
18547
|
-
def prop_unified(
|
|
18548
|
-
self,
|
|
18549
|
-
layout,
|
|
18550
|
-
context,
|
|
18551
|
-
brush,
|
|
18552
|
-
prop_name,
|
|
18553
|
-
unified_name=None,
|
|
18554
|
-
pressure_name=None,
|
|
18555
|
-
icon="NONE",
|
|
18556
|
-
text=None,
|
|
18557
|
-
slider=False,
|
|
18558
|
-
header=False,
|
|
18559
|
-
):
|
|
18560
|
-
"""Generalized way of adding brush options to the UI,
|
|
18561
|
-
along with their pen pressure setting and global toggle, if they exist.
|
|
18562
|
-
|
|
18563
|
-
:param layout:
|
|
18564
|
-
:param context:
|
|
18565
|
-
:param brush:
|
|
18566
|
-
:param prop_name:
|
|
18567
|
-
:param unified_name:
|
|
18568
|
-
:param pressure_name:
|
|
18569
|
-
:param icon:
|
|
18570
|
-
:param text:
|
|
18571
|
-
:param slider:
|
|
18572
|
-
:param header:
|
|
18573
|
-
"""
|
|
18574
|
-
...
|
|
18575
|
-
|
|
18576
|
-
def prop_unified_color(self, parent, context, brush, prop_name, text=None):
|
|
18577
|
-
"""
|
|
18578
|
-
|
|
18579
|
-
:param parent:
|
|
18580
|
-
:param context:
|
|
18581
|
-
:param brush:
|
|
18582
|
-
:param prop_name:
|
|
18583
|
-
:param text:
|
|
18584
|
-
"""
|
|
18585
|
-
...
|
|
18586
|
-
|
|
18587
|
-
def prop_unified_color_picker(
|
|
18588
|
-
self, parent, context, brush, prop_name, value_slider=True
|
|
18589
|
-
):
|
|
18590
|
-
"""
|
|
18591
|
-
|
|
18592
|
-
:param parent:
|
|
18593
|
-
:param context:
|
|
18594
|
-
:param brush:
|
|
18595
|
-
:param prop_name:
|
|
18596
|
-
:param value_slider:
|
|
18597
|
-
"""
|
|
18598
|
-
...
|
|
18599
|
-
|
|
18600
19304
|
def property_overridable_library_set(self) -> bool:
|
|
18601
19305
|
"""Define a property as overridable or not (only for custom properties!).
|
|
18602
19306
|
|
|
@@ -18632,8 +19336,12 @@ class VIEW3D_PT_tools_vertexpaint_symmetry(
|
|
|
18632
19336
|
"""
|
|
18633
19337
|
...
|
|
18634
19338
|
|
|
18635
|
-
class
|
|
19339
|
+
class VIEW3D_PT_tools_particlemode_options_display(View3DPanel, bpy_types._GenericUI):
|
|
19340
|
+
"""Default tools for particle mode"""
|
|
19341
|
+
|
|
19342
|
+
bl_category: typing.Any
|
|
18636
19343
|
bl_label: typing.Any
|
|
19344
|
+
bl_parent_id: typing.Any
|
|
18637
19345
|
bl_region_type: typing.Any
|
|
18638
19346
|
bl_rna: typing.Any
|
|
18639
19347
|
bl_space_type: typing.Any
|
|
@@ -18850,15 +19558,13 @@ class VIEW3D_PT_tools_vertexpaint_symmetry_for_topbar(bpy_types._GenericUI):
|
|
|
18850
19558
|
"""
|
|
18851
19559
|
...
|
|
18852
19560
|
|
|
18853
|
-
class
|
|
18854
|
-
|
|
18855
|
-
|
|
18856
|
-
View3DPaintPanel,
|
|
18857
|
-
bl_ui.properties_paint_common.UnifiedPaintPanel,
|
|
18858
|
-
):
|
|
19561
|
+
class VIEW3D_PT_tools_particlemode_options_shapecut(View3DPanel, bpy_types._GenericUI):
|
|
19562
|
+
"""Default tools for particle mode"""
|
|
19563
|
+
|
|
18859
19564
|
bl_category: typing.Any
|
|
18860
19565
|
bl_label: typing.Any
|
|
18861
19566
|
bl_options: typing.Any
|
|
19567
|
+
bl_parent_id: typing.Any
|
|
18862
19568
|
bl_region_type: typing.Any
|
|
18863
19569
|
bl_rna: typing.Any
|
|
18864
19570
|
bl_space_type: typing.Any
|
|
@@ -18926,14 +19632,6 @@ class VIEW3D_PT_tools_weight_gradient(
|
|
|
18926
19632
|
"""
|
|
18927
19633
|
...
|
|
18928
19634
|
|
|
18929
|
-
def get_brush_mode(self, context):
|
|
18930
|
-
"""Get the correct mode for this context. For any context where this returns None,
|
|
18931
|
-
no brush options should be displayed.
|
|
18932
|
-
|
|
18933
|
-
:param context:
|
|
18934
|
-
"""
|
|
18935
|
-
...
|
|
18936
|
-
|
|
18937
19635
|
def id_properties_clear(self):
|
|
18938
19636
|
"""
|
|
18939
19637
|
|
|
@@ -19020,98 +19718,31 @@ class VIEW3D_PT_tools_weight_gradient(
|
|
|
19020
19718
|
"""
|
|
19021
19719
|
...
|
|
19022
19720
|
|
|
19023
|
-
def paint_settings(self, context):
|
|
19024
|
-
"""
|
|
19025
|
-
|
|
19026
|
-
:param context:
|
|
19027
|
-
"""
|
|
19028
|
-
...
|
|
19029
|
-
|
|
19030
19721
|
def path_from_id(self) -> str:
|
|
19031
19722
|
"""Returns the data path from the ID to this object (string).
|
|
19032
19723
|
|
|
19033
19724
|
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
19034
|
-
to this struct and property (when given).
|
|
19035
|
-
:rtype: str
|
|
19036
|
-
"""
|
|
19037
|
-
...
|
|
19038
|
-
|
|
19039
|
-
def path_resolve(self):
|
|
19040
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
19041
|
-
...
|
|
19042
|
-
|
|
19043
|
-
def poll(self, context):
|
|
19044
|
-
"""
|
|
19045
|
-
|
|
19046
|
-
:param context:
|
|
19047
|
-
"""
|
|
19048
|
-
...
|
|
19049
|
-
|
|
19050
|
-
def pop(self):
|
|
19051
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
19052
|
-
when not found (matches Python's dictionary function of the same name).
|
|
19053
|
-
|
|
19054
|
-
"""
|
|
19055
|
-
...
|
|
19056
|
-
|
|
19057
|
-
def prepend(self, draw_func):
|
|
19058
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
19059
|
-
the menus draw function
|
|
19060
|
-
|
|
19061
|
-
:param draw_func:
|
|
19062
|
-
"""
|
|
19063
|
-
...
|
|
19064
|
-
|
|
19065
|
-
def prop_unified(
|
|
19066
|
-
self,
|
|
19067
|
-
layout,
|
|
19068
|
-
context,
|
|
19069
|
-
brush,
|
|
19070
|
-
prop_name,
|
|
19071
|
-
unified_name=None,
|
|
19072
|
-
pressure_name=None,
|
|
19073
|
-
icon="NONE",
|
|
19074
|
-
text=None,
|
|
19075
|
-
slider=False,
|
|
19076
|
-
header=False,
|
|
19077
|
-
):
|
|
19078
|
-
"""Generalized way of adding brush options to the UI,
|
|
19079
|
-
along with their pen pressure setting and global toggle, if they exist.
|
|
19080
|
-
|
|
19081
|
-
:param layout:
|
|
19082
|
-
:param context:
|
|
19083
|
-
:param brush:
|
|
19084
|
-
:param prop_name:
|
|
19085
|
-
:param unified_name:
|
|
19086
|
-
:param pressure_name:
|
|
19087
|
-
:param icon:
|
|
19088
|
-
:param text:
|
|
19089
|
-
:param slider:
|
|
19090
|
-
:param header:
|
|
19725
|
+
to this struct and property (when given).
|
|
19726
|
+
:rtype: str
|
|
19091
19727
|
"""
|
|
19092
19728
|
...
|
|
19093
19729
|
|
|
19094
|
-
def
|
|
19095
|
-
"""
|
|
19730
|
+
def path_resolve(self):
|
|
19731
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
19732
|
+
...
|
|
19733
|
+
|
|
19734
|
+
def pop(self):
|
|
19735
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
19736
|
+
when not found (matches Python's dictionary function of the same name).
|
|
19096
19737
|
|
|
19097
|
-
:param parent:
|
|
19098
|
-
:param context:
|
|
19099
|
-
:param brush:
|
|
19100
|
-
:param prop_name:
|
|
19101
|
-
:param text:
|
|
19102
19738
|
"""
|
|
19103
19739
|
...
|
|
19104
19740
|
|
|
19105
|
-
def
|
|
19106
|
-
|
|
19107
|
-
|
|
19108
|
-
"""
|
|
19741
|
+
def prepend(self, draw_func):
|
|
19742
|
+
"""Prepend a draw function to this menu, takes the same arguments as
|
|
19743
|
+
the menus draw function
|
|
19109
19744
|
|
|
19110
|
-
|
|
19111
|
-
:param context:
|
|
19112
|
-
:param brush:
|
|
19113
|
-
:param prop_name:
|
|
19114
|
-
:param value_slider:
|
|
19745
|
+
:param draw_func:
|
|
19115
19746
|
"""
|
|
19116
19747
|
...
|
|
19117
19748
|
|
|
@@ -19150,16 +19781,10 @@ class VIEW3D_PT_tools_weight_gradient(
|
|
|
19150
19781
|
"""
|
|
19151
19782
|
...
|
|
19152
19783
|
|
|
19153
|
-
class
|
|
19154
|
-
View3DPanel,
|
|
19155
|
-
bpy_types._GenericUI,
|
|
19156
|
-
View3DPaintPanel,
|
|
19157
|
-
bl_ui.properties_paint_common.UnifiedPaintPanel,
|
|
19158
|
-
):
|
|
19784
|
+
class VIEW3D_PT_tools_posemode_options(View3DPanel, bpy_types._GenericUI):
|
|
19159
19785
|
bl_category: typing.Any
|
|
19160
19786
|
bl_context: typing.Any
|
|
19161
19787
|
bl_label: typing.Any
|
|
19162
|
-
bl_options: typing.Any
|
|
19163
19788
|
bl_region_type: typing.Any
|
|
19164
19789
|
bl_rna: typing.Any
|
|
19165
19790
|
bl_space_type: typing.Any
|
|
@@ -19227,14 +19852,6 @@ class VIEW3D_PT_tools_weightpaint_options(
|
|
|
19227
19852
|
"""
|
|
19228
19853
|
...
|
|
19229
19854
|
|
|
19230
|
-
def get_brush_mode(self, context):
|
|
19231
|
-
"""Get the correct mode for this context. For any context where this returns None,
|
|
19232
|
-
no brush options should be displayed.
|
|
19233
|
-
|
|
19234
|
-
:param context:
|
|
19235
|
-
"""
|
|
19236
|
-
...
|
|
19237
|
-
|
|
19238
19855
|
def id_properties_clear(self):
|
|
19239
19856
|
"""
|
|
19240
19857
|
|
|
@@ -19321,13 +19938,6 @@ class VIEW3D_PT_tools_weightpaint_options(
|
|
|
19321
19938
|
"""
|
|
19322
19939
|
...
|
|
19323
19940
|
|
|
19324
|
-
def paint_settings(self, context):
|
|
19325
|
-
"""
|
|
19326
|
-
|
|
19327
|
-
:param context:
|
|
19328
|
-
"""
|
|
19329
|
-
...
|
|
19330
|
-
|
|
19331
19941
|
def path_from_id(self) -> str:
|
|
19332
19942
|
"""Returns the data path from the ID to this object (string).
|
|
19333
19943
|
|
|
@@ -19356,59 +19966,6 @@ class VIEW3D_PT_tools_weightpaint_options(
|
|
|
19356
19966
|
"""
|
|
19357
19967
|
...
|
|
19358
19968
|
|
|
19359
|
-
def prop_unified(
|
|
19360
|
-
self,
|
|
19361
|
-
layout,
|
|
19362
|
-
context,
|
|
19363
|
-
brush,
|
|
19364
|
-
prop_name,
|
|
19365
|
-
unified_name=None,
|
|
19366
|
-
pressure_name=None,
|
|
19367
|
-
icon="NONE",
|
|
19368
|
-
text=None,
|
|
19369
|
-
slider=False,
|
|
19370
|
-
header=False,
|
|
19371
|
-
):
|
|
19372
|
-
"""Generalized way of adding brush options to the UI,
|
|
19373
|
-
along with their pen pressure setting and global toggle, if they exist.
|
|
19374
|
-
|
|
19375
|
-
:param layout:
|
|
19376
|
-
:param context:
|
|
19377
|
-
:param brush:
|
|
19378
|
-
:param prop_name:
|
|
19379
|
-
:param unified_name:
|
|
19380
|
-
:param pressure_name:
|
|
19381
|
-
:param icon:
|
|
19382
|
-
:param text:
|
|
19383
|
-
:param slider:
|
|
19384
|
-
:param header:
|
|
19385
|
-
"""
|
|
19386
|
-
...
|
|
19387
|
-
|
|
19388
|
-
def prop_unified_color(self, parent, context, brush, prop_name, text=None):
|
|
19389
|
-
"""
|
|
19390
|
-
|
|
19391
|
-
:param parent:
|
|
19392
|
-
:param context:
|
|
19393
|
-
:param brush:
|
|
19394
|
-
:param prop_name:
|
|
19395
|
-
:param text:
|
|
19396
|
-
"""
|
|
19397
|
-
...
|
|
19398
|
-
|
|
19399
|
-
def prop_unified_color_picker(
|
|
19400
|
-
self, parent, context, brush, prop_name, value_slider=True
|
|
19401
|
-
):
|
|
19402
|
-
"""
|
|
19403
|
-
|
|
19404
|
-
:param parent:
|
|
19405
|
-
:param context:
|
|
19406
|
-
:param brush:
|
|
19407
|
-
:param prop_name:
|
|
19408
|
-
:param value_slider:
|
|
19409
|
-
"""
|
|
19410
|
-
...
|
|
19411
|
-
|
|
19412
19969
|
def property_overridable_library_set(self) -> bool:
|
|
19413
19970
|
"""Define a property as overridable or not (only for custom properties!).
|
|
19414
19971
|
|
|
@@ -19444,7 +20001,7 @@ class VIEW3D_PT_tools_weightpaint_options(
|
|
|
19444
20001
|
"""
|
|
19445
20002
|
...
|
|
19446
20003
|
|
|
19447
|
-
class
|
|
20004
|
+
class VIEW3D_PT_tools_vertexpaint_options(
|
|
19448
20005
|
View3DPanel,
|
|
19449
20006
|
bpy_types._GenericUI,
|
|
19450
20007
|
View3DPaintPanel,
|
|
@@ -19491,10 +20048,10 @@ class VIEW3D_PT_tools_weightpaint_symmetry(
|
|
|
19491
20048
|
"""
|
|
19492
20049
|
...
|
|
19493
20050
|
|
|
19494
|
-
def draw(self,
|
|
20051
|
+
def draw(self, _context):
|
|
19495
20052
|
"""
|
|
19496
20053
|
|
|
19497
|
-
:param
|
|
20054
|
+
:param _context:
|
|
19498
20055
|
"""
|
|
19499
20056
|
...
|
|
19500
20057
|
|
|
@@ -19635,10 +20192,10 @@ class VIEW3D_PT_tools_weightpaint_symmetry(
|
|
|
19635
20192
|
"""Returns the property from the path, raise an exception when not found."""
|
|
19636
20193
|
...
|
|
19637
20194
|
|
|
19638
|
-
def poll(self,
|
|
20195
|
+
def poll(self, _context):
|
|
19639
20196
|
"""
|
|
19640
20197
|
|
|
19641
|
-
:param
|
|
20198
|
+
:param _context:
|
|
19642
20199
|
"""
|
|
19643
20200
|
...
|
|
19644
20201
|
|
|
@@ -19686,7 +20243,7 @@ class VIEW3D_PT_tools_weightpaint_symmetry(
|
|
|
19686
20243
|
"""
|
|
19687
20244
|
...
|
|
19688
20245
|
|
|
19689
|
-
def prop_unified_color(self, parent, context, brush, prop_name, text=None):
|
|
20246
|
+
def prop_unified_color(self, parent, context, brush, prop_name, *, text=None):
|
|
19690
20247
|
"""
|
|
19691
20248
|
|
|
19692
20249
|
:param parent:
|
|
@@ -19745,8 +20302,16 @@ class VIEW3D_PT_tools_weightpaint_symmetry(
|
|
|
19745
20302
|
"""
|
|
19746
20303
|
...
|
|
19747
20304
|
|
|
19748
|
-
class
|
|
20305
|
+
class VIEW3D_PT_tools_vertexpaint_symmetry(
|
|
20306
|
+
View3DPanel,
|
|
20307
|
+
bpy_types._GenericUI,
|
|
20308
|
+
View3DPaintPanel,
|
|
20309
|
+
bl_ui.properties_paint_common.UnifiedPaintPanel,
|
|
20310
|
+
):
|
|
20311
|
+
bl_category: typing.Any
|
|
20312
|
+
bl_context: typing.Any
|
|
19749
20313
|
bl_label: typing.Any
|
|
20314
|
+
bl_options: typing.Any
|
|
19750
20315
|
bl_region_type: typing.Any
|
|
19751
20316
|
bl_rna: typing.Any
|
|
19752
20317
|
bl_space_type: typing.Any
|
|
@@ -19814,6 +20379,14 @@ class VIEW3D_PT_tools_weightpaint_symmetry_for_topbar(bpy_types._GenericUI):
|
|
|
19814
20379
|
"""
|
|
19815
20380
|
...
|
|
19816
20381
|
|
|
20382
|
+
def get_brush_mode(self, context):
|
|
20383
|
+
"""Get the correct mode for this context. For any context where this returns None,
|
|
20384
|
+
no brush options should be displayed.
|
|
20385
|
+
|
|
20386
|
+
:param context:
|
|
20387
|
+
"""
|
|
20388
|
+
...
|
|
20389
|
+
|
|
19817
20390
|
def id_properties_clear(self):
|
|
19818
20391
|
"""
|
|
19819
20392
|
|
|
@@ -19900,84 +20473,6 @@ class VIEW3D_PT_tools_weightpaint_symmetry_for_topbar(bpy_types._GenericUI):
|
|
|
19900
20473
|
"""
|
|
19901
20474
|
...
|
|
19902
20475
|
|
|
19903
|
-
def path_from_id(self) -> str:
|
|
19904
|
-
"""Returns the data path from the ID to this object (string).
|
|
19905
|
-
|
|
19906
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
19907
|
-
to this struct and property (when given).
|
|
19908
|
-
:rtype: str
|
|
19909
|
-
"""
|
|
19910
|
-
...
|
|
19911
|
-
|
|
19912
|
-
def path_resolve(self):
|
|
19913
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
19914
|
-
...
|
|
19915
|
-
|
|
19916
|
-
def pop(self):
|
|
19917
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
19918
|
-
when not found (matches Python's dictionary function of the same name).
|
|
19919
|
-
|
|
19920
|
-
"""
|
|
19921
|
-
...
|
|
19922
|
-
|
|
19923
|
-
def prepend(self, draw_func):
|
|
19924
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
19925
|
-
the menus draw function
|
|
19926
|
-
|
|
19927
|
-
:param draw_func:
|
|
19928
|
-
"""
|
|
19929
|
-
...
|
|
19930
|
-
|
|
19931
|
-
def property_overridable_library_set(self) -> bool:
|
|
19932
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
19933
|
-
|
|
19934
|
-
:return: True when the overridable status of the property was successfully set.
|
|
19935
|
-
:rtype: bool
|
|
19936
|
-
"""
|
|
19937
|
-
...
|
|
19938
|
-
|
|
19939
|
-
def property_unset(self):
|
|
19940
|
-
"""Unset a property, will use default value afterward."""
|
|
19941
|
-
...
|
|
19942
|
-
|
|
19943
|
-
def remove(self, draw_func):
|
|
19944
|
-
"""Remove a draw function that has been added to this menu
|
|
19945
|
-
|
|
19946
|
-
:param draw_func:
|
|
19947
|
-
"""
|
|
19948
|
-
...
|
|
19949
|
-
|
|
19950
|
-
def type_recast(self):
|
|
19951
|
-
"""Return a new instance, this is needed because types
|
|
19952
|
-
such as textures can be changed at runtime.
|
|
19953
|
-
|
|
19954
|
-
:return: a new instance of this object with the type initialized again.
|
|
19955
|
-
"""
|
|
19956
|
-
...
|
|
19957
|
-
|
|
19958
|
-
def values(self):
|
|
19959
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
19960
|
-
dictionary function of the same name).
|
|
19961
|
-
|
|
19962
|
-
:return: custom property values.
|
|
19963
|
-
"""
|
|
19964
|
-
...
|
|
19965
|
-
|
|
19966
|
-
class View3DPaintBrushPanel(
|
|
19967
|
-
View3DPanel, View3DPaintPanel, bl_ui.properties_paint_common.UnifiedPaintPanel
|
|
19968
|
-
):
|
|
19969
|
-
bl_category: typing.Any
|
|
19970
|
-
bl_region_type: typing.Any
|
|
19971
|
-
bl_space_type: typing.Any
|
|
19972
|
-
|
|
19973
|
-
def get_brush_mode(self, context):
|
|
19974
|
-
"""Get the correct mode for this context. For any context where this returns None,
|
|
19975
|
-
no brush options should be displayed.
|
|
19976
|
-
|
|
19977
|
-
:param context:
|
|
19978
|
-
"""
|
|
19979
|
-
...
|
|
19980
|
-
|
|
19981
20476
|
def paint_settings(self, context):
|
|
19982
20477
|
"""
|
|
19983
20478
|
|
|
@@ -19985,83 +20480,38 @@ class View3DPaintBrushPanel(
|
|
|
19985
20480
|
"""
|
|
19986
20481
|
...
|
|
19987
20482
|
|
|
19988
|
-
def
|
|
19989
|
-
"""
|
|
19990
|
-
|
|
19991
|
-
:param context:
|
|
19992
|
-
"""
|
|
19993
|
-
...
|
|
19994
|
-
|
|
19995
|
-
def prop_unified(
|
|
19996
|
-
self,
|
|
19997
|
-
layout,
|
|
19998
|
-
context,
|
|
19999
|
-
brush,
|
|
20000
|
-
prop_name,
|
|
20001
|
-
unified_name=None,
|
|
20002
|
-
pressure_name=None,
|
|
20003
|
-
icon="NONE",
|
|
20004
|
-
text=None,
|
|
20005
|
-
slider=False,
|
|
20006
|
-
header=False,
|
|
20007
|
-
):
|
|
20008
|
-
"""Generalized way of adding brush options to the UI,
|
|
20009
|
-
along with their pen pressure setting and global toggle, if they exist.
|
|
20010
|
-
|
|
20011
|
-
:param layout:
|
|
20012
|
-
:param context:
|
|
20013
|
-
:param brush:
|
|
20014
|
-
:param prop_name:
|
|
20015
|
-
:param unified_name:
|
|
20016
|
-
:param pressure_name:
|
|
20017
|
-
:param icon:
|
|
20018
|
-
:param text:
|
|
20019
|
-
:param slider:
|
|
20020
|
-
:param header:
|
|
20021
|
-
"""
|
|
20022
|
-
...
|
|
20023
|
-
|
|
20024
|
-
def prop_unified_color(self, parent, context, brush, prop_name, text=None):
|
|
20025
|
-
"""
|
|
20483
|
+
def path_from_id(self) -> str:
|
|
20484
|
+
"""Returns the data path from the ID to this object (string).
|
|
20026
20485
|
|
|
20027
|
-
|
|
20028
|
-
|
|
20029
|
-
|
|
20030
|
-
:param prop_name:
|
|
20031
|
-
:param text:
|
|
20486
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
20487
|
+
to this struct and property (when given).
|
|
20488
|
+
:rtype: str
|
|
20032
20489
|
"""
|
|
20033
20490
|
...
|
|
20034
20491
|
|
|
20035
|
-
def
|
|
20036
|
-
|
|
20037
|
-
|
|
20492
|
+
def path_resolve(self):
|
|
20493
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
20494
|
+
...
|
|
20495
|
+
|
|
20496
|
+
def poll(self, context):
|
|
20038
20497
|
"""
|
|
20039
20498
|
|
|
20040
|
-
:param parent:
|
|
20041
20499
|
:param context:
|
|
20042
|
-
:param brush:
|
|
20043
|
-
:param prop_name:
|
|
20044
|
-
:param value_slider:
|
|
20045
20500
|
"""
|
|
20046
20501
|
...
|
|
20047
20502
|
|
|
20048
|
-
|
|
20049
|
-
|
|
20050
|
-
|
|
20051
|
-
bl_space_type: typing.Any
|
|
20052
|
-
|
|
20053
|
-
def get_brush_mode(self, context):
|
|
20054
|
-
"""Get the correct mode for this context. For any context where this returns None,
|
|
20055
|
-
no brush options should be displayed.
|
|
20503
|
+
def pop(self):
|
|
20504
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
20505
|
+
when not found (matches Python's dictionary function of the same name).
|
|
20056
20506
|
|
|
20057
|
-
:param context:
|
|
20058
20507
|
"""
|
|
20059
20508
|
...
|
|
20060
20509
|
|
|
20061
|
-
def
|
|
20062
|
-
"""
|
|
20510
|
+
def prepend(self, draw_func):
|
|
20511
|
+
"""Prepend a draw function to this menu, takes the same arguments as
|
|
20512
|
+
the menus draw function
|
|
20063
20513
|
|
|
20064
|
-
|
|
20514
|
+
:param draw_func:
|
|
20065
20515
|
"""
|
|
20066
20516
|
...
|
|
20067
20517
|
|
|
@@ -20094,7 +20544,7 @@ class View3DPaintPanel(View3DPanel, bl_ui.properties_paint_common.UnifiedPaintPa
|
|
|
20094
20544
|
"""
|
|
20095
20545
|
...
|
|
20096
20546
|
|
|
20097
|
-
def prop_unified_color(self, parent, context, brush, prop_name, text=None):
|
|
20547
|
+
def prop_unified_color(self, parent, context, brush, prop_name, *, text=None):
|
|
20098
20548
|
"""
|
|
20099
20549
|
|
|
20100
20550
|
:param parent:
|
|
@@ -20118,11 +20568,42 @@ class View3DPaintPanel(View3DPanel, bl_ui.properties_paint_common.UnifiedPaintPa
|
|
|
20118
20568
|
"""
|
|
20119
20569
|
...
|
|
20120
20570
|
|
|
20121
|
-
|
|
20122
|
-
|
|
20123
|
-
|
|
20124
|
-
|
|
20125
|
-
|
|
20571
|
+
def property_overridable_library_set(self) -> bool:
|
|
20572
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
20573
|
+
|
|
20574
|
+
:return: True when the overridable status of the property was successfully set.
|
|
20575
|
+
:rtype: bool
|
|
20576
|
+
"""
|
|
20577
|
+
...
|
|
20578
|
+
|
|
20579
|
+
def property_unset(self):
|
|
20580
|
+
"""Unset a property, will use default value afterward."""
|
|
20581
|
+
...
|
|
20582
|
+
|
|
20583
|
+
def remove(self, draw_func):
|
|
20584
|
+
"""Remove a draw function that has been added to this menu
|
|
20585
|
+
|
|
20586
|
+
:param draw_func:
|
|
20587
|
+
"""
|
|
20588
|
+
...
|
|
20589
|
+
|
|
20590
|
+
def type_recast(self):
|
|
20591
|
+
"""Return a new instance, this is needed because types
|
|
20592
|
+
such as textures can be changed at runtime.
|
|
20593
|
+
|
|
20594
|
+
:return: a new instance of this object with the type initialized again.
|
|
20595
|
+
"""
|
|
20596
|
+
...
|
|
20597
|
+
|
|
20598
|
+
def values(self):
|
|
20599
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
20600
|
+
dictionary function of the same name).
|
|
20601
|
+
|
|
20602
|
+
:return: custom property values.
|
|
20603
|
+
"""
|
|
20604
|
+
...
|
|
20605
|
+
|
|
20606
|
+
class VIEW3D_PT_tools_vertexpaint_symmetry_for_topbar(bpy_types._GenericUI):
|
|
20126
20607
|
bl_label: typing.Any
|
|
20127
20608
|
bl_region_type: typing.Any
|
|
20128
20609
|
bl_rna: typing.Any
|
|
@@ -20290,13 +20771,6 @@ class VIEW3D_PT_tools_grease_pencil_brush_select(
|
|
|
20290
20771
|
"""Returns the property from the path, raise an exception when not found."""
|
|
20291
20772
|
...
|
|
20292
20773
|
|
|
20293
|
-
def poll(self, context):
|
|
20294
|
-
"""
|
|
20295
|
-
|
|
20296
|
-
:param context:
|
|
20297
|
-
"""
|
|
20298
|
-
...
|
|
20299
|
-
|
|
20300
20774
|
def pop(self):
|
|
20301
20775
|
"""Remove and return the value of the custom property assigned to key or default
|
|
20302
20776
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -20347,11 +20821,13 @@ class VIEW3D_PT_tools_grease_pencil_brush_select(
|
|
|
20347
20821
|
"""
|
|
20348
20822
|
...
|
|
20349
20823
|
|
|
20350
|
-
class
|
|
20351
|
-
View3DPanel,
|
|
20824
|
+
class VIEW3D_PT_tools_weight_gradient(
|
|
20825
|
+
View3DPanel,
|
|
20826
|
+
bpy_types._GenericUI,
|
|
20827
|
+
View3DPaintPanel,
|
|
20828
|
+
bl_ui.properties_paint_common.UnifiedPaintPanel,
|
|
20352
20829
|
):
|
|
20353
20830
|
bl_category: typing.Any
|
|
20354
|
-
bl_context: typing.Any
|
|
20355
20831
|
bl_label: typing.Any
|
|
20356
20832
|
bl_options: typing.Any
|
|
20357
20833
|
bl_region_type: typing.Any
|
|
@@ -20398,13 +20874,6 @@ class VIEW3D_PT_tools_grease_pencil_brush_settings(
|
|
|
20398
20874
|
"""
|
|
20399
20875
|
...
|
|
20400
20876
|
|
|
20401
|
-
def draw_header_preset(self, _context):
|
|
20402
|
-
"""
|
|
20403
|
-
|
|
20404
|
-
:param _context:
|
|
20405
|
-
"""
|
|
20406
|
-
...
|
|
20407
|
-
|
|
20408
20877
|
def driver_add(self) -> bpy.types.FCurve:
|
|
20409
20878
|
"""Adds driver(s) to the given property
|
|
20410
20879
|
|
|
@@ -20428,6 +20897,14 @@ class VIEW3D_PT_tools_grease_pencil_brush_settings(
|
|
|
20428
20897
|
"""
|
|
20429
20898
|
...
|
|
20430
20899
|
|
|
20900
|
+
def get_brush_mode(self, context):
|
|
20901
|
+
"""Get the correct mode for this context. For any context where this returns None,
|
|
20902
|
+
no brush options should be displayed.
|
|
20903
|
+
|
|
20904
|
+
:param context:
|
|
20905
|
+
"""
|
|
20906
|
+
...
|
|
20907
|
+
|
|
20431
20908
|
def id_properties_clear(self):
|
|
20432
20909
|
"""
|
|
20433
20910
|
|
|
@@ -20514,6 +20991,13 @@ class VIEW3D_PT_tools_grease_pencil_brush_settings(
|
|
|
20514
20991
|
"""
|
|
20515
20992
|
...
|
|
20516
20993
|
|
|
20994
|
+
def paint_settings(self, context):
|
|
20995
|
+
"""
|
|
20996
|
+
|
|
20997
|
+
:param context:
|
|
20998
|
+
"""
|
|
20999
|
+
...
|
|
21000
|
+
|
|
20517
21001
|
def path_from_id(self) -> str:
|
|
20518
21002
|
"""Returns the data path from the ID to this object (string).
|
|
20519
21003
|
|
|
@@ -20549,6 +21033,59 @@ class VIEW3D_PT_tools_grease_pencil_brush_settings(
|
|
|
20549
21033
|
"""
|
|
20550
21034
|
...
|
|
20551
21035
|
|
|
21036
|
+
def prop_unified(
|
|
21037
|
+
self,
|
|
21038
|
+
layout,
|
|
21039
|
+
context,
|
|
21040
|
+
brush,
|
|
21041
|
+
prop_name,
|
|
21042
|
+
unified_name=None,
|
|
21043
|
+
pressure_name=None,
|
|
21044
|
+
icon="NONE",
|
|
21045
|
+
text=None,
|
|
21046
|
+
slider=False,
|
|
21047
|
+
header=False,
|
|
21048
|
+
):
|
|
21049
|
+
"""Generalized way of adding brush options to the UI,
|
|
21050
|
+
along with their pen pressure setting and global toggle, if they exist.
|
|
21051
|
+
|
|
21052
|
+
:param layout:
|
|
21053
|
+
:param context:
|
|
21054
|
+
:param brush:
|
|
21055
|
+
:param prop_name:
|
|
21056
|
+
:param unified_name:
|
|
21057
|
+
:param pressure_name:
|
|
21058
|
+
:param icon:
|
|
21059
|
+
:param text:
|
|
21060
|
+
:param slider:
|
|
21061
|
+
:param header:
|
|
21062
|
+
"""
|
|
21063
|
+
...
|
|
21064
|
+
|
|
21065
|
+
def prop_unified_color(self, parent, context, brush, prop_name, *, text=None):
|
|
21066
|
+
"""
|
|
21067
|
+
|
|
21068
|
+
:param parent:
|
|
21069
|
+
:param context:
|
|
21070
|
+
:param brush:
|
|
21071
|
+
:param prop_name:
|
|
21072
|
+
:param text:
|
|
21073
|
+
"""
|
|
21074
|
+
...
|
|
21075
|
+
|
|
21076
|
+
def prop_unified_color_picker(
|
|
21077
|
+
self, parent, context, brush, prop_name, value_slider=True
|
|
21078
|
+
):
|
|
21079
|
+
"""
|
|
21080
|
+
|
|
21081
|
+
:param parent:
|
|
21082
|
+
:param context:
|
|
21083
|
+
:param brush:
|
|
21084
|
+
:param prop_name:
|
|
21085
|
+
:param value_slider:
|
|
21086
|
+
"""
|
|
21087
|
+
...
|
|
21088
|
+
|
|
20552
21089
|
def property_overridable_library_set(self) -> bool:
|
|
20553
21090
|
"""Define a property as overridable or not (only for custom properties!).
|
|
20554
21091
|
|
|
@@ -20584,12 +21121,16 @@ class VIEW3D_PT_tools_grease_pencil_brush_settings(
|
|
|
20584
21121
|
"""
|
|
20585
21122
|
...
|
|
20586
21123
|
|
|
20587
|
-
class
|
|
20588
|
-
View3DPanel,
|
|
21124
|
+
class VIEW3D_PT_tools_weightpaint_options(
|
|
21125
|
+
View3DPanel,
|
|
21126
|
+
bpy_types._GenericUI,
|
|
21127
|
+
View3DPaintPanel,
|
|
21128
|
+
bl_ui.properties_paint_common.UnifiedPaintPanel,
|
|
20589
21129
|
):
|
|
20590
21130
|
bl_category: typing.Any
|
|
20591
21131
|
bl_context: typing.Any
|
|
20592
21132
|
bl_label: typing.Any
|
|
21133
|
+
bl_options: typing.Any
|
|
20593
21134
|
bl_region_type: typing.Any
|
|
20594
21135
|
bl_rna: typing.Any
|
|
20595
21136
|
bl_space_type: typing.Any
|
|
@@ -20657,6 +21198,14 @@ class VIEW3D_PT_tools_grease_pencil_sculpt_select(
|
|
|
20657
21198
|
"""
|
|
20658
21199
|
...
|
|
20659
21200
|
|
|
21201
|
+
def get_brush_mode(self, context):
|
|
21202
|
+
"""Get the correct mode for this context. For any context where this returns None,
|
|
21203
|
+
no brush options should be displayed.
|
|
21204
|
+
|
|
21205
|
+
:param context:
|
|
21206
|
+
"""
|
|
21207
|
+
...
|
|
21208
|
+
|
|
20660
21209
|
def id_properties_clear(self):
|
|
20661
21210
|
"""
|
|
20662
21211
|
|
|
@@ -20743,6 +21292,13 @@ class VIEW3D_PT_tools_grease_pencil_sculpt_select(
|
|
|
20743
21292
|
"""
|
|
20744
21293
|
...
|
|
20745
21294
|
|
|
21295
|
+
def paint_settings(self, context):
|
|
21296
|
+
"""
|
|
21297
|
+
|
|
21298
|
+
:param context:
|
|
21299
|
+
"""
|
|
21300
|
+
...
|
|
21301
|
+
|
|
20746
21302
|
def path_from_id(self) -> str:
|
|
20747
21303
|
"""Returns the data path from the ID to this object (string).
|
|
20748
21304
|
|
|
@@ -20756,13 +21312,6 @@ class VIEW3D_PT_tools_grease_pencil_sculpt_select(
|
|
|
20756
21312
|
"""Returns the property from the path, raise an exception when not found."""
|
|
20757
21313
|
...
|
|
20758
21314
|
|
|
20759
|
-
def poll(self, context):
|
|
20760
|
-
"""
|
|
20761
|
-
|
|
20762
|
-
:param context:
|
|
20763
|
-
"""
|
|
20764
|
-
...
|
|
20765
|
-
|
|
20766
21315
|
def pop(self):
|
|
20767
21316
|
"""Remove and return the value of the custom property assigned to key or default
|
|
20768
21317
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -20778,6 +21327,59 @@ class VIEW3D_PT_tools_grease_pencil_sculpt_select(
|
|
|
20778
21327
|
"""
|
|
20779
21328
|
...
|
|
20780
21329
|
|
|
21330
|
+
def prop_unified(
|
|
21331
|
+
self,
|
|
21332
|
+
layout,
|
|
21333
|
+
context,
|
|
21334
|
+
brush,
|
|
21335
|
+
prop_name,
|
|
21336
|
+
unified_name=None,
|
|
21337
|
+
pressure_name=None,
|
|
21338
|
+
icon="NONE",
|
|
21339
|
+
text=None,
|
|
21340
|
+
slider=False,
|
|
21341
|
+
header=False,
|
|
21342
|
+
):
|
|
21343
|
+
"""Generalized way of adding brush options to the UI,
|
|
21344
|
+
along with their pen pressure setting and global toggle, if they exist.
|
|
21345
|
+
|
|
21346
|
+
:param layout:
|
|
21347
|
+
:param context:
|
|
21348
|
+
:param brush:
|
|
21349
|
+
:param prop_name:
|
|
21350
|
+
:param unified_name:
|
|
21351
|
+
:param pressure_name:
|
|
21352
|
+
:param icon:
|
|
21353
|
+
:param text:
|
|
21354
|
+
:param slider:
|
|
21355
|
+
:param header:
|
|
21356
|
+
"""
|
|
21357
|
+
...
|
|
21358
|
+
|
|
21359
|
+
def prop_unified_color(self, parent, context, brush, prop_name, *, text=None):
|
|
21360
|
+
"""
|
|
21361
|
+
|
|
21362
|
+
:param parent:
|
|
21363
|
+
:param context:
|
|
21364
|
+
:param brush:
|
|
21365
|
+
:param prop_name:
|
|
21366
|
+
:param text:
|
|
21367
|
+
"""
|
|
21368
|
+
...
|
|
21369
|
+
|
|
21370
|
+
def prop_unified_color_picker(
|
|
21371
|
+
self, parent, context, brush, prop_name, value_slider=True
|
|
21372
|
+
):
|
|
21373
|
+
"""
|
|
21374
|
+
|
|
21375
|
+
:param parent:
|
|
21376
|
+
:param context:
|
|
21377
|
+
:param brush:
|
|
21378
|
+
:param prop_name:
|
|
21379
|
+
:param value_slider:
|
|
21380
|
+
"""
|
|
21381
|
+
...
|
|
21382
|
+
|
|
20781
21383
|
def property_overridable_library_set(self) -> bool:
|
|
20782
21384
|
"""Define a property as overridable or not (only for custom properties!).
|
|
20783
21385
|
|
|
@@ -20813,12 +21415,16 @@ class VIEW3D_PT_tools_grease_pencil_sculpt_select(
|
|
|
20813
21415
|
"""
|
|
20814
21416
|
...
|
|
20815
21417
|
|
|
20816
|
-
class
|
|
20817
|
-
View3DPanel,
|
|
21418
|
+
class VIEW3D_PT_tools_weightpaint_symmetry(
|
|
21419
|
+
View3DPanel,
|
|
21420
|
+
bpy_types._GenericUI,
|
|
21421
|
+
View3DPaintPanel,
|
|
21422
|
+
bl_ui.properties_paint_common.UnifiedPaintPanel,
|
|
20818
21423
|
):
|
|
20819
21424
|
bl_category: typing.Any
|
|
20820
21425
|
bl_context: typing.Any
|
|
20821
21426
|
bl_label: typing.Any
|
|
21427
|
+
bl_options: typing.Any
|
|
20822
21428
|
bl_region_type: typing.Any
|
|
20823
21429
|
bl_rna: typing.Any
|
|
20824
21430
|
bl_space_type: typing.Any
|
|
@@ -20886,6 +21492,14 @@ class VIEW3D_PT_tools_grease_pencil_sculpt_settings(
|
|
|
20886
21492
|
"""
|
|
20887
21493
|
...
|
|
20888
21494
|
|
|
21495
|
+
def get_brush_mode(self, context):
|
|
21496
|
+
"""Get the correct mode for this context. For any context where this returns None,
|
|
21497
|
+
no brush options should be displayed.
|
|
21498
|
+
|
|
21499
|
+
:param context:
|
|
21500
|
+
"""
|
|
21501
|
+
...
|
|
21502
|
+
|
|
20889
21503
|
def id_properties_clear(self):
|
|
20890
21504
|
"""
|
|
20891
21505
|
|
|
@@ -20972,6 +21586,13 @@ class VIEW3D_PT_tools_grease_pencil_sculpt_settings(
|
|
|
20972
21586
|
"""
|
|
20973
21587
|
...
|
|
20974
21588
|
|
|
21589
|
+
def paint_settings(self, context):
|
|
21590
|
+
"""
|
|
21591
|
+
|
|
21592
|
+
:param context:
|
|
21593
|
+
"""
|
|
21594
|
+
...
|
|
21595
|
+
|
|
20975
21596
|
def path_from_id(self) -> str:
|
|
20976
21597
|
"""Returns the data path from the ID to this object (string).
|
|
20977
21598
|
|
|
@@ -21007,6 +21628,59 @@ class VIEW3D_PT_tools_grease_pencil_sculpt_settings(
|
|
|
21007
21628
|
"""
|
|
21008
21629
|
...
|
|
21009
21630
|
|
|
21631
|
+
def prop_unified(
|
|
21632
|
+
self,
|
|
21633
|
+
layout,
|
|
21634
|
+
context,
|
|
21635
|
+
brush,
|
|
21636
|
+
prop_name,
|
|
21637
|
+
unified_name=None,
|
|
21638
|
+
pressure_name=None,
|
|
21639
|
+
icon="NONE",
|
|
21640
|
+
text=None,
|
|
21641
|
+
slider=False,
|
|
21642
|
+
header=False,
|
|
21643
|
+
):
|
|
21644
|
+
"""Generalized way of adding brush options to the UI,
|
|
21645
|
+
along with their pen pressure setting and global toggle, if they exist.
|
|
21646
|
+
|
|
21647
|
+
:param layout:
|
|
21648
|
+
:param context:
|
|
21649
|
+
:param brush:
|
|
21650
|
+
:param prop_name:
|
|
21651
|
+
:param unified_name:
|
|
21652
|
+
:param pressure_name:
|
|
21653
|
+
:param icon:
|
|
21654
|
+
:param text:
|
|
21655
|
+
:param slider:
|
|
21656
|
+
:param header:
|
|
21657
|
+
"""
|
|
21658
|
+
...
|
|
21659
|
+
|
|
21660
|
+
def prop_unified_color(self, parent, context, brush, prop_name, *, text=None):
|
|
21661
|
+
"""
|
|
21662
|
+
|
|
21663
|
+
:param parent:
|
|
21664
|
+
:param context:
|
|
21665
|
+
:param brush:
|
|
21666
|
+
:param prop_name:
|
|
21667
|
+
:param text:
|
|
21668
|
+
"""
|
|
21669
|
+
...
|
|
21670
|
+
|
|
21671
|
+
def prop_unified_color_picker(
|
|
21672
|
+
self, parent, context, brush, prop_name, value_slider=True
|
|
21673
|
+
):
|
|
21674
|
+
"""
|
|
21675
|
+
|
|
21676
|
+
:param parent:
|
|
21677
|
+
:param context:
|
|
21678
|
+
:param brush:
|
|
21679
|
+
:param prop_name:
|
|
21680
|
+
:param value_slider:
|
|
21681
|
+
"""
|
|
21682
|
+
...
|
|
21683
|
+
|
|
21010
21684
|
def property_overridable_library_set(self) -> bool:
|
|
21011
21685
|
"""Define a property as overridable or not (only for custom properties!).
|
|
21012
21686
|
|
|
@@ -21042,11 +21716,7 @@ class VIEW3D_PT_tools_grease_pencil_sculpt_settings(
|
|
|
21042
21716
|
"""
|
|
21043
21717
|
...
|
|
21044
21718
|
|
|
21045
|
-
class
|
|
21046
|
-
View3DPanel, bpy_types._GenericUI, GreasePencilV3PaintPanel
|
|
21047
|
-
):
|
|
21048
|
-
bl_category: typing.Any
|
|
21049
|
-
bl_context: typing.Any
|
|
21719
|
+
class VIEW3D_PT_tools_weightpaint_symmetry_for_topbar(bpy_types._GenericUI):
|
|
21050
21720
|
bl_label: typing.Any
|
|
21051
21721
|
bl_region_type: typing.Any
|
|
21052
21722
|
bl_rna: typing.Any
|
|
@@ -21214,13 +21884,6 @@ class VIEW3D_PT_tools_grease_pencil_v3_brush_select(
|
|
|
21214
21884
|
"""Returns the property from the path, raise an exception when not found."""
|
|
21215
21885
|
...
|
|
21216
21886
|
|
|
21217
|
-
def poll(self, context):
|
|
21218
|
-
"""
|
|
21219
|
-
|
|
21220
|
-
:param context:
|
|
21221
|
-
"""
|
|
21222
|
-
...
|
|
21223
|
-
|
|
21224
21887
|
def pop(self):
|
|
21225
21888
|
"""Remove and return the value of the custom property assigned to key or default
|
|
21226
21889
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -21271,8 +21934,163 @@ class VIEW3D_PT_tools_grease_pencil_v3_brush_select(
|
|
|
21271
21934
|
"""
|
|
21272
21935
|
...
|
|
21273
21936
|
|
|
21274
|
-
class
|
|
21275
|
-
View3DPanel,
|
|
21937
|
+
class View3DPaintBrushPanel(
|
|
21938
|
+
View3DPanel, View3DPaintPanel, bl_ui.properties_paint_common.UnifiedPaintPanel
|
|
21939
|
+
):
|
|
21940
|
+
bl_category: typing.Any
|
|
21941
|
+
bl_region_type: typing.Any
|
|
21942
|
+
bl_space_type: typing.Any
|
|
21943
|
+
|
|
21944
|
+
def get_brush_mode(self, context):
|
|
21945
|
+
"""Get the correct mode for this context. For any context where this returns None,
|
|
21946
|
+
no brush options should be displayed.
|
|
21947
|
+
|
|
21948
|
+
:param context:
|
|
21949
|
+
"""
|
|
21950
|
+
...
|
|
21951
|
+
|
|
21952
|
+
def paint_settings(self, context):
|
|
21953
|
+
"""
|
|
21954
|
+
|
|
21955
|
+
:param context:
|
|
21956
|
+
"""
|
|
21957
|
+
...
|
|
21958
|
+
|
|
21959
|
+
def poll(self, context):
|
|
21960
|
+
"""
|
|
21961
|
+
|
|
21962
|
+
:param context:
|
|
21963
|
+
"""
|
|
21964
|
+
...
|
|
21965
|
+
|
|
21966
|
+
def prop_unified(
|
|
21967
|
+
self,
|
|
21968
|
+
layout,
|
|
21969
|
+
context,
|
|
21970
|
+
brush,
|
|
21971
|
+
prop_name,
|
|
21972
|
+
unified_name=None,
|
|
21973
|
+
pressure_name=None,
|
|
21974
|
+
icon="NONE",
|
|
21975
|
+
text=None,
|
|
21976
|
+
slider=False,
|
|
21977
|
+
header=False,
|
|
21978
|
+
):
|
|
21979
|
+
"""Generalized way of adding brush options to the UI,
|
|
21980
|
+
along with their pen pressure setting and global toggle, if they exist.
|
|
21981
|
+
|
|
21982
|
+
:param layout:
|
|
21983
|
+
:param context:
|
|
21984
|
+
:param brush:
|
|
21985
|
+
:param prop_name:
|
|
21986
|
+
:param unified_name:
|
|
21987
|
+
:param pressure_name:
|
|
21988
|
+
:param icon:
|
|
21989
|
+
:param text:
|
|
21990
|
+
:param slider:
|
|
21991
|
+
:param header:
|
|
21992
|
+
"""
|
|
21993
|
+
...
|
|
21994
|
+
|
|
21995
|
+
def prop_unified_color(self, parent, context, brush, prop_name, *, text=None):
|
|
21996
|
+
"""
|
|
21997
|
+
|
|
21998
|
+
:param parent:
|
|
21999
|
+
:param context:
|
|
22000
|
+
:param brush:
|
|
22001
|
+
:param prop_name:
|
|
22002
|
+
:param text:
|
|
22003
|
+
"""
|
|
22004
|
+
...
|
|
22005
|
+
|
|
22006
|
+
def prop_unified_color_picker(
|
|
22007
|
+
self, parent, context, brush, prop_name, value_slider=True
|
|
22008
|
+
):
|
|
22009
|
+
"""
|
|
22010
|
+
|
|
22011
|
+
:param parent:
|
|
22012
|
+
:param context:
|
|
22013
|
+
:param brush:
|
|
22014
|
+
:param prop_name:
|
|
22015
|
+
:param value_slider:
|
|
22016
|
+
"""
|
|
22017
|
+
...
|
|
22018
|
+
|
|
22019
|
+
class View3DPaintPanel(View3DPanel, bl_ui.properties_paint_common.UnifiedPaintPanel):
|
|
22020
|
+
bl_category: typing.Any
|
|
22021
|
+
bl_region_type: typing.Any
|
|
22022
|
+
bl_space_type: typing.Any
|
|
22023
|
+
|
|
22024
|
+
def get_brush_mode(self, context):
|
|
22025
|
+
"""Get the correct mode for this context. For any context where this returns None,
|
|
22026
|
+
no brush options should be displayed.
|
|
22027
|
+
|
|
22028
|
+
:param context:
|
|
22029
|
+
"""
|
|
22030
|
+
...
|
|
22031
|
+
|
|
22032
|
+
def paint_settings(self, context):
|
|
22033
|
+
"""
|
|
22034
|
+
|
|
22035
|
+
:param context:
|
|
22036
|
+
"""
|
|
22037
|
+
...
|
|
22038
|
+
|
|
22039
|
+
def prop_unified(
|
|
22040
|
+
self,
|
|
22041
|
+
layout,
|
|
22042
|
+
context,
|
|
22043
|
+
brush,
|
|
22044
|
+
prop_name,
|
|
22045
|
+
unified_name=None,
|
|
22046
|
+
pressure_name=None,
|
|
22047
|
+
icon="NONE",
|
|
22048
|
+
text=None,
|
|
22049
|
+
slider=False,
|
|
22050
|
+
header=False,
|
|
22051
|
+
):
|
|
22052
|
+
"""Generalized way of adding brush options to the UI,
|
|
22053
|
+
along with their pen pressure setting and global toggle, if they exist.
|
|
22054
|
+
|
|
22055
|
+
:param layout:
|
|
22056
|
+
:param context:
|
|
22057
|
+
:param brush:
|
|
22058
|
+
:param prop_name:
|
|
22059
|
+
:param unified_name:
|
|
22060
|
+
:param pressure_name:
|
|
22061
|
+
:param icon:
|
|
22062
|
+
:param text:
|
|
22063
|
+
:param slider:
|
|
22064
|
+
:param header:
|
|
22065
|
+
"""
|
|
22066
|
+
...
|
|
22067
|
+
|
|
22068
|
+
def prop_unified_color(self, parent, context, brush, prop_name, *, text=None):
|
|
22069
|
+
"""
|
|
22070
|
+
|
|
22071
|
+
:param parent:
|
|
22072
|
+
:param context:
|
|
22073
|
+
:param brush:
|
|
22074
|
+
:param prop_name:
|
|
22075
|
+
:param text:
|
|
22076
|
+
"""
|
|
22077
|
+
...
|
|
22078
|
+
|
|
22079
|
+
def prop_unified_color_picker(
|
|
22080
|
+
self, parent, context, brush, prop_name, value_slider=True
|
|
22081
|
+
):
|
|
22082
|
+
"""
|
|
22083
|
+
|
|
22084
|
+
:param parent:
|
|
22085
|
+
:param context:
|
|
22086
|
+
:param brush:
|
|
22087
|
+
:param prop_name:
|
|
22088
|
+
:param value_slider:
|
|
22089
|
+
"""
|
|
22090
|
+
...
|
|
22091
|
+
|
|
22092
|
+
class VIEW3D_PT_tools_grease_pencil_brush_settings(
|
|
22093
|
+
View3DPanel, bpy_types._GenericUI, GreasePencilPaintPanel
|
|
21276
22094
|
):
|
|
21277
22095
|
bl_category: typing.Any
|
|
21278
22096
|
bl_context: typing.Any
|
|
@@ -21508,8 +22326,8 @@ class VIEW3D_PT_tools_grease_pencil_v3_brush_settings(
|
|
|
21508
22326
|
"""
|
|
21509
22327
|
...
|
|
21510
22328
|
|
|
21511
|
-
class
|
|
21512
|
-
bpy_types._GenericUI,
|
|
22329
|
+
class VIEW3D_PT_tools_grease_pencil_sculpt_settings(
|
|
22330
|
+
View3DPanel, bpy_types._GenericUI, GreasePencilSculptPanel
|
|
21513
22331
|
):
|
|
21514
22332
|
bl_category: typing.Any
|
|
21515
22333
|
bl_context: typing.Any
|
|
@@ -21737,12 +22555,13 @@ class VIEW3D_PT_tools_grease_pencil_vertex_paint_select(
|
|
|
21737
22555
|
"""
|
|
21738
22556
|
...
|
|
21739
22557
|
|
|
21740
|
-
class
|
|
21741
|
-
View3DPanel, bpy_types._GenericUI,
|
|
22558
|
+
class VIEW3D_PT_tools_grease_pencil_v3_brush_settings(
|
|
22559
|
+
View3DPanel, bpy_types._GenericUI, GreasePencilV3PaintPanel
|
|
21742
22560
|
):
|
|
21743
22561
|
bl_category: typing.Any
|
|
21744
22562
|
bl_context: typing.Any
|
|
21745
22563
|
bl_label: typing.Any
|
|
22564
|
+
bl_options: typing.Any
|
|
21746
22565
|
bl_region_type: typing.Any
|
|
21747
22566
|
bl_rna: typing.Any
|
|
21748
22567
|
bl_space_type: typing.Any
|
|
@@ -21787,6 +22606,13 @@ class VIEW3D_PT_tools_grease_pencil_vertex_paint_settings(
|
|
|
21787
22606
|
"""
|
|
21788
22607
|
...
|
|
21789
22608
|
|
|
22609
|
+
def draw_header_preset(self, _context):
|
|
22610
|
+
"""
|
|
22611
|
+
|
|
22612
|
+
:param _context:
|
|
22613
|
+
"""
|
|
22614
|
+
...
|
|
22615
|
+
|
|
21790
22616
|
def driver_add(self) -> bpy.types.FCurve:
|
|
21791
22617
|
"""Adds driver(s) to the given property
|
|
21792
22618
|
|
|
@@ -21966,13 +22792,12 @@ class VIEW3D_PT_tools_grease_pencil_vertex_paint_settings(
|
|
|
21966
22792
|
"""
|
|
21967
22793
|
...
|
|
21968
22794
|
|
|
21969
|
-
class
|
|
21970
|
-
View3DPanel, bpy_types._GenericUI,
|
|
22795
|
+
class VIEW3D_PT_tools_grease_pencil_vertex_paint_settings(
|
|
22796
|
+
View3DPanel, bpy_types._GenericUI, GreasePencilVertexPanel
|
|
21971
22797
|
):
|
|
21972
22798
|
bl_category: typing.Any
|
|
21973
22799
|
bl_context: typing.Any
|
|
21974
22800
|
bl_label: typing.Any
|
|
21975
|
-
bl_options: typing.Any
|
|
21976
22801
|
bl_region_type: typing.Any
|
|
21977
22802
|
bl_rna: typing.Any
|
|
21978
22803
|
bl_space_type: typing.Any
|
|
@@ -22196,12 +23021,13 @@ class VIEW3D_PT_tools_grease_pencil_weight_options(
|
|
|
22196
23021
|
"""
|
|
22197
23022
|
...
|
|
22198
23023
|
|
|
22199
|
-
class
|
|
22200
|
-
bpy_types._GenericUI,
|
|
23024
|
+
class VIEW3D_PT_tools_grease_pencil_weight_options(
|
|
23025
|
+
View3DPanel, bpy_types._GenericUI, GreasePencilWeightPanel
|
|
22201
23026
|
):
|
|
22202
23027
|
bl_category: typing.Any
|
|
22203
23028
|
bl_context: typing.Any
|
|
22204
23029
|
bl_label: typing.Any
|
|
23030
|
+
bl_options: typing.Any
|
|
22205
23031
|
bl_region_type: typing.Any
|
|
22206
23032
|
bl_rna: typing.Any
|
|
22207
23033
|
bl_space_type: typing.Any
|