fake-bpy-module 20240224__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.
Potentially problematic release.
This version of fake-bpy-module might be problematic. Click here for more details.
- addon_utils/__init__.pyi +54 -10
- animsys_refactor/__init__.pyi +36 -6
- aud/__init__.pyi +132 -125
- bgl/__init__.pyi +2545 -546
- bl_app_override/__init__.pyi +14 -3
- bl_app_override/helpers/__init__.pyi +24 -2
- bl_app_template_utils/__init__.pyi +19 -4
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +24 -5
- bl_console_utils/autocomplete/complete_import/__init__.pyi +14 -3
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +24 -5
- bl_console_utils/autocomplete/intellisense/__init__.pyi +9 -2
- bl_i18n_utils/bl_extract_messages/__init__.pyi +74 -15
- bl_i18n_utils/merge_po/__init__.pyi +4 -1
- bl_i18n_utils/settings/__init__.pyi +53 -6
- bl_i18n_utils/utils/__init__.pyi +332 -44
- bl_i18n_utils/utils_cli/__init__.pyi +29 -6
- bl_i18n_utils/utils_languages_menu/__init__.pyi +4 -1
- bl_i18n_utils/utils_rtl/__init__.pyi +9 -2
- bl_keymap_utils/io/__init__.pyi +44 -9
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +4 -1
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +4 -1
- bl_keymap_utils/platform_helpers/__init__.pyi +9 -2
- bl_keymap_utils/versioning/__init__.pyi +4 -1
- bl_math/__init__.pyi +3 -3
- bl_operators/__init__.pyi +9 -2
- bl_operators/add_mesh_torus/__init__.pyi +171 -37
- bl_operators/anim/__init__.pyi +1065 -226
- bl_operators/assets/__init__.pyi +427 -92
- bl_operators/bmesh/find_adjacent/__init__.pyi +44 -9
- bl_operators/clip/__init__.pyi +1342 -287
- bl_operators/console/__init__.pyi +647 -140
- bl_operators/constraint/__init__.pyi +524 -112
- bl_operators/file/__init__.pyi +396 -84
- bl_operators/freestyle/__init__.pyi +532 -113
- bl_operators/geometry_nodes/__init__.pyi +2412 -596
- bl_operators/image/__init__.pyi +380 -82
- bl_operators/mesh/__init__.pyi +401 -85
- bl_operators/node/__init__.pyi +1756 -384
- bl_operators/object/__init__.pyi +2022 -552
- bl_operators/object_align/__init__.pyi +145 -31
- bl_operators/object_quick_effects/__init__.pyi +555 -124
- bl_operators/object_randomize_transform/__init__.pyi +136 -32
- bl_operators/presets/__init__.pyi +3516 -708
- bl_operators/rigidbody/__init__.pyi +401 -85
- bl_operators/screen_play_rendered_anim/__init__.pyi +129 -29
- bl_operators/sequencer/__init__.pyi +731 -149
- bl_operators/spreadsheet/__init__.pyi +145 -30
- bl_operators/userpref/__init__.pyi +3416 -824
- bl_operators/uvcalc_follow_active/__init__.pyi +149 -32
- bl_operators/uvcalc_lightmap/__init__.pyi +187 -34
- bl_operators/uvcalc_transform/__init__.pyi +344 -73
- bl_operators/vertexpaint_dirt/__init__.pyi +140 -30
- bl_operators/view3d/__init__.pyi +697 -146
- bl_operators/wm/__init__.pyi +6287 -1533
- bl_previews_utils/bl_previews_render/__init__.pyi +34 -7
- bl_rna_utils/data_path/__init__.pyi +12 -2
- bl_text_utils/external_editor/__init__.pyi +4 -1
- bl_ui/__init__.pyi +504 -106
- bl_ui/anim/__init__.pyi +164 -33
- bl_ui/asset_shelf/__init__.pyi +146 -31
- bl_ui/generic_ui_list/__init__.pyi +471 -99
- bl_ui/node_add_menu/__init__.pyi +196 -40
- bl_ui/node_add_menu_compositor/__init__.pyi +3017 -621
- bl_ui/node_add_menu_geometry/__init__.pyi +8060 -1625
- bl_ui/node_add_menu_shader/__init__.pyi +1709 -348
- bl_ui/node_add_menu_texture/__init__.pyi +1502 -305
- bl_ui/properties_animviz/__init__.pyi +32 -2
- bl_ui/properties_collection/__init__.pyi +787 -179
- bl_ui/properties_constraint/__init__.pyi +28635 -5523
- bl_ui/properties_data_armature/__init__.pyi +1905 -448
- bl_ui/properties_data_bone/__init__.pyi +1560 -336
- bl_ui/properties_data_camera/__init__.pyi +2269 -494
- bl_ui/properties_data_curve/__init__.pyi +2362 -534
- bl_ui/properties_data_curves/__init__.pyi +951 -203
- bl_ui/properties_data_empty/__init__.pyi +317 -69
- bl_ui/properties_data_gpencil/__init__.pyi +2924 -734
- bl_ui/properties_data_grease_pencil/__init__.pyi +1631 -188
- bl_ui/properties_data_lattice/__init__.pyi +472 -104
- bl_ui/properties_data_light/__init__.pyi +1570 -337
- bl_ui/properties_data_lightprobe/__init__.pyi +938 -208
- bl_ui/properties_data_mesh/__init__.pyi +3205 -767
- bl_ui/properties_data_metaball/__init__.pyi +774 -170
- bl_ui/properties_data_modifier/__init__.pyi +1554 -328
- bl_ui/properties_data_pointcloud/__init__.pyi +821 -194
- bl_ui/properties_data_shaderfx/__init__.pyi +154 -34
- bl_ui/properties_data_speaker/__init__.pyi +782 -168
- bl_ui/properties_data_volume/__init__.pyi +1243 -281
- bl_ui/properties_freestyle/__init__.pyi +4071 -1030
- bl_ui/properties_grease_pencil_common/__init__.pyi +2399 -483
- bl_ui/properties_mask_common/__init__.pyi +1256 -249
- bl_ui/properties_material/__init__.pyi +2351 -542
- bl_ui/properties_material_gpencil/__init__.pyi +1590 -365
- bl_ui/properties_object/__init__.pyi +2179 -512
- bl_ui/properties_output/__init__.pyi +2956 -705
- bl_ui/properties_paint_common/__init__.pyi +947 -140
- bl_ui/properties_particle/__init__.pyi +8322 -1970
- bl_ui/properties_physics_cloth/__init__.pyi +2254 -508
- bl_ui/properties_physics_common/__init__.pyi +200 -44
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +4454 -965
- bl_ui/properties_physics_field/__init__.pyi +1695 -364
- bl_ui/properties_physics_fluid/__init__.pyi +6127 -1280
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +157 -32
- bl_ui/properties_physics_rigidbody/__init__.pyi +1254 -278
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +2053 -483
- bl_ui/properties_physics_softbody/__init__.pyi +2394 -542
- bl_ui/properties_render/__init__.pyi +8312 -1933
- bl_ui/properties_scene/__init__.pyi +2211 -539
- bl_ui/properties_texture/__init__.pyi +4185 -1013
- bl_ui/properties_view_layer/__init__.pyi +2803 -664
- bl_ui/properties_workspace/__init__.pyi +626 -148
- bl_ui/properties_world/__init__.pyi +1092 -234
- bl_ui/space_clip/__init__.pyi +11475 -2805
- bl_ui/space_console/__init__.pyi +967 -202
- bl_ui/space_dopesheet/__init__.pyi +4260 -966
- bl_ui/space_filebrowser/__init__.pyi +4852 -1187
- bl_ui/space_graph/__init__.pyi +3251 -702
- bl_ui/space_image/__init__.pyi +12219 -2968
- bl_ui/space_info/__init__.pyi +964 -200
- bl_ui/space_nla/__init__.pyi +2756 -584
- bl_ui/space_node/__init__.pyi +5661 -1265
- bl_ui/space_outliner/__init__.pyi +2294 -478
- bl_ui/space_properties/__init__.pyi +417 -92
- bl_ui/space_sequencer/__init__.pyi +12436 -3009
- bl_ui/space_spreadsheet/__init__.pyi +184 -36
- bl_ui/space_statusbar/__init__.pyi +135 -30
- bl_ui/space_text/__init__.pyi +2556 -542
- bl_ui/space_time/__init__.pyi +1151 -243
- bl_ui/space_toolsystem_common/__init__.pyi +368 -66
- bl_ui/space_toolsystem_toolbar/__init__.pyi +1378 -228
- bl_ui/space_topbar/__init__.pyi +4214 -887
- bl_ui/space_userpref/__init__.pyi +13920 -3468
- bl_ui/space_view3d/__init__.pyi +43701 -10599
- bl_ui/space_view3d_toolbar/__init__.pyi +16380 -3860
- bl_ui/utils/__init__.pyi +42 -4
- bl_ui_utils/bug_report_url/__init__.pyi +4 -1
- bl_ui_utils/layout/__init__.pyi +4 -1
- blend_render_info/__init__.pyi +13 -3
- blf/__init__.pyi +5 -7
- bmesh/__init__.pyi +7 -7
- bmesh/geometry/__init__.pyi +5 -5
- bmesh/ops/__init__.pyi +490 -504
- bmesh/types/__init__.pyi +268 -262
- bmesh/utils/__init__.pyi +55 -55
- bpy/__init__.pyi +2 -2
- bpy/app/__init__.pyi +4 -5
- bpy/app/handlers/__init__.pyi +36 -36
- bpy/app/icons/__init__.pyi +8 -10
- bpy/app/timers/__init__.pyi +9 -11
- bpy/app/translations/__init__.pyi +20 -22
- bpy/msgbus/__init__.pyi +3 -12
- bpy/ops/action/__init__.pyi +350 -305
- bpy/ops/anim/__init__.pyi +464 -426
- bpy/ops/armature/__init__.pyi +392 -360
- bpy/ops/asset/__init__.pyi +166 -129
- bpy/ops/boid/__init__.pyi +64 -37
- bpy/ops/brush/__init__.pyi +78 -72
- bpy/ops/buttons/__init__.pyi +136 -122
- bpy/ops/cachefile/__init__.pyi +128 -123
- bpy/ops/camera/__init__.pyi +22 -24
- bpy/ops/clip/__init__.pyi +844 -735
- bpy/ops/cloth/__init__.pyi +10 -11
- bpy/ops/collection/__init__.pyi +38 -38
- bpy/ops/console/__init__.pyi +170 -141
- bpy/ops/constraint/__init__.pyi +156 -159
- bpy/ops/curve/__init__.pyi +518 -461
- bpy/ops/curves/__init__.pyi +188 -159
- bpy/ops/cycles/__init__.pyi +20 -18
- bpy/ops/dpaint/__init__.pyi +40 -30
- bpy/ops/ed/__init__.pyi +136 -107
- bpy/ops/export_anim/__init__.pyi +18 -19
- bpy/ops/export_mesh/__init__.pyi +26 -27
- bpy/ops/export_scene/__init__.pyi +313 -334
- bpy/ops/file/__init__.pyi +394 -304
- bpy/ops/fluid/__init__.pyi +114 -63
- bpy/ops/font/__init__.pyi +272 -245
- bpy/ops/geometry/__init__.pyi +92 -87
- bpy/ops/gizmogroup/__init__.pyi +24 -21
- bpy/ops/gpencil/__init__.pyi +1530 -1476
- bpy/ops/graph/__init__.pyi +680 -659
- bpy/ops/grease_pencil/__init__.pyi +510 -390
- bpy/ops/image/__init__.pyi +650 -603
- bpy/ops/import_anim/__init__.pyi +26 -27
- bpy/ops/import_curve/__init__.pyi +6 -7
- bpy/ops/import_mesh/__init__.pyi +18 -21
- bpy/ops/import_scene/__init__.pyi +86 -95
- bpy/ops/info/__init__.pyi +68 -55
- bpy/ops/lattice/__init__.pyi +70 -63
- bpy/ops/marker/__init__.pyi +110 -111
- bpy/ops/mask/__init__.pyi +352 -308
- bpy/ops/material/__init__.pyi +24 -12
- bpy/ops/mball/__init__.pyi +72 -75
- bpy/ops/mesh/__init__.pyi +2052 -2088
- bpy/ops/nla/__init__.pyi +369 -313
- bpy/ops/node/__init__.pyi +944 -805
- bpy/ops/object/__init__.pyi +2662 -2461
- bpy/ops/outliner/__init__.pyi +582 -431
- bpy/ops/paint/__init__.pyi +605 -516
- bpy/ops/paintcurve/__init__.pyi +72 -60
- bpy/ops/palette/__init__.pyi +54 -46
- bpy/ops/particle/__init__.pyi +302 -245
- bpy/ops/pose/__init__.pyi +366 -330
- bpy/ops/poselib/__init__.pyi +78 -64
- bpy/ops/preferences/__init__.pyi +361 -341
- bpy/ops/ptcache/__init__.pyi +56 -38
- bpy/ops/render/__init__.pyi +120 -117
- bpy/ops/rigidbody/__init__.pyi +114 -97
- bpy/ops/scene/__init__.pyi +302 -240
- bpy/ops/screen/__init__.pyi +414 -363
- bpy/ops/script/__init__.pyi +20 -18
- bpy/ops/sculpt/__init__.pyi +414 -452
- bpy/ops/sculpt_curves/__init__.pyi +42 -43
- bpy/ops/sequencer/__init__.pyi +1094 -1053
- bpy/ops/sound/__init__.pyi +214 -206
- bpy/ops/spreadsheet/__init__.pyi +34 -28
- bpy/ops/surface/__init__.pyi +108 -114
- bpy/ops/text/__init__.pyi +432 -350
- bpy/ops/text_editor/__init__.pyi +10 -11
- bpy/ops/texture/__init__.pyi +32 -21
- bpy/ops/transform/__init__.pyi +801 -854
- bpy/ops/ui/__init__.pyi +254 -185
- bpy/ops/uilist/__init__.pyi +20 -23
- bpy/ops/uv/__init__.pyi +618 -626
- bpy/ops/view2d/__init__.pyi +162 -161
- bpy/ops/view3d/__init__.pyi +669 -658
- bpy/ops/wm/__init__.pyi +2433 -2415
- bpy/ops/workspace/__init__.pyi +54 -31
- bpy/ops/world/__init__.pyi +8 -4
- bpy/path/__init__.pyi +111 -68
- bpy/props/__init__.pyi +263 -267
- bpy/types/__init__.pyi +86789 -85719
- bpy/utils/__init__.pyi +265 -123
- bpy/utils/previews/__init__.pyi +103 -17
- bpy/utils/units/__init__.pyi +19 -22
- bpy_extras/__init__.pyi +0 -4
- bpy_extras/anim_utils/__init__.pyi +11 -46
- bpy_extras/asset_utils/__init__.pyi +3 -12
- bpy_extras/id_map_utils/__init__.pyi +0 -2
- bpy_extras/image_utils/__init__.pyi +2 -2
- bpy_extras/io_utils/__init__.pyi +30 -27
- bpy_extras/keyconfig_utils/__init__.pyi +4 -1
- bpy_extras/mesh_utils/__init__.pyi +18 -18
- bpy_extras/node_utils/__init__.pyi +4 -3
- bpy_extras/object_utils/__init__.pyi +25 -26
- bpy_extras/view3d_utils/__init__.pyi +33 -38
- bpy_restrict_state/__init__.pyi +14 -1
- bpy_types/__init__.pyi +3873 -997
- console_python/__init__.pyi +41 -7
- console_shell/__init__.pyi +24 -5
- {fake_bpy_module-20240224.dist-info → fake_bpy_module-20240326.dist-info}/METADATA +1 -1
- fake_bpy_module-20240326.dist-info/RECORD +343 -0
- {fake_bpy_module-20240224.dist-info → fake_bpy_module-20240326.dist-info}/WHEEL +1 -1
- freestyle/chainingiterators/__init__.pyi +50 -52
- freestyle/functions/__init__.pyi +303 -207
- freestyle/predicates/__init__.pyi +299 -115
- freestyle/shaders/__init__.pyi +49 -80
- freestyle/types/__init__.pyi +465 -472
- freestyle/utils/ContextFunctions/__init__.pyi +9 -9
- freestyle/utils/__init__.pyi +28 -18
- gpu/capabilities/__init__.pyi +27 -19
- gpu/matrix/__init__.pyi +14 -16
- gpu/platform/__init__.pyi +5 -5
- gpu/shader/__init__.pyi +2 -5
- gpu/state/__init__.pyi +1 -1
- gpu/texture/__init__.pyi +3 -3
- gpu/types/__init__.pyi +54 -85
- gpu_extras/batch/__init__.pyi +27 -5
- gpu_extras/presets/__init__.pyi +52 -14
- graphviz_export/__init__.pyi +9 -2
- idprop/types/__init__.pyi +36 -12
- imbuf/__init__.pyi +8 -9
- imbuf/types/__init__.pyi +8 -15
- keyingsets_builtins/__init__.pyi +3149 -701
- keyingsets_utils/__init__.pyi +69 -14
- mathutils/__init__.pyi +502 -427
- mathutils/bvhtree/__init__.pyi +28 -32
- mathutils/geometry/__init__.pyi +177 -186
- mathutils/kdtree/__init__.pyi +16 -18
- mathutils/noise/__init__.pyi +47 -48
- nodeitems_builtins/__init__.pyi +50 -10
- nodeitems_utils/__init__.pyi +58 -10
- rna_info/__init__.pyi +230 -26
- rna_keymap_ui/__init__.pyi +29 -6
- rna_prop_ui/__init__.pyi +69 -12
- rna_xml/__init__.pyi +29 -6
- sys_info/__init__.pyi +4 -1
- bpy_extras/bmesh_utils/__init__.pyi +0 -6
- bpy_extras/extensions/__init__.pyi +0 -4
- bpy_extras/extensions/junction_module/__init__.pyi +0 -12
- bpy_extras/node_shader_utils/__init__.pyi +0 -131
- bpy_extras/wm_utils/__init__.pyi +0 -4
- bpy_extras/wm_utils/progress_report/__init__.pyi +0 -29
- fake_bpy_module-20240224.dist-info/RECORD +0 -349
- {fake_bpy_module-20240224.dist-info → fake_bpy_module-20240326.dist-info}/top_level.txt +0 -0
|
@@ -3,9 +3,30 @@ import bpy_types
|
|
|
3
3
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
|
-
class UnifiedPaintPanel:
|
|
7
|
-
|
|
8
|
-
|
|
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
|
+
|
|
9
30
|
def prop_unified(
|
|
10
31
|
self,
|
|
11
32
|
layout,
|
|
@@ -18,64 +39,80 @@ class UnifiedPaintPanel:
|
|
|
18
39
|
text,
|
|
19
40
|
slider,
|
|
20
41
|
header,
|
|
21
|
-
):
|
|
22
|
-
|
|
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
|
+
|
|
23
69
|
def prop_unified_color_picker(
|
|
24
70
|
self, parent, context, brush, prop_name, value_slider
|
|
25
|
-
):
|
|
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
|
+
""" """
|
|
26
84
|
|
|
27
|
-
class VIEW3D_MT_tools_projectpaint_clone(bpy_types.Menu, bpy_types._GenericUI):
|
|
28
85
|
bl_label: typing.Any
|
|
29
|
-
|
|
30
|
-
id_data: typing.Any
|
|
86
|
+
""" """
|
|
31
87
|
|
|
32
|
-
def
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
def
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
def
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
def
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
props_default,
|
|
60
|
-
prop_filepath,
|
|
61
|
-
filter_ext,
|
|
62
|
-
filter_path,
|
|
63
|
-
display_name,
|
|
64
|
-
add_operator,
|
|
65
|
-
): ...
|
|
66
|
-
def path_resolve(self): ...
|
|
67
|
-
def pop(self): ...
|
|
68
|
-
def prepend(self, draw_func): ...
|
|
69
|
-
def property_overridable_library_set(self): ...
|
|
70
|
-
def property_unset(self): ...
|
|
71
|
-
def remove(self, draw_func): ...
|
|
72
|
-
def type_recast(self): ...
|
|
73
|
-
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
|
+
...
|
|
74
115
|
|
|
75
|
-
class BrushPanel(UnifiedPaintPanel):
|
|
76
|
-
def get_brush_mode(self, context): ...
|
|
77
|
-
def paint_settings(self, context): ...
|
|
78
|
-
def poll(self, context): ...
|
|
79
116
|
def prop_unified(
|
|
80
117
|
self,
|
|
81
118
|
layout,
|
|
@@ -88,19 +125,90 @@ class BrushPanel(UnifiedPaintPanel):
|
|
|
88
125
|
text,
|
|
89
126
|
slider,
|
|
90
127
|
header,
|
|
91
|
-
):
|
|
92
|
-
|
|
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
|
+
|
|
93
155
|
def prop_unified_color_picker(
|
|
94
156
|
self, parent, context, brush, prop_name, value_slider
|
|
95
|
-
):
|
|
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
|
+
""" """
|
|
96
170
|
|
|
97
|
-
class BrushSelectPanel(BrushPanel, UnifiedPaintPanel):
|
|
98
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
|
+
...
|
|
99
211
|
|
|
100
|
-
def draw(self, context): ...
|
|
101
|
-
def get_brush_mode(self, context): ...
|
|
102
|
-
def paint_settings(self, context): ...
|
|
103
|
-
def poll(self, context): ...
|
|
104
212
|
def prop_unified(
|
|
105
213
|
self,
|
|
106
214
|
layout,
|
|
@@ -113,21 +221,83 @@ class BrushSelectPanel(BrushPanel, UnifiedPaintPanel):
|
|
|
113
221
|
text,
|
|
114
222
|
slider,
|
|
115
223
|
header,
|
|
116
|
-
):
|
|
117
|
-
|
|
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
|
+
|
|
118
251
|
def prop_unified_color_picker(
|
|
119
252
|
self, parent, context, brush, prop_name, value_slider
|
|
120
|
-
):
|
|
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
|
+
""" """
|
|
121
266
|
|
|
122
|
-
class ClonePanel(BrushPanel, UnifiedPaintPanel):
|
|
123
267
|
bl_label: typing.Any
|
|
268
|
+
""" """
|
|
269
|
+
|
|
124
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
|
+
...
|
|
125
300
|
|
|
126
|
-
def draw(self, context): ...
|
|
127
|
-
def draw_header(self, context): ...
|
|
128
|
-
def get_brush_mode(self, context): ...
|
|
129
|
-
def paint_settings(self, context): ...
|
|
130
|
-
def poll(self, context): ...
|
|
131
301
|
def prop_unified(
|
|
132
302
|
self,
|
|
133
303
|
layout,
|
|
@@ -140,20 +310,90 @@ class ClonePanel(BrushPanel, UnifiedPaintPanel):
|
|
|
140
310
|
text,
|
|
141
311
|
slider,
|
|
142
312
|
header,
|
|
143
|
-
):
|
|
144
|
-
|
|
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
|
+
|
|
145
340
|
def prop_unified_color_picker(
|
|
146
341
|
self, parent, context, brush, prop_name, value_slider
|
|
147
|
-
):
|
|
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
|
+
""" """
|
|
148
355
|
|
|
149
|
-
class ColorPalettePanel(BrushPanel, UnifiedPaintPanel):
|
|
150
356
|
bl_label: typing.Any
|
|
357
|
+
""" """
|
|
358
|
+
|
|
151
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
|
+
...
|
|
152
396
|
|
|
153
|
-
def draw(self, context): ...
|
|
154
|
-
def get_brush_mode(self, context): ...
|
|
155
|
-
def paint_settings(self, context): ...
|
|
156
|
-
def poll(self, context): ...
|
|
157
397
|
def prop_unified(
|
|
158
398
|
self,
|
|
159
399
|
layout,
|
|
@@ -166,21 +406,83 @@ class ColorPalettePanel(BrushPanel, UnifiedPaintPanel):
|
|
|
166
406
|
text,
|
|
167
407
|
slider,
|
|
168
408
|
header,
|
|
169
|
-
):
|
|
170
|
-
|
|
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
|
+
|
|
171
436
|
def prop_unified_color_picker(
|
|
172
437
|
self, parent, context, brush, prop_name, value_slider
|
|
173
|
-
):
|
|
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
|
+
""" """
|
|
174
451
|
|
|
175
|
-
class DisplayPanel(BrushPanel, UnifiedPaintPanel):
|
|
176
452
|
bl_label: typing.Any
|
|
453
|
+
""" """
|
|
454
|
+
|
|
177
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
|
+
...
|
|
178
485
|
|
|
179
|
-
def draw(self, context): ...
|
|
180
|
-
def draw_header(self, context): ...
|
|
181
|
-
def get_brush_mode(self, context): ...
|
|
182
|
-
def paint_settings(self, context): ...
|
|
183
|
-
def poll(self, context): ...
|
|
184
486
|
def prop_unified(
|
|
185
487
|
self,
|
|
186
488
|
layout,
|
|
@@ -193,20 +495,90 @@ class DisplayPanel(BrushPanel, UnifiedPaintPanel):
|
|
|
193
495
|
text,
|
|
194
496
|
slider,
|
|
195
497
|
header,
|
|
196
|
-
):
|
|
197
|
-
|
|
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
|
+
|
|
198
525
|
def prop_unified_color_picker(
|
|
199
526
|
self, parent, context, brush, prop_name, value_slider
|
|
200
|
-
):
|
|
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
|
+
""" """
|
|
201
540
|
|
|
202
|
-
class FalloffPanel(BrushPanel, UnifiedPaintPanel):
|
|
203
541
|
bl_label: typing.Any
|
|
542
|
+
""" """
|
|
543
|
+
|
|
204
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
|
+
...
|
|
205
581
|
|
|
206
|
-
def draw(self, context): ...
|
|
207
|
-
def get_brush_mode(self, context): ...
|
|
208
|
-
def paint_settings(self, context): ...
|
|
209
|
-
def poll(self, context): ...
|
|
210
582
|
def prop_unified(
|
|
211
583
|
self,
|
|
212
584
|
layout,
|
|
@@ -219,21 +591,86 @@ class FalloffPanel(BrushPanel, UnifiedPaintPanel):
|
|
|
219
591
|
text,
|
|
220
592
|
slider,
|
|
221
593
|
header,
|
|
222
|
-
):
|
|
223
|
-
|
|
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
|
+
|
|
224
621
|
def prop_unified_color_picker(
|
|
225
622
|
self, parent, context, brush, prop_name, value_slider
|
|
226
|
-
):
|
|
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
|
+
""" """
|
|
227
636
|
|
|
228
|
-
class SmoothStrokePanel(BrushPanel, UnifiedPaintPanel):
|
|
229
637
|
bl_label: typing.Any
|
|
638
|
+
""" """
|
|
639
|
+
|
|
230
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
|
+
...
|
|
231
673
|
|
|
232
|
-
def draw(self, context): ...
|
|
233
|
-
def draw_header(self, context): ...
|
|
234
|
-
def get_brush_mode(self, context): ...
|
|
235
|
-
def paint_settings(self, context): ...
|
|
236
|
-
def poll(self, context): ...
|
|
237
674
|
def prop_unified(
|
|
238
675
|
self,
|
|
239
676
|
layout,
|
|
@@ -246,21 +683,83 @@ class SmoothStrokePanel(BrushPanel, UnifiedPaintPanel):
|
|
|
246
683
|
text,
|
|
247
684
|
slider,
|
|
248
685
|
header,
|
|
249
|
-
):
|
|
250
|
-
|
|
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
|
+
|
|
251
713
|
def prop_unified_color_picker(
|
|
252
714
|
self, parent, context, brush, prop_name, value_slider
|
|
253
|
-
):
|
|
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
|
+
""" """
|
|
254
728
|
|
|
255
|
-
class StrokePanel(BrushPanel, UnifiedPaintPanel):
|
|
256
729
|
bl_label: typing.Any
|
|
730
|
+
""" """
|
|
731
|
+
|
|
257
732
|
bl_options: typing.Any
|
|
258
|
-
|
|
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
|
+
...
|
|
259
762
|
|
|
260
|
-
def draw(self, context): ...
|
|
261
|
-
def get_brush_mode(self, context): ...
|
|
262
|
-
def paint_settings(self, context): ...
|
|
263
|
-
def poll(self, context): ...
|
|
264
763
|
def prop_unified(
|
|
265
764
|
self,
|
|
266
765
|
layout,
|
|
@@ -273,20 +772,242 @@ class StrokePanel(BrushPanel, UnifiedPaintPanel):
|
|
|
273
772
|
text,
|
|
274
773
|
slider,
|
|
275
774
|
header,
|
|
276
|
-
):
|
|
277
|
-
|
|
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
|
+
|
|
278
802
|
def prop_unified_color_picker(
|
|
279
803
|
self, parent, context, brush, prop_name, value_slider
|
|
280
|
-
):
|
|
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
|
+
""" """
|
|
281
817
|
|
|
282
|
-
class TextureMaskPanel(BrushPanel, UnifiedPaintPanel):
|
|
283
818
|
bl_label: typing.Any
|
|
284
|
-
|
|
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
|
+
...
|
|
285
1010
|
|
|
286
|
-
def draw(self, context): ...
|
|
287
|
-
def get_brush_mode(self, context): ...
|
|
288
|
-
def paint_settings(self, context): ...
|
|
289
|
-
def poll(self, context): ...
|
|
290
1011
|
def prop_unified(
|
|
291
1012
|
self,
|
|
292
1013
|
layout,
|
|
@@ -299,21 +1020,107 @@ class TextureMaskPanel(BrushPanel, UnifiedPaintPanel):
|
|
|
299
1020
|
text,
|
|
300
1021
|
slider,
|
|
301
1022
|
header,
|
|
302
|
-
):
|
|
303
|
-
|
|
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
|
+
|
|
304
1050
|
def prop_unified_color_picker(
|
|
305
1051
|
self, parent, context, brush, prop_name, value_slider
|
|
306
|
-
):
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
def
|
|
318
|
-
|
|
319
|
-
|
|
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
|
+
...
|