fake-bpy-module 20240210__py3-none-any.whl → 20240326__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.
- addon_utils/__init__.pyi +54 -11
- animsys_refactor/__init__.pyi +36 -7
- aud/__init__.pyi +307 -321
- bgl/__init__.pyi +2926 -865
- bl_app_override/__init__.pyi +14 -4
- bl_app_override/helpers/__init__.pyi +24 -3
- bl_app_template_utils/__init__.pyi +19 -5
- bl_console_utils/__init__.pyi +0 -1
- bl_console_utils/autocomplete/__init__.pyi +2 -3
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +24 -6
- bl_console_utils/autocomplete/complete_import/__init__.pyi +14 -4
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +24 -6
- bl_console_utils/autocomplete/intellisense/__init__.pyi +9 -3
- bl_i18n_utils/__init__.pyi +2 -3
- bl_i18n_utils/bl_extract_messages/__init__.pyi +74 -16
- bl_i18n_utils/merge_po/__init__.pyi +4 -2
- bl_i18n_utils/settings/__init__.pyi +53 -7
- bl_i18n_utils/utils/__init__.pyi +332 -45
- bl_i18n_utils/utils_cli/__init__.pyi +29 -7
- bl_i18n_utils/utils_languages_menu/__init__.pyi +4 -2
- bl_i18n_utils/utils_rtl/__init__.pyi +9 -3
- bl_keymap_utils/__init__.pyi +2 -3
- bl_keymap_utils/io/__init__.pyi +44 -10
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +4 -2
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +4 -2
- bl_keymap_utils/platform_helpers/__init__.pyi +9 -3
- bl_keymap_utils/versioning/__init__.pyi +4 -2
- bl_math/__init__.pyi +21 -22
- bl_operators/__init__.pyi +30 -24
- bl_operators/add_mesh_torus/__init__.pyi +171 -38
- bl_operators/anim/__init__.pyi +1065 -227
- bl_operators/assets/__init__.pyi +427 -93
- bl_operators/bmesh/__init__.pyi +0 -1
- bl_operators/bmesh/find_adjacent/__init__.pyi +44 -10
- bl_operators/clip/__init__.pyi +1342 -288
- bl_operators/console/__init__.pyi +647 -141
- bl_operators/constraint/__init__.pyi +524 -113
- bl_operators/file/__init__.pyi +396 -85
- bl_operators/freestyle/__init__.pyi +532 -114
- bl_operators/geometry_nodes/__init__.pyi +2412 -597
- bl_operators/image/__init__.pyi +380 -83
- bl_operators/mesh/__init__.pyi +401 -86
- bl_operators/node/__init__.pyi +1756 -385
- bl_operators/object/__init__.pyi +2022 -553
- bl_operators/object_align/__init__.pyi +145 -32
- bl_operators/object_quick_effects/__init__.pyi +555 -125
- bl_operators/object_randomize_transform/__init__.pyi +136 -33
- bl_operators/presets/__init__.pyi +3516 -709
- bl_operators/rigidbody/__init__.pyi +401 -86
- bl_operators/screen_play_rendered_anim/__init__.pyi +129 -30
- bl_operators/sequencer/__init__.pyi +731 -150
- bl_operators/spreadsheet/__init__.pyi +145 -31
- bl_operators/userpref/__init__.pyi +3416 -825
- bl_operators/uvcalc_follow_active/__init__.pyi +149 -33
- bl_operators/uvcalc_lightmap/__init__.pyi +187 -35
- bl_operators/uvcalc_transform/__init__.pyi +344 -74
- bl_operators/vertexpaint_dirt/__init__.pyi +140 -31
- bl_operators/view3d/__init__.pyi +697 -147
- bl_operators/wm/__init__.pyi +6287 -1534
- bl_previews_utils/__init__.pyi +0 -1
- bl_previews_utils/bl_previews_render/__init__.pyi +34 -8
- bl_rna_utils/__init__.pyi +0 -1
- bl_rna_utils/data_path/__init__.pyi +12 -3
- bl_text_utils/__init__.pyi +0 -1
- bl_text_utils/external_editor/__init__.pyi +4 -2
- bl_ui/__init__.pyi +567 -170
- bl_ui/anim/__init__.pyi +164 -34
- bl_ui/asset_shelf/__init__.pyi +146 -32
- bl_ui/generic_ui_list/__init__.pyi +471 -100
- bl_ui/node_add_menu/__init__.pyi +196 -41
- bl_ui/node_add_menu_compositor/__init__.pyi +3017 -622
- bl_ui/node_add_menu_geometry/__init__.pyi +8075 -1592
- bl_ui/node_add_menu_shader/__init__.pyi +1709 -349
- bl_ui/node_add_menu_texture/__init__.pyi +1502 -306
- bl_ui/properties_animviz/__init__.pyi +32 -3
- bl_ui/properties_collection/__init__.pyi +787 -180
- bl_ui/properties_constraint/__init__.pyi +28635 -5524
- bl_ui/properties_data_armature/__init__.pyi +1905 -449
- bl_ui/properties_data_bone/__init__.pyi +1560 -337
- bl_ui/properties_data_camera/__init__.pyi +2269 -495
- bl_ui/properties_data_curve/__init__.pyi +2362 -535
- bl_ui/properties_data_curves/__init__.pyi +951 -204
- bl_ui/properties_data_empty/__init__.pyi +317 -70
- bl_ui/properties_data_gpencil/__init__.pyi +2924 -735
- bl_ui/properties_data_grease_pencil/__init__.pyi +1631 -189
- bl_ui/properties_data_lattice/__init__.pyi +472 -105
- bl_ui/properties_data_light/__init__.pyi +1570 -338
- bl_ui/properties_data_lightprobe/__init__.pyi +938 -209
- bl_ui/properties_data_mesh/__init__.pyi +3205 -768
- bl_ui/properties_data_metaball/__init__.pyi +774 -171
- bl_ui/properties_data_modifier/__init__.pyi +1554 -329
- bl_ui/properties_data_pointcloud/__init__.pyi +821 -195
- bl_ui/properties_data_shaderfx/__init__.pyi +154 -35
- bl_ui/properties_data_speaker/__init__.pyi +782 -169
- bl_ui/properties_data_volume/__init__.pyi +1243 -282
- bl_ui/properties_freestyle/__init__.pyi +4071 -1031
- bl_ui/properties_grease_pencil_common/__init__.pyi +2399 -484
- bl_ui/properties_mask_common/__init__.pyi +1256 -250
- bl_ui/properties_material/__init__.pyi +2351 -543
- bl_ui/properties_material_gpencil/__init__.pyi +1590 -366
- bl_ui/properties_object/__init__.pyi +2179 -513
- bl_ui/properties_output/__init__.pyi +2956 -706
- bl_ui/properties_paint_common/__init__.pyi +947 -141
- bl_ui/properties_particle/__init__.pyi +8322 -1971
- bl_ui/properties_physics_cloth/__init__.pyi +2254 -509
- bl_ui/properties_physics_common/__init__.pyi +200 -45
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +4454 -966
- bl_ui/properties_physics_field/__init__.pyi +1695 -365
- bl_ui/properties_physics_fluid/__init__.pyi +6127 -1281
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +157 -33
- bl_ui/properties_physics_rigidbody/__init__.pyi +1254 -279
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +2053 -484
- bl_ui/properties_physics_softbody/__init__.pyi +2394 -543
- bl_ui/properties_render/__init__.pyi +8312 -1934
- bl_ui/properties_scene/__init__.pyi +2211 -540
- bl_ui/properties_texture/__init__.pyi +4185 -1014
- bl_ui/properties_view_layer/__init__.pyi +2803 -665
- bl_ui/properties_workspace/__init__.pyi +626 -149
- bl_ui/properties_world/__init__.pyi +1092 -235
- bl_ui/space_clip/__init__.pyi +11475 -2806
- bl_ui/space_console/__init__.pyi +967 -203
- bl_ui/space_dopesheet/__init__.pyi +4260 -967
- bl_ui/space_filebrowser/__init__.pyi +4852 -1188
- bl_ui/space_graph/__init__.pyi +3251 -703
- bl_ui/space_image/__init__.pyi +12218 -2968
- bl_ui/space_info/__init__.pyi +964 -201
- bl_ui/space_nla/__init__.pyi +2756 -585
- bl_ui/space_node/__init__.pyi +5661 -1266
- bl_ui/space_outliner/__init__.pyi +2294 -479
- bl_ui/space_properties/__init__.pyi +417 -93
- bl_ui/space_sequencer/__init__.pyi +12436 -3010
- bl_ui/space_spreadsheet/__init__.pyi +184 -37
- bl_ui/space_statusbar/__init__.pyi +135 -31
- bl_ui/space_text/__init__.pyi +2556 -543
- bl_ui/space_time/__init__.pyi +1151 -244
- bl_ui/space_toolsystem_common/__init__.pyi +368 -67
- bl_ui/space_toolsystem_toolbar/__init__.pyi +1378 -229
- bl_ui/space_topbar/__init__.pyi +4214 -888
- bl_ui/space_userpref/__init__.pyi +13920 -3468
- bl_ui/space_view3d/__init__.pyi +42751 -9613
- bl_ui/space_view3d_toolbar/__init__.pyi +16379 -3860
- bl_ui/utils/__init__.pyi +42 -5
- bl_ui_utils/__init__.pyi +0 -1
- bl_ui_utils/bug_report_url/__init__.pyi +4 -2
- bl_ui_utils/layout/__init__.pyi +4 -2
- blend_render_info/__init__.pyi +13 -4
- blf/__init__.pyi +15 -18
- bmesh/__init__.pyi +18 -18
- bmesh/geometry/__init__.pyi +5 -6
- bmesh/ops/__init__.pyi +1337 -1158
- bmesh/types/__init__.pyi +464 -374
- bmesh/utils/__init__.pyi +64 -70
- bpy/__init__.pyi +6 -7
- bpy/app/__init__.pyi +36 -38
- bpy/app/handlers/__init__.pyi +37 -38
- bpy/app/icons/__init__.pyi +8 -11
- bpy/app/timers/__init__.pyi +18 -17
- bpy/app/translations/__init__.pyi +32 -30
- bpy/msgbus/__init__.pyi +25 -20
- bpy/ops/__init__.pyi +63 -64
- bpy/ops/action/__init__.pyi +408 -436
- bpy/ops/anim/__init__.pyi +459 -577
- bpy/ops/armature/__init__.pyi +396 -498
- bpy/ops/asset/__init__.pyi +187 -213
- bpy/ops/boid/__init__.pyi +50 -68
- bpy/ops/brush/__init__.pyi +72 -97
- bpy/ops/buttons/__init__.pyi +202 -193
- bpy/ops/cachefile/__init__.pyi +198 -188
- bpy/ops/camera/__init__.pyi +24 -31
- bpy/ops/clip/__init__.pyi +1021 -1082
- bpy/ops/cloth/__init__.pyi +11 -15
- bpy/ops/collection/__init__.pyi +36 -51
- bpy/ops/console/__init__.pyi +155 -209
- bpy/ops/constraint/__init__.pyi +286 -254
- bpy/ops/curve/__init__.pyi +597 -659
- bpy/ops/curves/__init__.pyi +191 -225
- bpy/ops/cycles/__init__.pyi +21 -30
- bpy/ops/dpaint/__init__.pyi +34 -47
- bpy/ops/ed/__init__.pyi +160 -176
- bpy/ops/export_anim/__init__.pyi +51 -34
- bpy/ops/export_mesh/__init__.pyi +47 -45
- bpy/ops/export_scene/__init__.pyi +659 -504
- bpy/ops/file/__init__.pyi +469 -474
- bpy/ops/fluid/__init__.pyi +89 -119
- bpy/ops/font/__init__.pyi +325 -361
- bpy/ops/geometry/__init__.pyi +86 -114
- bpy/ops/gizmogroup/__init__.pyi +22 -28
- bpy/ops/gpencil/__init__.pyi +1900 -1976
- bpy/ops/graph/__init__.pyi +875 -894
- bpy/ops/grease_pencil/__init__.pyi +572 -508
- bpy/ops/image/__init__.pyi +805 -855
- bpy/ops/import_anim/__init__.pyi +66 -46
- bpy/ops/import_curve/__init__.pyi +7 -11
- bpy/ops/import_mesh/__init__.pyi +19 -25
- bpy/ops/import_scene/__init__.pyi +164 -147
- bpy/ops/info/__init__.pyi +88 -85
- bpy/ops/lattice/__init__.pyi +86 -90
- bpy/ops/marker/__init__.pyi +135 -146
- bpy/ops/mask/__init__.pyi +372 -436
- bpy/ops/material/__init__.pyi +18 -25
- bpy/ops/mball/__init__.pyi +93 -99
- bpy/ops/mesh/__init__.pyi +2525 -2664
- bpy/ops/nla/__init__.pyi +398 -455
- bpy/ops/node/__init__.pyi +1015 -1207
- bpy/ops/object/__init__.pyi +3423 -3390
- bpy/ops/outliner/__init__.pyi +667 -685
- bpy/ops/paint/__init__.pyi +719 -672
- bpy/ops/paintcurve/__init__.pyi +64 -85
- bpy/ops/palette/__init__.pyi +48 -67
- bpy/ops/particle/__init__.pyi +323 -367
- bpy/ops/pose/__init__.pyi +569 -474
- bpy/ops/poselib/__init__.pyi +77 -100
- bpy/ops/preferences/__init__.pyi +460 -512
- bpy/ops/ptcache/__init__.pyi +46 -63
- bpy/ops/render/__init__.pyi +121 -155
- bpy/ops/rigidbody/__init__.pyi +148 -143
- bpy/ops/scene/__init__.pyi +336 -380
- bpy/ops/screen/__init__.pyi +454 -530
- bpy/ops/script/__init__.pyi +19 -28
- bpy/ops/sculpt/__init__.pyi +734 -587
- bpy/ops/sculpt_curves/__init__.pyi +51 -56
- bpy/ops/sequencer/__init__.pyi +1617 -1500
- bpy/ops/sound/__init__.pyi +392 -315
- bpy/ops/spreadsheet/__init__.pyi +31 -42
- bpy/ops/surface/__init__.pyi +198 -163
- bpy/ops/text/__init__.pyi +479 -545
- bpy/ops/text_editor/__init__.pyi +11 -15
- bpy/ops/texture/__init__.pyi +26 -36
- bpy/ops/transform/__init__.pyi +825 -941
- bpy/ops/ui/__init__.pyi +246 -295
- bpy/ops/uilist/__init__.pyi +34 -38
- bpy/ops/uv/__init__.pyi +912 -824
- bpy/ops/view2d/__init__.pyi +157 -197
- bpy/ops/view3d/__init__.pyi +777 -878
- bpy/ops/wm/__init__.pyi +4102 -3595
- bpy/ops/workspace/__init__.pyi +42 -58
- bpy/ops/world/__init__.pyi +6 -9
- bpy/path/__init__.pyi +166 -109
- bpy/props/__init__.pyi +478 -395
- bpy/types/__init__.pyi +87194 -81467
- bpy/utils/__init__.pyi +325 -169
- bpy/utils/previews/__init__.pyi +108 -21
- bpy/utils/units/__init__.pyi +37 -39
- bpy_extras/__init__.pyi +4 -9
- bpy_extras/anim_utils/__init__.pyi +25 -55
- bpy_extras/asset_utils/__init__.pyi +3 -13
- bpy_extras/id_map_utils/__init__.pyi +1 -4
- bpy_extras/image_utils/__init__.pyi +33 -23
- bpy_extras/io_utils/__init__.pyi +116 -66
- bpy_extras/keyconfig_utils/__init__.pyi +5 -3
- bpy_extras/mesh_utils/__init__.pyi +42 -34
- bpy_extras/node_utils/__init__.pyi +4 -4
- bpy_extras/object_utils/__init__.pyi +58 -43
- bpy_extras/view3d_utils/__init__.pyi +64 -63
- bpy_restrict_state/__init__.pyi +14 -2
- bpy_types/__init__.pyi +3873 -998
- console_python/__init__.pyi +41 -8
- console_shell/__init__.pyi +24 -6
- {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/METADATA +1 -1
- fake_bpy_module-20240326.dist-info/RECORD +343 -0
- {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/WHEEL +1 -1
- freestyle/__init__.pyi +4 -5
- freestyle/chainingiterators/__init__.pyi +229 -73
- freestyle/functions/__init__.pyi +624 -402
- freestyle/predicates/__init__.pyi +381 -169
- freestyle/shaders/__init__.pyi +424 -155
- freestyle/types/__init__.pyi +1572 -726
- freestyle/utils/ContextFunctions/__init__.pyi +54 -43
- freestyle/utils/__init__.pyi +67 -31
- gpu/__init__.pyi +3 -4
- gpu/capabilities/__init__.pyi +57 -37
- gpu/matrix/__init__.pyi +14 -17
- gpu/platform/__init__.pyi +5 -6
- gpu/select/__init__.pyi +2 -5
- gpu/shader/__init__.pyi +14 -12
- gpu/state/__init__.pyi +48 -62
- gpu/texture/__init__.pyi +7 -7
- gpu/types/__init__.pyi +670 -229
- gpu_extras/__init__.pyi +1 -2
- gpu_extras/batch/__init__.pyi +27 -6
- gpu_extras/presets/__init__.pyi +67 -27
- graphviz_export/__init__.pyi +9 -3
- idprop/__init__.pyi +0 -1
- idprop/types/__init__.pyi +42 -13
- imbuf/__init__.pyi +6 -10
- imbuf/types/__init__.pyi +8 -16
- keyingsets_builtins/__init__.pyi +3149 -702
- keyingsets_utils/__init__.pyi +69 -15
- mathutils/__init__.pyi +951 -876
- mathutils/bvhtree/__init__.pyi +47 -48
- mathutils/geometry/__init__.pyi +237 -242
- mathutils/interpolate/__init__.pyi +3 -6
- mathutils/kdtree/__init__.pyi +23 -26
- mathutils/noise/__init__.pyi +50 -51
- nodeitems_builtins/__init__.pyi +50 -11
- nodeitems_utils/__init__.pyi +58 -11
- rna_info/__init__.pyi +230 -27
- rna_keymap_ui/__init__.pyi +29 -7
- rna_prop_ui/__init__.pyi +69 -13
- rna_xml/__init__.pyi +29 -7
- sys_info/__init__.pyi +4 -2
- bpy_extras/bmesh_utils/__init__.pyi +0 -7
- bpy_extras/extensions/__init__.pyi +0 -5
- bpy_extras/extensions/junction_module/__init__.pyi +0 -13
- bpy_extras/node_shader_utils/__init__.pyi +0 -132
- bpy_extras/wm_utils/__init__.pyi +0 -5
- bpy_extras/wm_utils/progress_report/__init__.pyi +0 -30
- fake_bpy_module-20240210.dist-info/RECORD +0 -349
- {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/top_level.txt +0 -0
|
@@ -1,12 +1,32 @@
|
|
|
1
|
-
import sys
|
|
2
1
|
import typing
|
|
3
2
|
import bpy_types
|
|
4
3
|
|
|
5
4
|
GenericType = typing.TypeVar("GenericType")
|
|
6
5
|
|
|
7
|
-
class UnifiedPaintPanel:
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
class BrushPanel(UnifiedPaintPanel):
|
|
7
|
+
""" """
|
|
8
|
+
|
|
9
|
+
def get_brush_mode(self, context):
|
|
10
|
+
"""
|
|
11
|
+
|
|
12
|
+
:param context:
|
|
13
|
+
"""
|
|
14
|
+
...
|
|
15
|
+
|
|
16
|
+
def paint_settings(self, context):
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
:param context:
|
|
20
|
+
"""
|
|
21
|
+
...
|
|
22
|
+
|
|
23
|
+
def poll(self, context):
|
|
24
|
+
"""
|
|
25
|
+
|
|
26
|
+
:param context:
|
|
27
|
+
"""
|
|
28
|
+
...
|
|
29
|
+
|
|
10
30
|
def prop_unified(
|
|
11
31
|
self,
|
|
12
32
|
layout,
|
|
@@ -19,64 +39,80 @@ class UnifiedPaintPanel:
|
|
|
19
39
|
text,
|
|
20
40
|
slider,
|
|
21
41
|
header,
|
|
22
|
-
):
|
|
23
|
-
|
|
42
|
+
):
|
|
43
|
+
"""
|
|
44
|
+
|
|
45
|
+
:param layout:
|
|
46
|
+
:param context:
|
|
47
|
+
:param brush:
|
|
48
|
+
:param prop_name:
|
|
49
|
+
:param unified_name:
|
|
50
|
+
:param pressure_name:
|
|
51
|
+
:param icon:
|
|
52
|
+
:param text:
|
|
53
|
+
:param slider:
|
|
54
|
+
:param header:
|
|
55
|
+
"""
|
|
56
|
+
...
|
|
57
|
+
|
|
58
|
+
def prop_unified_color(self, parent, context, brush, prop_name, text):
|
|
59
|
+
"""
|
|
60
|
+
|
|
61
|
+
:param parent:
|
|
62
|
+
:param context:
|
|
63
|
+
:param brush:
|
|
64
|
+
:param prop_name:
|
|
65
|
+
:param text:
|
|
66
|
+
"""
|
|
67
|
+
...
|
|
68
|
+
|
|
24
69
|
def prop_unified_color_picker(
|
|
25
70
|
self, parent, context, brush, prop_name, value_slider
|
|
26
|
-
):
|
|
71
|
+
):
|
|
72
|
+
"""
|
|
73
|
+
|
|
74
|
+
:param parent:
|
|
75
|
+
:param context:
|
|
76
|
+
:param brush:
|
|
77
|
+
:param prop_name:
|
|
78
|
+
:param value_slider:
|
|
79
|
+
"""
|
|
80
|
+
...
|
|
81
|
+
|
|
82
|
+
class BrushSelectPanel(UnifiedPaintPanel):
|
|
83
|
+
""" """
|
|
27
84
|
|
|
28
|
-
class VIEW3D_MT_tools_projectpaint_clone(bpy_types.Menu, bpy_types._GenericUI):
|
|
29
85
|
bl_label: typing.Any
|
|
30
|
-
|
|
31
|
-
id_data: typing.Any
|
|
86
|
+
""" """
|
|
32
87
|
|
|
33
|
-
def
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
def
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
def
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
def
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
props_default,
|
|
61
|
-
prop_filepath,
|
|
62
|
-
filter_ext,
|
|
63
|
-
filter_path,
|
|
64
|
-
display_name,
|
|
65
|
-
add_operator,
|
|
66
|
-
): ...
|
|
67
|
-
def path_resolve(self): ...
|
|
68
|
-
def pop(self): ...
|
|
69
|
-
def prepend(self, draw_func): ...
|
|
70
|
-
def property_overridable_library_set(self): ...
|
|
71
|
-
def property_unset(self): ...
|
|
72
|
-
def remove(self, draw_func): ...
|
|
73
|
-
def type_recast(self): ...
|
|
74
|
-
def values(self): ...
|
|
88
|
+
def draw(self, context):
|
|
89
|
+
"""
|
|
90
|
+
|
|
91
|
+
:param context:
|
|
92
|
+
"""
|
|
93
|
+
...
|
|
94
|
+
|
|
95
|
+
def get_brush_mode(self, context):
|
|
96
|
+
"""
|
|
97
|
+
|
|
98
|
+
:param context:
|
|
99
|
+
"""
|
|
100
|
+
...
|
|
101
|
+
|
|
102
|
+
def paint_settings(self, context):
|
|
103
|
+
"""
|
|
104
|
+
|
|
105
|
+
:param context:
|
|
106
|
+
"""
|
|
107
|
+
...
|
|
108
|
+
|
|
109
|
+
def poll(self, context):
|
|
110
|
+
"""
|
|
111
|
+
|
|
112
|
+
:param context:
|
|
113
|
+
"""
|
|
114
|
+
...
|
|
75
115
|
|
|
76
|
-
class BrushPanel(UnifiedPaintPanel):
|
|
77
|
-
def get_brush_mode(self, context): ...
|
|
78
|
-
def paint_settings(self, context): ...
|
|
79
|
-
def poll(self, context): ...
|
|
80
116
|
def prop_unified(
|
|
81
117
|
self,
|
|
82
118
|
layout,
|
|
@@ -89,19 +125,90 @@ class BrushPanel(UnifiedPaintPanel):
|
|
|
89
125
|
text,
|
|
90
126
|
slider,
|
|
91
127
|
header,
|
|
92
|
-
):
|
|
93
|
-
|
|
128
|
+
):
|
|
129
|
+
"""
|
|
130
|
+
|
|
131
|
+
:param layout:
|
|
132
|
+
:param context:
|
|
133
|
+
:param brush:
|
|
134
|
+
:param prop_name:
|
|
135
|
+
:param unified_name:
|
|
136
|
+
:param pressure_name:
|
|
137
|
+
:param icon:
|
|
138
|
+
:param text:
|
|
139
|
+
:param slider:
|
|
140
|
+
:param header:
|
|
141
|
+
"""
|
|
142
|
+
...
|
|
143
|
+
|
|
144
|
+
def prop_unified_color(self, parent, context, brush, prop_name, text):
|
|
145
|
+
"""
|
|
146
|
+
|
|
147
|
+
:param parent:
|
|
148
|
+
:param context:
|
|
149
|
+
:param brush:
|
|
150
|
+
:param prop_name:
|
|
151
|
+
:param text:
|
|
152
|
+
"""
|
|
153
|
+
...
|
|
154
|
+
|
|
94
155
|
def prop_unified_color_picker(
|
|
95
156
|
self, parent, context, brush, prop_name, value_slider
|
|
96
|
-
):
|
|
157
|
+
):
|
|
158
|
+
"""
|
|
159
|
+
|
|
160
|
+
:param parent:
|
|
161
|
+
:param context:
|
|
162
|
+
:param brush:
|
|
163
|
+
:param prop_name:
|
|
164
|
+
:param value_slider:
|
|
165
|
+
"""
|
|
166
|
+
...
|
|
167
|
+
|
|
168
|
+
class ClonePanel(UnifiedPaintPanel):
|
|
169
|
+
""" """
|
|
97
170
|
|
|
98
|
-
class BrushSelectPanel(BrushPanel, UnifiedPaintPanel):
|
|
99
171
|
bl_label: typing.Any
|
|
172
|
+
""" """
|
|
173
|
+
|
|
174
|
+
bl_options: typing.Any
|
|
175
|
+
""" """
|
|
176
|
+
|
|
177
|
+
def draw(self, context):
|
|
178
|
+
"""
|
|
179
|
+
|
|
180
|
+
:param context:
|
|
181
|
+
"""
|
|
182
|
+
...
|
|
183
|
+
|
|
184
|
+
def draw_header(self, context):
|
|
185
|
+
"""
|
|
186
|
+
|
|
187
|
+
:param context:
|
|
188
|
+
"""
|
|
189
|
+
...
|
|
190
|
+
|
|
191
|
+
def get_brush_mode(self, context):
|
|
192
|
+
"""
|
|
193
|
+
|
|
194
|
+
:param context:
|
|
195
|
+
"""
|
|
196
|
+
...
|
|
197
|
+
|
|
198
|
+
def paint_settings(self, context):
|
|
199
|
+
"""
|
|
200
|
+
|
|
201
|
+
:param context:
|
|
202
|
+
"""
|
|
203
|
+
...
|
|
204
|
+
|
|
205
|
+
def poll(self, context):
|
|
206
|
+
"""
|
|
207
|
+
|
|
208
|
+
:param context:
|
|
209
|
+
"""
|
|
210
|
+
...
|
|
100
211
|
|
|
101
|
-
def draw(self, context): ...
|
|
102
|
-
def get_brush_mode(self, context): ...
|
|
103
|
-
def paint_settings(self, context): ...
|
|
104
|
-
def poll(self, context): ...
|
|
105
212
|
def prop_unified(
|
|
106
213
|
self,
|
|
107
214
|
layout,
|
|
@@ -114,21 +221,83 @@ class BrushSelectPanel(BrushPanel, UnifiedPaintPanel):
|
|
|
114
221
|
text,
|
|
115
222
|
slider,
|
|
116
223
|
header,
|
|
117
|
-
):
|
|
118
|
-
|
|
224
|
+
):
|
|
225
|
+
"""
|
|
226
|
+
|
|
227
|
+
:param layout:
|
|
228
|
+
:param context:
|
|
229
|
+
:param brush:
|
|
230
|
+
:param prop_name:
|
|
231
|
+
:param unified_name:
|
|
232
|
+
:param pressure_name:
|
|
233
|
+
:param icon:
|
|
234
|
+
:param text:
|
|
235
|
+
:param slider:
|
|
236
|
+
:param header:
|
|
237
|
+
"""
|
|
238
|
+
...
|
|
239
|
+
|
|
240
|
+
def prop_unified_color(self, parent, context, brush, prop_name, text):
|
|
241
|
+
"""
|
|
242
|
+
|
|
243
|
+
:param parent:
|
|
244
|
+
:param context:
|
|
245
|
+
:param brush:
|
|
246
|
+
:param prop_name:
|
|
247
|
+
:param text:
|
|
248
|
+
"""
|
|
249
|
+
...
|
|
250
|
+
|
|
119
251
|
def prop_unified_color_picker(
|
|
120
252
|
self, parent, context, brush, prop_name, value_slider
|
|
121
|
-
):
|
|
253
|
+
):
|
|
254
|
+
"""
|
|
255
|
+
|
|
256
|
+
:param parent:
|
|
257
|
+
:param context:
|
|
258
|
+
:param brush:
|
|
259
|
+
:param prop_name:
|
|
260
|
+
:param value_slider:
|
|
261
|
+
"""
|
|
262
|
+
...
|
|
263
|
+
|
|
264
|
+
class ColorPalettePanel(UnifiedPaintPanel):
|
|
265
|
+
""" """
|
|
122
266
|
|
|
123
|
-
class ClonePanel(BrushPanel, UnifiedPaintPanel):
|
|
124
267
|
bl_label: typing.Any
|
|
268
|
+
""" """
|
|
269
|
+
|
|
125
270
|
bl_options: typing.Any
|
|
271
|
+
""" """
|
|
272
|
+
|
|
273
|
+
def draw(self, context):
|
|
274
|
+
"""
|
|
275
|
+
|
|
276
|
+
:param context:
|
|
277
|
+
"""
|
|
278
|
+
...
|
|
279
|
+
|
|
280
|
+
def get_brush_mode(self, context):
|
|
281
|
+
"""
|
|
282
|
+
|
|
283
|
+
:param context:
|
|
284
|
+
"""
|
|
285
|
+
...
|
|
286
|
+
|
|
287
|
+
def paint_settings(self, context):
|
|
288
|
+
"""
|
|
289
|
+
|
|
290
|
+
:param context:
|
|
291
|
+
"""
|
|
292
|
+
...
|
|
293
|
+
|
|
294
|
+
def poll(self, context):
|
|
295
|
+
"""
|
|
296
|
+
|
|
297
|
+
:param context:
|
|
298
|
+
"""
|
|
299
|
+
...
|
|
126
300
|
|
|
127
|
-
def draw(self, context): ...
|
|
128
|
-
def draw_header(self, context): ...
|
|
129
|
-
def get_brush_mode(self, context): ...
|
|
130
|
-
def paint_settings(self, context): ...
|
|
131
|
-
def poll(self, context): ...
|
|
132
301
|
def prop_unified(
|
|
133
302
|
self,
|
|
134
303
|
layout,
|
|
@@ -141,20 +310,90 @@ class ClonePanel(BrushPanel, UnifiedPaintPanel):
|
|
|
141
310
|
text,
|
|
142
311
|
slider,
|
|
143
312
|
header,
|
|
144
|
-
):
|
|
145
|
-
|
|
313
|
+
):
|
|
314
|
+
"""
|
|
315
|
+
|
|
316
|
+
:param layout:
|
|
317
|
+
:param context:
|
|
318
|
+
:param brush:
|
|
319
|
+
:param prop_name:
|
|
320
|
+
:param unified_name:
|
|
321
|
+
:param pressure_name:
|
|
322
|
+
:param icon:
|
|
323
|
+
:param text:
|
|
324
|
+
:param slider:
|
|
325
|
+
:param header:
|
|
326
|
+
"""
|
|
327
|
+
...
|
|
328
|
+
|
|
329
|
+
def prop_unified_color(self, parent, context, brush, prop_name, text):
|
|
330
|
+
"""
|
|
331
|
+
|
|
332
|
+
:param parent:
|
|
333
|
+
:param context:
|
|
334
|
+
:param brush:
|
|
335
|
+
:param prop_name:
|
|
336
|
+
:param text:
|
|
337
|
+
"""
|
|
338
|
+
...
|
|
339
|
+
|
|
146
340
|
def prop_unified_color_picker(
|
|
147
341
|
self, parent, context, brush, prop_name, value_slider
|
|
148
|
-
):
|
|
342
|
+
):
|
|
343
|
+
"""
|
|
344
|
+
|
|
345
|
+
:param parent:
|
|
346
|
+
:param context:
|
|
347
|
+
:param brush:
|
|
348
|
+
:param prop_name:
|
|
349
|
+
:param value_slider:
|
|
350
|
+
"""
|
|
351
|
+
...
|
|
352
|
+
|
|
353
|
+
class DisplayPanel(UnifiedPaintPanel):
|
|
354
|
+
""" """
|
|
149
355
|
|
|
150
|
-
class ColorPalettePanel(BrushPanel, UnifiedPaintPanel):
|
|
151
356
|
bl_label: typing.Any
|
|
357
|
+
""" """
|
|
358
|
+
|
|
152
359
|
bl_options: typing.Any
|
|
360
|
+
""" """
|
|
361
|
+
|
|
362
|
+
def draw(self, context):
|
|
363
|
+
"""
|
|
364
|
+
|
|
365
|
+
:param context:
|
|
366
|
+
"""
|
|
367
|
+
...
|
|
368
|
+
|
|
369
|
+
def draw_header(self, context):
|
|
370
|
+
"""
|
|
371
|
+
|
|
372
|
+
:param context:
|
|
373
|
+
"""
|
|
374
|
+
...
|
|
375
|
+
|
|
376
|
+
def get_brush_mode(self, context):
|
|
377
|
+
"""
|
|
378
|
+
|
|
379
|
+
:param context:
|
|
380
|
+
"""
|
|
381
|
+
...
|
|
382
|
+
|
|
383
|
+
def paint_settings(self, context):
|
|
384
|
+
"""
|
|
385
|
+
|
|
386
|
+
:param context:
|
|
387
|
+
"""
|
|
388
|
+
...
|
|
389
|
+
|
|
390
|
+
def poll(self, context):
|
|
391
|
+
"""
|
|
392
|
+
|
|
393
|
+
:param context:
|
|
394
|
+
"""
|
|
395
|
+
...
|
|
153
396
|
|
|
154
|
-
def draw(self, context): ...
|
|
155
|
-
def get_brush_mode(self, context): ...
|
|
156
|
-
def paint_settings(self, context): ...
|
|
157
|
-
def poll(self, context): ...
|
|
158
397
|
def prop_unified(
|
|
159
398
|
self,
|
|
160
399
|
layout,
|
|
@@ -167,21 +406,83 @@ class ColorPalettePanel(BrushPanel, UnifiedPaintPanel):
|
|
|
167
406
|
text,
|
|
168
407
|
slider,
|
|
169
408
|
header,
|
|
170
|
-
):
|
|
171
|
-
|
|
409
|
+
):
|
|
410
|
+
"""
|
|
411
|
+
|
|
412
|
+
:param layout:
|
|
413
|
+
:param context:
|
|
414
|
+
:param brush:
|
|
415
|
+
:param prop_name:
|
|
416
|
+
:param unified_name:
|
|
417
|
+
:param pressure_name:
|
|
418
|
+
:param icon:
|
|
419
|
+
:param text:
|
|
420
|
+
:param slider:
|
|
421
|
+
:param header:
|
|
422
|
+
"""
|
|
423
|
+
...
|
|
424
|
+
|
|
425
|
+
def prop_unified_color(self, parent, context, brush, prop_name, text):
|
|
426
|
+
"""
|
|
427
|
+
|
|
428
|
+
:param parent:
|
|
429
|
+
:param context:
|
|
430
|
+
:param brush:
|
|
431
|
+
:param prop_name:
|
|
432
|
+
:param text:
|
|
433
|
+
"""
|
|
434
|
+
...
|
|
435
|
+
|
|
172
436
|
def prop_unified_color_picker(
|
|
173
437
|
self, parent, context, brush, prop_name, value_slider
|
|
174
|
-
):
|
|
438
|
+
):
|
|
439
|
+
"""
|
|
440
|
+
|
|
441
|
+
:param parent:
|
|
442
|
+
:param context:
|
|
443
|
+
:param brush:
|
|
444
|
+
:param prop_name:
|
|
445
|
+
:param value_slider:
|
|
446
|
+
"""
|
|
447
|
+
...
|
|
448
|
+
|
|
449
|
+
class FalloffPanel(UnifiedPaintPanel):
|
|
450
|
+
""" """
|
|
175
451
|
|
|
176
|
-
class DisplayPanel(BrushPanel, UnifiedPaintPanel):
|
|
177
452
|
bl_label: typing.Any
|
|
453
|
+
""" """
|
|
454
|
+
|
|
178
455
|
bl_options: typing.Any
|
|
456
|
+
""" """
|
|
457
|
+
|
|
458
|
+
def draw(self, context):
|
|
459
|
+
"""
|
|
460
|
+
|
|
461
|
+
:param context:
|
|
462
|
+
"""
|
|
463
|
+
...
|
|
464
|
+
|
|
465
|
+
def get_brush_mode(self, context):
|
|
466
|
+
"""
|
|
467
|
+
|
|
468
|
+
:param context:
|
|
469
|
+
"""
|
|
470
|
+
...
|
|
471
|
+
|
|
472
|
+
def paint_settings(self, context):
|
|
473
|
+
"""
|
|
474
|
+
|
|
475
|
+
:param context:
|
|
476
|
+
"""
|
|
477
|
+
...
|
|
478
|
+
|
|
479
|
+
def poll(self, context):
|
|
480
|
+
"""
|
|
481
|
+
|
|
482
|
+
:param context:
|
|
483
|
+
"""
|
|
484
|
+
...
|
|
179
485
|
|
|
180
|
-
def draw(self, context): ...
|
|
181
|
-
def draw_header(self, context): ...
|
|
182
|
-
def get_brush_mode(self, context): ...
|
|
183
|
-
def paint_settings(self, context): ...
|
|
184
|
-
def poll(self, context): ...
|
|
185
486
|
def prop_unified(
|
|
186
487
|
self,
|
|
187
488
|
layout,
|
|
@@ -194,20 +495,90 @@ class DisplayPanel(BrushPanel, UnifiedPaintPanel):
|
|
|
194
495
|
text,
|
|
195
496
|
slider,
|
|
196
497
|
header,
|
|
197
|
-
):
|
|
198
|
-
|
|
498
|
+
):
|
|
499
|
+
"""
|
|
500
|
+
|
|
501
|
+
:param layout:
|
|
502
|
+
:param context:
|
|
503
|
+
:param brush:
|
|
504
|
+
:param prop_name:
|
|
505
|
+
:param unified_name:
|
|
506
|
+
:param pressure_name:
|
|
507
|
+
:param icon:
|
|
508
|
+
:param text:
|
|
509
|
+
:param slider:
|
|
510
|
+
:param header:
|
|
511
|
+
"""
|
|
512
|
+
...
|
|
513
|
+
|
|
514
|
+
def prop_unified_color(self, parent, context, brush, prop_name, text):
|
|
515
|
+
"""
|
|
516
|
+
|
|
517
|
+
:param parent:
|
|
518
|
+
:param context:
|
|
519
|
+
:param brush:
|
|
520
|
+
:param prop_name:
|
|
521
|
+
:param text:
|
|
522
|
+
"""
|
|
523
|
+
...
|
|
524
|
+
|
|
199
525
|
def prop_unified_color_picker(
|
|
200
526
|
self, parent, context, brush, prop_name, value_slider
|
|
201
|
-
):
|
|
527
|
+
):
|
|
528
|
+
"""
|
|
529
|
+
|
|
530
|
+
:param parent:
|
|
531
|
+
:param context:
|
|
532
|
+
:param brush:
|
|
533
|
+
:param prop_name:
|
|
534
|
+
:param value_slider:
|
|
535
|
+
"""
|
|
536
|
+
...
|
|
537
|
+
|
|
538
|
+
class SmoothStrokePanel(UnifiedPaintPanel):
|
|
539
|
+
""" """
|
|
202
540
|
|
|
203
|
-
class FalloffPanel(BrushPanel, UnifiedPaintPanel):
|
|
204
541
|
bl_label: typing.Any
|
|
542
|
+
""" """
|
|
543
|
+
|
|
205
544
|
bl_options: typing.Any
|
|
545
|
+
""" """
|
|
546
|
+
|
|
547
|
+
def draw(self, context):
|
|
548
|
+
"""
|
|
549
|
+
|
|
550
|
+
:param context:
|
|
551
|
+
"""
|
|
552
|
+
...
|
|
553
|
+
|
|
554
|
+
def draw_header(self, context):
|
|
555
|
+
"""
|
|
556
|
+
|
|
557
|
+
:param context:
|
|
558
|
+
"""
|
|
559
|
+
...
|
|
560
|
+
|
|
561
|
+
def get_brush_mode(self, context):
|
|
562
|
+
"""
|
|
563
|
+
|
|
564
|
+
:param context:
|
|
565
|
+
"""
|
|
566
|
+
...
|
|
567
|
+
|
|
568
|
+
def paint_settings(self, context):
|
|
569
|
+
"""
|
|
570
|
+
|
|
571
|
+
:param context:
|
|
572
|
+
"""
|
|
573
|
+
...
|
|
574
|
+
|
|
575
|
+
def poll(self, context):
|
|
576
|
+
"""
|
|
577
|
+
|
|
578
|
+
:param context:
|
|
579
|
+
"""
|
|
580
|
+
...
|
|
206
581
|
|
|
207
|
-
def draw(self, context): ...
|
|
208
|
-
def get_brush_mode(self, context): ...
|
|
209
|
-
def paint_settings(self, context): ...
|
|
210
|
-
def poll(self, context): ...
|
|
211
582
|
def prop_unified(
|
|
212
583
|
self,
|
|
213
584
|
layout,
|
|
@@ -220,21 +591,86 @@ class FalloffPanel(BrushPanel, UnifiedPaintPanel):
|
|
|
220
591
|
text,
|
|
221
592
|
slider,
|
|
222
593
|
header,
|
|
223
|
-
):
|
|
224
|
-
|
|
594
|
+
):
|
|
595
|
+
"""
|
|
596
|
+
|
|
597
|
+
:param layout:
|
|
598
|
+
:param context:
|
|
599
|
+
:param brush:
|
|
600
|
+
:param prop_name:
|
|
601
|
+
:param unified_name:
|
|
602
|
+
:param pressure_name:
|
|
603
|
+
:param icon:
|
|
604
|
+
:param text:
|
|
605
|
+
:param slider:
|
|
606
|
+
:param header:
|
|
607
|
+
"""
|
|
608
|
+
...
|
|
609
|
+
|
|
610
|
+
def prop_unified_color(self, parent, context, brush, prop_name, text):
|
|
611
|
+
"""
|
|
612
|
+
|
|
613
|
+
:param parent:
|
|
614
|
+
:param context:
|
|
615
|
+
:param brush:
|
|
616
|
+
:param prop_name:
|
|
617
|
+
:param text:
|
|
618
|
+
"""
|
|
619
|
+
...
|
|
620
|
+
|
|
225
621
|
def prop_unified_color_picker(
|
|
226
622
|
self, parent, context, brush, prop_name, value_slider
|
|
227
|
-
):
|
|
623
|
+
):
|
|
624
|
+
"""
|
|
625
|
+
|
|
626
|
+
:param parent:
|
|
627
|
+
:param context:
|
|
628
|
+
:param brush:
|
|
629
|
+
:param prop_name:
|
|
630
|
+
:param value_slider:
|
|
631
|
+
"""
|
|
632
|
+
...
|
|
633
|
+
|
|
634
|
+
class StrokePanel(UnifiedPaintPanel):
|
|
635
|
+
""" """
|
|
228
636
|
|
|
229
|
-
class SmoothStrokePanel(BrushPanel, UnifiedPaintPanel):
|
|
230
637
|
bl_label: typing.Any
|
|
638
|
+
""" """
|
|
639
|
+
|
|
231
640
|
bl_options: typing.Any
|
|
641
|
+
""" """
|
|
642
|
+
|
|
643
|
+
bl_ui_units_x: typing.Any
|
|
644
|
+
""" """
|
|
645
|
+
|
|
646
|
+
def draw(self, context):
|
|
647
|
+
"""
|
|
648
|
+
|
|
649
|
+
:param context:
|
|
650
|
+
"""
|
|
651
|
+
...
|
|
652
|
+
|
|
653
|
+
def get_brush_mode(self, context):
|
|
654
|
+
"""
|
|
655
|
+
|
|
656
|
+
:param context:
|
|
657
|
+
"""
|
|
658
|
+
...
|
|
659
|
+
|
|
660
|
+
def paint_settings(self, context):
|
|
661
|
+
"""
|
|
662
|
+
|
|
663
|
+
:param context:
|
|
664
|
+
"""
|
|
665
|
+
...
|
|
666
|
+
|
|
667
|
+
def poll(self, context):
|
|
668
|
+
"""
|
|
669
|
+
|
|
670
|
+
:param context:
|
|
671
|
+
"""
|
|
672
|
+
...
|
|
232
673
|
|
|
233
|
-
def draw(self, context): ...
|
|
234
|
-
def draw_header(self, context): ...
|
|
235
|
-
def get_brush_mode(self, context): ...
|
|
236
|
-
def paint_settings(self, context): ...
|
|
237
|
-
def poll(self, context): ...
|
|
238
674
|
def prop_unified(
|
|
239
675
|
self,
|
|
240
676
|
layout,
|
|
@@ -247,21 +683,83 @@ class SmoothStrokePanel(BrushPanel, UnifiedPaintPanel):
|
|
|
247
683
|
text,
|
|
248
684
|
slider,
|
|
249
685
|
header,
|
|
250
|
-
):
|
|
251
|
-
|
|
686
|
+
):
|
|
687
|
+
"""
|
|
688
|
+
|
|
689
|
+
:param layout:
|
|
690
|
+
:param context:
|
|
691
|
+
:param brush:
|
|
692
|
+
:param prop_name:
|
|
693
|
+
:param unified_name:
|
|
694
|
+
:param pressure_name:
|
|
695
|
+
:param icon:
|
|
696
|
+
:param text:
|
|
697
|
+
:param slider:
|
|
698
|
+
:param header:
|
|
699
|
+
"""
|
|
700
|
+
...
|
|
701
|
+
|
|
702
|
+
def prop_unified_color(self, parent, context, brush, prop_name, text):
|
|
703
|
+
"""
|
|
704
|
+
|
|
705
|
+
:param parent:
|
|
706
|
+
:param context:
|
|
707
|
+
:param brush:
|
|
708
|
+
:param prop_name:
|
|
709
|
+
:param text:
|
|
710
|
+
"""
|
|
711
|
+
...
|
|
712
|
+
|
|
252
713
|
def prop_unified_color_picker(
|
|
253
714
|
self, parent, context, brush, prop_name, value_slider
|
|
254
|
-
):
|
|
715
|
+
):
|
|
716
|
+
"""
|
|
717
|
+
|
|
718
|
+
:param parent:
|
|
719
|
+
:param context:
|
|
720
|
+
:param brush:
|
|
721
|
+
:param prop_name:
|
|
722
|
+
:param value_slider:
|
|
723
|
+
"""
|
|
724
|
+
...
|
|
725
|
+
|
|
726
|
+
class TextureMaskPanel(UnifiedPaintPanel):
|
|
727
|
+
""" """
|
|
255
728
|
|
|
256
|
-
class StrokePanel(BrushPanel, UnifiedPaintPanel):
|
|
257
729
|
bl_label: typing.Any
|
|
730
|
+
""" """
|
|
731
|
+
|
|
258
732
|
bl_options: typing.Any
|
|
259
|
-
|
|
733
|
+
""" """
|
|
734
|
+
|
|
735
|
+
def draw(self, context):
|
|
736
|
+
"""
|
|
737
|
+
|
|
738
|
+
:param context:
|
|
739
|
+
"""
|
|
740
|
+
...
|
|
741
|
+
|
|
742
|
+
def get_brush_mode(self, context):
|
|
743
|
+
"""
|
|
744
|
+
|
|
745
|
+
:param context:
|
|
746
|
+
"""
|
|
747
|
+
...
|
|
748
|
+
|
|
749
|
+
def paint_settings(self, context):
|
|
750
|
+
"""
|
|
751
|
+
|
|
752
|
+
:param context:
|
|
753
|
+
"""
|
|
754
|
+
...
|
|
755
|
+
|
|
756
|
+
def poll(self, context):
|
|
757
|
+
"""
|
|
758
|
+
|
|
759
|
+
:param context:
|
|
760
|
+
"""
|
|
761
|
+
...
|
|
260
762
|
|
|
261
|
-
def draw(self, context): ...
|
|
262
|
-
def get_brush_mode(self, context): ...
|
|
263
|
-
def paint_settings(self, context): ...
|
|
264
|
-
def poll(self, context): ...
|
|
265
763
|
def prop_unified(
|
|
266
764
|
self,
|
|
267
765
|
layout,
|
|
@@ -274,20 +772,242 @@ class StrokePanel(BrushPanel, UnifiedPaintPanel):
|
|
|
274
772
|
text,
|
|
275
773
|
slider,
|
|
276
774
|
header,
|
|
277
|
-
):
|
|
278
|
-
|
|
775
|
+
):
|
|
776
|
+
"""
|
|
777
|
+
|
|
778
|
+
:param layout:
|
|
779
|
+
:param context:
|
|
780
|
+
:param brush:
|
|
781
|
+
:param prop_name:
|
|
782
|
+
:param unified_name:
|
|
783
|
+
:param pressure_name:
|
|
784
|
+
:param icon:
|
|
785
|
+
:param text:
|
|
786
|
+
:param slider:
|
|
787
|
+
:param header:
|
|
788
|
+
"""
|
|
789
|
+
...
|
|
790
|
+
|
|
791
|
+
def prop_unified_color(self, parent, context, brush, prop_name, text):
|
|
792
|
+
"""
|
|
793
|
+
|
|
794
|
+
:param parent:
|
|
795
|
+
:param context:
|
|
796
|
+
:param brush:
|
|
797
|
+
:param prop_name:
|
|
798
|
+
:param text:
|
|
799
|
+
"""
|
|
800
|
+
...
|
|
801
|
+
|
|
279
802
|
def prop_unified_color_picker(
|
|
280
803
|
self, parent, context, brush, prop_name, value_slider
|
|
281
|
-
):
|
|
804
|
+
):
|
|
805
|
+
"""
|
|
806
|
+
|
|
807
|
+
:param parent:
|
|
808
|
+
:param context:
|
|
809
|
+
:param brush:
|
|
810
|
+
:param prop_name:
|
|
811
|
+
:param value_slider:
|
|
812
|
+
"""
|
|
813
|
+
...
|
|
814
|
+
|
|
815
|
+
class VIEW3D_MT_tools_projectpaint_clone(bpy_types._GenericUI):
|
|
816
|
+
""" """
|
|
282
817
|
|
|
283
|
-
class TextureMaskPanel(BrushPanel, UnifiedPaintPanel):
|
|
284
818
|
bl_label: typing.Any
|
|
285
|
-
|
|
819
|
+
""" """
|
|
820
|
+
|
|
821
|
+
bl_rna: typing.Any
|
|
822
|
+
""" """
|
|
823
|
+
|
|
824
|
+
id_data: typing.Any
|
|
825
|
+
""" """
|
|
826
|
+
|
|
827
|
+
def append(self, draw_func):
|
|
828
|
+
"""
|
|
829
|
+
|
|
830
|
+
:param draw_func:
|
|
831
|
+
"""
|
|
832
|
+
...
|
|
833
|
+
|
|
834
|
+
def as_pointer(self):
|
|
835
|
+
""" """
|
|
836
|
+
...
|
|
837
|
+
|
|
838
|
+
def bl_rna_get_subclass(self):
|
|
839
|
+
""" """
|
|
840
|
+
...
|
|
841
|
+
|
|
842
|
+
def bl_rna_get_subclass_py(self):
|
|
843
|
+
""" """
|
|
844
|
+
...
|
|
845
|
+
|
|
846
|
+
def draw(self, context):
|
|
847
|
+
"""
|
|
848
|
+
|
|
849
|
+
:param context:
|
|
850
|
+
"""
|
|
851
|
+
...
|
|
852
|
+
|
|
853
|
+
def draw_collapsible(self, context, layout):
|
|
854
|
+
"""
|
|
855
|
+
|
|
856
|
+
:param context:
|
|
857
|
+
:param layout:
|
|
858
|
+
"""
|
|
859
|
+
...
|
|
860
|
+
|
|
861
|
+
def draw_preset(self, _context):
|
|
862
|
+
"""
|
|
863
|
+
|
|
864
|
+
:param _context:
|
|
865
|
+
"""
|
|
866
|
+
...
|
|
867
|
+
|
|
868
|
+
def driver_add(self):
|
|
869
|
+
""" """
|
|
870
|
+
...
|
|
871
|
+
|
|
872
|
+
def driver_remove(self):
|
|
873
|
+
""" """
|
|
874
|
+
...
|
|
875
|
+
|
|
876
|
+
def get(self):
|
|
877
|
+
""" """
|
|
878
|
+
...
|
|
879
|
+
|
|
880
|
+
def id_properties_clear(self):
|
|
881
|
+
""" """
|
|
882
|
+
...
|
|
883
|
+
|
|
884
|
+
def id_properties_ensure(self):
|
|
885
|
+
""" """
|
|
886
|
+
...
|
|
887
|
+
|
|
888
|
+
def id_properties_ui(self):
|
|
889
|
+
""" """
|
|
890
|
+
...
|
|
891
|
+
|
|
892
|
+
def is_extended(self):
|
|
893
|
+
""" """
|
|
894
|
+
...
|
|
895
|
+
|
|
896
|
+
def is_property_hidden(self):
|
|
897
|
+
""" """
|
|
898
|
+
...
|
|
899
|
+
|
|
900
|
+
def is_property_overridable_library(self):
|
|
901
|
+
""" """
|
|
902
|
+
...
|
|
903
|
+
|
|
904
|
+
def is_property_readonly(self):
|
|
905
|
+
""" """
|
|
906
|
+
...
|
|
907
|
+
|
|
908
|
+
def is_property_set(self):
|
|
909
|
+
""" """
|
|
910
|
+
...
|
|
911
|
+
|
|
912
|
+
def items(self):
|
|
913
|
+
""" """
|
|
914
|
+
...
|
|
915
|
+
|
|
916
|
+
def keyframe_delete(self):
|
|
917
|
+
""" """
|
|
918
|
+
...
|
|
919
|
+
|
|
920
|
+
def keyframe_insert(self):
|
|
921
|
+
""" """
|
|
922
|
+
...
|
|
923
|
+
|
|
924
|
+
def keys(self):
|
|
925
|
+
""" """
|
|
926
|
+
...
|
|
927
|
+
|
|
928
|
+
def path_from_id(self):
|
|
929
|
+
""" """
|
|
930
|
+
...
|
|
931
|
+
|
|
932
|
+
def path_menu(
|
|
933
|
+
self,
|
|
934
|
+
searchpaths,
|
|
935
|
+
operator,
|
|
936
|
+
props_default,
|
|
937
|
+
prop_filepath,
|
|
938
|
+
filter_ext,
|
|
939
|
+
filter_path,
|
|
940
|
+
display_name,
|
|
941
|
+
add_operator,
|
|
942
|
+
):
|
|
943
|
+
"""
|
|
944
|
+
|
|
945
|
+
:param searchpaths:
|
|
946
|
+
:param operator:
|
|
947
|
+
:param props_default:
|
|
948
|
+
:param prop_filepath:
|
|
949
|
+
:param filter_ext:
|
|
950
|
+
:param filter_path:
|
|
951
|
+
:param display_name:
|
|
952
|
+
:param add_operator:
|
|
953
|
+
"""
|
|
954
|
+
...
|
|
955
|
+
|
|
956
|
+
def path_resolve(self):
|
|
957
|
+
""" """
|
|
958
|
+
...
|
|
959
|
+
|
|
960
|
+
def pop(self):
|
|
961
|
+
""" """
|
|
962
|
+
...
|
|
963
|
+
|
|
964
|
+
def prepend(self, draw_func):
|
|
965
|
+
"""
|
|
966
|
+
|
|
967
|
+
:param draw_func:
|
|
968
|
+
"""
|
|
969
|
+
...
|
|
970
|
+
|
|
971
|
+
def property_overridable_library_set(self):
|
|
972
|
+
""" """
|
|
973
|
+
...
|
|
974
|
+
|
|
975
|
+
def property_unset(self):
|
|
976
|
+
""" """
|
|
977
|
+
...
|
|
978
|
+
|
|
979
|
+
def remove(self, draw_func):
|
|
980
|
+
"""
|
|
981
|
+
|
|
982
|
+
:param draw_func:
|
|
983
|
+
"""
|
|
984
|
+
...
|
|
985
|
+
|
|
986
|
+
def type_recast(self):
|
|
987
|
+
""" """
|
|
988
|
+
...
|
|
989
|
+
|
|
990
|
+
def values(self):
|
|
991
|
+
""" """
|
|
992
|
+
...
|
|
993
|
+
|
|
994
|
+
class UnifiedPaintPanel:
|
|
995
|
+
""" """
|
|
996
|
+
|
|
997
|
+
def get_brush_mode(self, context):
|
|
998
|
+
"""
|
|
999
|
+
|
|
1000
|
+
:param context:
|
|
1001
|
+
"""
|
|
1002
|
+
...
|
|
1003
|
+
|
|
1004
|
+
def paint_settings(self, context):
|
|
1005
|
+
"""
|
|
1006
|
+
|
|
1007
|
+
:param context:
|
|
1008
|
+
"""
|
|
1009
|
+
...
|
|
286
1010
|
|
|
287
|
-
def draw(self, context): ...
|
|
288
|
-
def get_brush_mode(self, context): ...
|
|
289
|
-
def paint_settings(self, context): ...
|
|
290
|
-
def poll(self, context): ...
|
|
291
1011
|
def prop_unified(
|
|
292
1012
|
self,
|
|
293
1013
|
layout,
|
|
@@ -300,21 +1020,107 @@ class TextureMaskPanel(BrushPanel, UnifiedPaintPanel):
|
|
|
300
1020
|
text,
|
|
301
1021
|
slider,
|
|
302
1022
|
header,
|
|
303
|
-
):
|
|
304
|
-
|
|
1023
|
+
):
|
|
1024
|
+
"""
|
|
1025
|
+
|
|
1026
|
+
:param layout:
|
|
1027
|
+
:param context:
|
|
1028
|
+
:param brush:
|
|
1029
|
+
:param prop_name:
|
|
1030
|
+
:param unified_name:
|
|
1031
|
+
:param pressure_name:
|
|
1032
|
+
:param icon:
|
|
1033
|
+
:param text:
|
|
1034
|
+
:param slider:
|
|
1035
|
+
:param header:
|
|
1036
|
+
"""
|
|
1037
|
+
...
|
|
1038
|
+
|
|
1039
|
+
def prop_unified_color(self, parent, context, brush, prop_name, text):
|
|
1040
|
+
"""
|
|
1041
|
+
|
|
1042
|
+
:param parent:
|
|
1043
|
+
:param context:
|
|
1044
|
+
:param brush:
|
|
1045
|
+
:param prop_name:
|
|
1046
|
+
:param text:
|
|
1047
|
+
"""
|
|
1048
|
+
...
|
|
1049
|
+
|
|
305
1050
|
def prop_unified_color_picker(
|
|
306
1051
|
self, parent, context, brush, prop_name, value_slider
|
|
307
|
-
):
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
def
|
|
319
|
-
|
|
320
|
-
|
|
1052
|
+
):
|
|
1053
|
+
"""
|
|
1054
|
+
|
|
1055
|
+
:param parent:
|
|
1056
|
+
:param context:
|
|
1057
|
+
:param brush:
|
|
1058
|
+
:param prop_name:
|
|
1059
|
+
:param value_slider:
|
|
1060
|
+
"""
|
|
1061
|
+
...
|
|
1062
|
+
|
|
1063
|
+
def brush_basic__draw_color_selector(context, layout, brush, gp_settings, props):
|
|
1064
|
+
""" """
|
|
1065
|
+
|
|
1066
|
+
...
|
|
1067
|
+
|
|
1068
|
+
def brush_basic_gpencil_paint_settings(layout, context, brush, compact):
|
|
1069
|
+
""" """
|
|
1070
|
+
|
|
1071
|
+
...
|
|
1072
|
+
|
|
1073
|
+
def brush_basic_gpencil_sculpt_settings(layout, _context, brush, compact):
|
|
1074
|
+
""" """
|
|
1075
|
+
|
|
1076
|
+
...
|
|
1077
|
+
|
|
1078
|
+
def brush_basic_gpencil_vertex_settings(layout, _context, brush, compact):
|
|
1079
|
+
""" """
|
|
1080
|
+
|
|
1081
|
+
...
|
|
1082
|
+
|
|
1083
|
+
def brush_basic_gpencil_weight_settings(layout, _context, brush, compact):
|
|
1084
|
+
""" """
|
|
1085
|
+
|
|
1086
|
+
...
|
|
1087
|
+
|
|
1088
|
+
def brush_basic_grease_pencil_paint_settings(layout, context, brush, compact):
|
|
1089
|
+
""" """
|
|
1090
|
+
|
|
1091
|
+
...
|
|
1092
|
+
|
|
1093
|
+
def brush_basic_texpaint_settings(layout, context, brush, compact):
|
|
1094
|
+
""" """
|
|
1095
|
+
|
|
1096
|
+
...
|
|
1097
|
+
|
|
1098
|
+
def brush_mask_texture_settings(layout, brush):
|
|
1099
|
+
""" """
|
|
1100
|
+
|
|
1101
|
+
...
|
|
1102
|
+
|
|
1103
|
+
def brush_settings(layout, context, brush, popover):
|
|
1104
|
+
""" """
|
|
1105
|
+
|
|
1106
|
+
...
|
|
1107
|
+
|
|
1108
|
+
def brush_settings_advanced(layout, context, brush, popover):
|
|
1109
|
+
""" """
|
|
1110
|
+
|
|
1111
|
+
...
|
|
1112
|
+
|
|
1113
|
+
def brush_shared_settings(layout, context, brush, popover):
|
|
1114
|
+
""" """
|
|
1115
|
+
|
|
1116
|
+
...
|
|
1117
|
+
|
|
1118
|
+
def brush_texture_settings(layout, brush, sculpt):
|
|
1119
|
+
""" """
|
|
1120
|
+
|
|
1121
|
+
...
|
|
1122
|
+
|
|
1123
|
+
def draw_color_settings(context, layout, brush, color_type):
|
|
1124
|
+
""" """
|
|
1125
|
+
|
|
1126
|
+
...
|