fake-bpy-module 20240516__py3-none-any.whl → 20240517__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.

Files changed (533) hide show
  1. _bpy_internal/freedesktop/__init__.pyi +2 -2
  2. addon_utils/__init__.pyi +43 -12
  3. animsys_refactor/__init__.pyi +4 -4
  4. aud/__init__.pyi +7 -7
  5. bgl/__init__.pyi +121 -183
  6. bl_app_override/__init__.pyi +5 -5
  7. bl_app_override/helpers/__init__.pyi +3 -1
  8. bl_app_template_utils/__init__.pyi +5 -5
  9. bl_console_utils/autocomplete/complete_calltip/__init__.pyi +48 -10
  10. bl_console_utils/autocomplete/complete_import/__init__.pyi +27 -6
  11. bl_console_utils/autocomplete/complete_namespace/__init__.pyi +40 -8
  12. bl_console_utils/autocomplete/intellisense/__init__.pyi +31 -4
  13. bl_i18n_utils/bl_extract_messages/__init__.pyi +5 -5
  14. bl_i18n_utils/settings/__init__.pyi +4 -2
  15. bl_i18n_utils/utils/__init__.pyi +86 -58
  16. bl_i18n_utils/utils_rtl/__init__.pyi +8 -2
  17. bl_keymap_utils/io/__init__.pyi +4 -4
  18. bl_keymap_utils/keymap_from_toolbar/__init__.pyi +2 -2
  19. bl_keymap_utils/platform_helpers/__init__.pyi +2 -2
  20. bl_operators/add_mesh_torus/__init__.pyi +126 -41
  21. bl_operators/anim/__init__.pyi +1001 -328
  22. bl_operators/assets/__init__.pyi +376 -123
  23. bl_operators/bmesh/find_adjacent/__init__.pyi +3 -3
  24. bl_operators/clip/__init__.pyi +1250 -409
  25. bl_operators/console/__init__.pyi +626 -205
  26. bl_operators/constraint/__init__.pyi +502 -165
  27. bl_operators/file/__init__.pyi +376 -123
  28. bl_operators/freestyle/__init__.pyi +501 -164
  29. bl_operators/geometry_nodes/__init__.pyi +501 -164
  30. bl_operators/image/__init__.pyi +621 -200
  31. bl_operators/mesh/__init__.pyi +376 -123
  32. bl_operators/node/__init__.pyi +1243 -402
  33. bl_operators/object/__init__.pyi +1876 -615
  34. bl_operators/object_align/__init__.pyi +126 -41
  35. bl_operators/object_quick_effects/__init__.pyi +502 -165
  36. bl_operators/object_randomize_transform/__init__.pyi +126 -41
  37. bl_operators/presets/__init__.pyi +3069 -1027
  38. bl_operators/rigidbody/__init__.pyi +376 -123
  39. bl_operators/screen_play_rendered_anim/__init__.pyi +126 -41
  40. bl_operators/sequencer/__init__.pyi +1009 -331
  41. bl_operators/spreadsheet/__init__.pyi +126 -41
  42. bl_operators/userpref/__init__.pyi +3263 -1078
  43. bl_operators/uvcalc_follow_active/__init__.pyi +126 -41
  44. bl_operators/uvcalc_lightmap/__init__.pyi +137 -47
  45. bl_operators/uvcalc_transform/__init__.pyi +289 -90
  46. bl_operators/vertexpaint_dirt/__init__.pyi +126 -41
  47. bl_operators/view3d/__init__.pyi +868 -279
  48. bl_operators/wm/__init__.pyi +5777 -1934
  49. bl_operators/world/__init__.pyi +126 -41
  50. bl_previews_utils/bl_previews_render/__init__.pyi +1 -1
  51. bl_rna_utils/data_path/__init__.pyi +8 -3
  52. bl_ui/__init__.pyi +338 -131
  53. bl_ui/anim/__init__.pyi +164 -64
  54. bl_ui/asset_shelf/__init__.pyi +129 -42
  55. bl_ui/generic_ui_list/__init__.pyi +412 -135
  56. bl_ui/node_add_menu/__init__.pyi +168 -68
  57. bl_ui/node_add_menu_compositor/__init__.pyi +2921 -1138
  58. bl_ui/node_add_menu_geometry/__init__.pyi +7785 -3032
  59. bl_ui/node_add_menu_shader/__init__.pyi +1621 -630
  60. bl_ui/node_add_menu_texture/__init__.pyi +1459 -567
  61. bl_ui/properties_animviz/__init__.pyi +2 -2
  62. bl_ui/properties_collection/__init__.pyi +806 -274
  63. bl_ui/properties_constraint/__init__.pyi +10253 -3458
  64. bl_ui/properties_data_armature/__init__.pyi +1615 -552
  65. bl_ui/properties_data_bone/__init__.pyi +1288 -425
  66. bl_ui/properties_data_camera/__init__.pyi +1854 -631
  67. bl_ui/properties_data_curve/__init__.pyi +1929 -636
  68. bl_ui/properties_data_curves/__init__.pyi +806 -274
  69. bl_ui/properties_data_empty/__init__.pyi +257 -84
  70. bl_ui/properties_data_gpencil/__init__.pyi +2380 -803
  71. bl_ui/properties_data_grease_pencil/__init__.pyi +1902 -656
  72. bl_ui/properties_data_lattice/__init__.pyi +388 -127
  73. bl_ui/properties_data_light/__init__.pyi +1541 -506
  74. bl_ui/properties_data_lightprobe/__init__.pyi +1667 -548
  75. bl_ui/properties_data_mesh/__init__.pyi +2704 -929
  76. bl_ui/properties_data_metaball/__init__.pyi +644 -211
  77. bl_ui/properties_data_modifier/__init__.pyi +1353 -502
  78. bl_ui/properties_data_pointcloud/__init__.pyi +679 -233
  79. bl_ui/properties_data_shaderfx/__init__.pyi +129 -42
  80. bl_ui/properties_data_speaker/__init__.pyi +644 -211
  81. bl_ui/properties_data_volume/__init__.pyi +1030 -339
  82. bl_ui/properties_freestyle/__init__.pyi +3113 -1035
  83. bl_ui/properties_grease_pencil_common/__init__.pyi +2464 -933
  84. bl_ui/properties_mask_common/__init__.pyi +1101 -420
  85. bl_ui/properties_material/__init__.pyi +2091 -699
  86. bl_ui/properties_material_gpencil/__init__.pyi +1350 -466
  87. bl_ui/properties_object/__init__.pyi +1838 -618
  88. bl_ui/properties_output/__init__.pyi +2414 -831
  89. bl_ui/properties_paint_common/__init__.pyi +412 -289
  90. bl_ui/properties_particle/__init__.pyi +6737 -2241
  91. bl_ui/properties_physics_cloth/__init__.pyi +1825 -612
  92. bl_ui/properties_physics_common/__init__.pyi +129 -42
  93. bl_ui/properties_physics_dynamicpaint/__init__.pyi +2821 -928
  94. bl_ui/properties_physics_field/__init__.pyi +1283 -422
  95. bl_ui/properties_physics_fluid/__init__.pyi +3620 -1203
  96. bl_ui/properties_physics_geometry_nodes/__init__.pyi +129 -42
  97. bl_ui/properties_physics_rigidbody/__init__.pyi +1027 -338
  98. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +1667 -548
  99. bl_ui/properties_physics_softbody/__init__.pyi +1924 -633
  100. bl_ui/properties_render/__init__.pyi +6830 -2263
  101. bl_ui/properties_scene/__init__.pyi +1929 -636
  102. bl_ui/properties_texture/__init__.pyi +3370 -1118
  103. bl_ui/properties_view_layer/__init__.pyi +2346 -782
  104. bl_ui/properties_workspace/__init__.pyi +516 -169
  105. bl_ui/properties_world/__init__.pyi +1284 -421
  106. bl_ui/space_clip/__init__.pyi +10134 -3639
  107. bl_ui/space_console/__init__.pyi +939 -357
  108. bl_ui/space_dopesheet/__init__.pyi +4327 -1562
  109. bl_ui/space_filebrowser/__init__.pyi +4164 -1499
  110. bl_ui/space_graph/__init__.pyi +3108 -1179
  111. bl_ui/space_image/__init__.pyi +9766 -3596
  112. bl_ui/space_info/__init__.pyi +939 -357
  113. bl_ui/space_nla/__init__.pyi +2620 -988
  114. bl_ui/space_node/__init__.pyi +3994 -1434
  115. bl_ui/space_outliner/__init__.pyi +2203 -842
  116. bl_ui/space_properties/__init__.pyi +386 -127
  117. bl_ui/space_sequencer/__init__.pyi +10773 -3878
  118. bl_ui/space_spreadsheet/__init__.pyi +130 -43
  119. bl_ui/space_statusbar/__init__.pyi +129 -42
  120. bl_ui/space_text/__init__.pyi +2458 -925
  121. bl_ui/space_time/__init__.pyi +1033 -378
  122. bl_ui/space_toolsystem_common/__init__.pyi +20 -16
  123. bl_ui/space_toolsystem_toolbar/__init__.pyi +37 -21
  124. bl_ui/space_topbar/__init__.pyi +3980 -1496
  125. bl_ui/space_userpref/__init__.pyi +11373 -3797
  126. bl_ui/space_view3d/__init__.pyi +40865 -15356
  127. bl_ui/space_view3d_toolbar/__init__.pyi +12520 -4647
  128. bl_ui/temp_anim_layers/__init__.pyi +129 -42
  129. bl_ui/utils/__init__.pyi +28 -20
  130. bl_ui_utils/bug_report_url/__init__.pyi +1 -1
  131. bl_ui_utils/layout/__init__.pyi +1 -1
  132. blend_render_info/__init__.pyi +1 -1
  133. blf/__init__.pyi +4 -4
  134. bmesh/geometry/__init__.pyi +2 -3
  135. bmesh/ops/__init__.pyi +372 -419
  136. bmesh/types/__init__.pyi +38 -38
  137. bmesh/utils/__init__.pyi +10 -13
  138. bpy/app/__init__.pyi +4 -4
  139. bpy/app/handlers/__init__.pyi +36 -36
  140. bpy/app/icons/__init__.pyi +8 -8
  141. bpy/app/timers/__init__.pyi +10 -10
  142. bpy/app/translations/__init__.pyi +20 -22
  143. bpy/msgbus/__init__.pyi +2 -4
  144. bpy/ops/action/__init__.pyi +316 -394
  145. bpy/ops/anim/__init__.pyi +442 -548
  146. bpy/ops/armature/__init__.pyi +374 -470
  147. bpy/ops/asset/__init__.pyi +152 -184
  148. bpy/ops/bl_pkg/__init__.pyi +221 -272
  149. bpy/ops/boid/__init__.pyi +50 -66
  150. bpy/ops/brush/__init__.pyi +72 -90
  151. bpy/ops/buttons/__init__.pyi +132 -144
  152. bpy/ops/cachefile/__init__.pyi +128 -138
  153. bpy/ops/camera/__init__.pyi +26 -30
  154. bpy/ops/clip/__init__.pyi +777 -964
  155. bpy/ops/cloth/__init__.pyi +12 -14
  156. bpy/ops/collection/__init__.pyi +68 -86
  157. bpy/ops/console/__init__.pyi +158 -200
  158. bpy/ops/constraint/__init__.pyi +178 -214
  159. bpy/ops/curve/__init__.pyi +473 -576
  160. bpy/ops/curves/__init__.pyi +247 -302
  161. bpy/ops/cycles/__init__.pyi +28 -34
  162. bpy/ops/dpaint/__init__.pyi +34 -44
  163. bpy/ops/ed/__init__.pyi +126 -150
  164. bpy/ops/export_anim/__init__.pyi +22 -24
  165. bpy/ops/export_scene/__init__.pyi +302 -336
  166. bpy/ops/file/__init__.pyi +352 -432
  167. bpy/ops/fluid/__init__.pyi +90 -118
  168. bpy/ops/font/__init__.pyi +258 -304
  169. bpy/ops/geometry/__init__.pyi +100 -120
  170. bpy/ops/gizmogroup/__init__.pyi +22 -26
  171. bpy/ops/gpencil/__init__.pyi +1469 -1778
  172. bpy/ops/graph/__init__.pyi +644 -776
  173. bpy/ops/grease_pencil/__init__.pyi +597 -748
  174. bpy/ops/image/__init__.pyi +648 -744
  175. bpy/ops/import_anim/__init__.pyi +30 -32
  176. bpy/ops/import_curve/__init__.pyi +10 -12
  177. bpy/ops/import_scene/__init__.pyi +88 -96
  178. bpy/ops/info/__init__.pyi +60 -74
  179. bpy/ops/lattice/__init__.pyi +64 -80
  180. bpy/ops/marker/__init__.pyi +108 -130
  181. bpy/ops/mask/__init__.pyi +322 -402
  182. bpy/ops/material/__init__.pyi +18 -24
  183. bpy/ops/mball/__init__.pyi +70 -86
  184. bpy/ops/mesh/__init__.pyi +1986 -2322
  185. bpy/ops/nla/__init__.pyi +333 -411
  186. bpy/ops/node/__init__.pyi +886 -1100
  187. bpy/ops/object/__init__.pyi +2585 -3078
  188. bpy/ops/outliner/__init__.pyi +498 -636
  189. bpy/ops/paint/__init__.pyi +565 -680
  190. bpy/ops/paintcurve/__init__.pyi +64 -80
  191. bpy/ops/palette/__init__.pyi +50 -64
  192. bpy/ops/particle/__init__.pyi +267 -340
  193. bpy/ops/pose/__init__.pyi +336 -414
  194. bpy/ops/poselib/__init__.pyi +72 -90
  195. bpy/ops/preferences/__init__.pyi +386 -463
  196. bpy/ops/ptcache/__init__.pyi +46 -60
  197. bpy/ops/render/__init__.pyi +130 -154
  198. bpy/ops/rigidbody/__init__.pyi +102 -128
  199. bpy/ops/scene/__init__.pyi +280 -358
  200. bpy/ops/screen/__init__.pyi +382 -460
  201. bpy/ops/script/__init__.pyi +24 -30
  202. bpy/ops/sculpt/__init__.pyi +458 -532
  203. bpy/ops/sculpt_curves/__init__.pyi +41 -50
  204. bpy/ops/sequencer/__init__.pyi +1066 -1244
  205. bpy/ops/sound/__init__.pyi +216 -230
  206. bpy/ops/spreadsheet/__init__.pyi +30 -38
  207. bpy/ops/surface/__init__.pyi +108 -120
  208. bpy/ops/text/__init__.pyi +390 -476
  209. bpy/ops/text_editor/__init__.pyi +12 -14
  210. bpy/ops/texture/__init__.pyi +26 -34
  211. bpy/ops/transform/__init__.pyi +792 -878
  212. bpy/ops/ui/__init__.pyi +228 -294
  213. bpy/ops/uilist/__init__.pyi +32 -38
  214. bpy/ops/uv/__init__.pyi +602 -704
  215. bpy/ops/view2d/__init__.pyi +156 -184
  216. bpy/ops/view3d/__init__.pyi +582 -718
  217. bpy/ops/wm/__init__.pyi +2680 -2928
  218. bpy/ops/workspace/__init__.pyi +46 -60
  219. bpy/ops/world/__init__.pyi +12 -16
  220. bpy/path/__init__.pyi +179 -75
  221. bpy/props/__init__.pyi +261 -263
  222. bpy/types/__init__.pyi +17056 -21951
  223. bpy/utils/__init__.pyi +242 -118
  224. bpy/utils/previews/__init__.pyi +58 -28
  225. bpy/utils/units/__init__.pyi +20 -20
  226. bpy_extras/anim_utils/__init__.pyi +68 -28
  227. bpy_extras/bmesh_utils/__init__.pyi +8 -2
  228. bpy_extras/extensions/junction_module/__init__.pyi +5 -2
  229. bpy_extras/id_map_utils/__init__.pyi +3 -3
  230. bpy_extras/image_utils/__init__.pyi +44 -11
  231. bpy_extras/io_utils/__init__.pyi +113 -18
  232. bpy_extras/keyconfig_utils/__init__.pyi +2 -2
  233. bpy_extras/mesh_utils/__init__.pyi +71 -19
  234. bpy_extras/node_shader_utils/__init__.pyi +9 -4
  235. bpy_extras/node_utils/__init__.pyi +9 -2
  236. bpy_extras/object_utils/__init__.pyi +71 -12
  237. bpy_extras/view3d_utils/__init__.pyi +80 -10
  238. bpy_extras/wm_utils/progress_report/__init__.pyi +13 -10
  239. bpy_types/__init__.pyi +4197 -1333
  240. console_python/__init__.pyi +6 -1
  241. {fake_bpy_module-20240516.dist-info → fake_bpy_module-20240517.dist-info}/METADATA +1 -1
  242. fake_bpy_module-20240517.dist-info/RECORD +353 -0
  243. freestyle/chainingiterators/__init__.pyi +4 -4
  244. freestyle/shaders/__init__.pyi +2 -2
  245. freestyle/types/__init__.pyi +84 -96
  246. freestyle/utils/ContextFunctions/__init__.pyi +2 -2
  247. freestyle/utils/__init__.pyi +3 -3
  248. gpu/matrix/__init__.pyi +6 -8
  249. gpu/state/__init__.pyi +2 -2
  250. gpu/types/__init__.pyi +12 -12
  251. gpu_extras/presets/__init__.pyi +2 -5
  252. graphviz_export/__init__.pyi +4 -2
  253. idprop/types/__init__.pyi +2 -2
  254. imbuf/__init__.pyi +4 -4
  255. keyingsets_builtins/__init__.pyi +2688 -839
  256. mathutils/__init__.pyi +194 -238
  257. mathutils/bvhtree/__init__.pyi +4 -4
  258. mathutils/geometry/__init__.pyi +153 -155
  259. mathutils/kdtree/__init__.pyi +8 -12
  260. mathutils/noise/__init__.pyi +26 -26
  261. nodeitems_utils/__init__.pyi +1 -1
  262. rna_info/__init__.pyi +17 -15
  263. rna_keymap_ui/__init__.pyi +1 -1
  264. rna_prop_ui/__init__.pyi +16 -14
  265. rna_xml/__init__.pyi +12 -12
  266. _bpy_internal/freedesktop/py.typed +0 -0
  267. bl_app_override/helpers/py.typed +0 -0
  268. bl_console_utils/autocomplete/complete_calltip/py.typed +0 -0
  269. bl_console_utils/autocomplete/complete_import/py.typed +0 -0
  270. bl_console_utils/autocomplete/complete_namespace/py.typed +0 -0
  271. bl_console_utils/autocomplete/intellisense/py.typed +0 -0
  272. bl_console_utils/autocomplete/py.typed +0 -0
  273. bl_i18n_utils/bl_extract_messages/py.typed +0 -0
  274. bl_i18n_utils/merge_po/py.typed +0 -0
  275. bl_i18n_utils/settings/py.typed +0 -0
  276. bl_i18n_utils/utils/py.typed +0 -0
  277. bl_i18n_utils/utils_cli/py.typed +0 -0
  278. bl_i18n_utils/utils_languages_menu/py.typed +0 -0
  279. bl_i18n_utils/utils_rtl/py.typed +0 -0
  280. bl_keymap_utils/io/py.typed +0 -0
  281. bl_keymap_utils/keymap_from_toolbar/py.typed +0 -0
  282. bl_keymap_utils/keymap_hierarchy/py.typed +0 -0
  283. bl_keymap_utils/platform_helpers/py.typed +0 -0
  284. bl_keymap_utils/versioning/py.typed +0 -0
  285. bl_operators/add_mesh_torus/py.typed +0 -0
  286. bl_operators/anim/py.typed +0 -0
  287. bl_operators/assets/py.typed +0 -0
  288. bl_operators/bmesh/find_adjacent/py.typed +0 -0
  289. bl_operators/bmesh/py.typed +0 -0
  290. bl_operators/clip/py.typed +0 -0
  291. bl_operators/console/py.typed +0 -0
  292. bl_operators/constraint/py.typed +0 -0
  293. bl_operators/file/py.typed +0 -0
  294. bl_operators/freestyle/py.typed +0 -0
  295. bl_operators/geometry_nodes/py.typed +0 -0
  296. bl_operators/image/py.typed +0 -0
  297. bl_operators/mesh/py.typed +0 -0
  298. bl_operators/node/py.typed +0 -0
  299. bl_operators/object/py.typed +0 -0
  300. bl_operators/object_align/py.typed +0 -0
  301. bl_operators/object_quick_effects/py.typed +0 -0
  302. bl_operators/object_randomize_transform/py.typed +0 -0
  303. bl_operators/presets/py.typed +0 -0
  304. bl_operators/rigidbody/py.typed +0 -0
  305. bl_operators/screen_play_rendered_anim/py.typed +0 -0
  306. bl_operators/sequencer/py.typed +0 -0
  307. bl_operators/spreadsheet/py.typed +0 -0
  308. bl_operators/userpref/py.typed +0 -0
  309. bl_operators/uvcalc_follow_active/py.typed +0 -0
  310. bl_operators/uvcalc_lightmap/py.typed +0 -0
  311. bl_operators/uvcalc_transform/py.typed +0 -0
  312. bl_operators/vertexpaint_dirt/py.typed +0 -0
  313. bl_operators/view3d/py.typed +0 -0
  314. bl_operators/wm/py.typed +0 -0
  315. bl_operators/world/py.typed +0 -0
  316. bl_previews_utils/bl_previews_render/py.typed +0 -0
  317. bl_rna_utils/data_path/py.typed +0 -0
  318. bl_text_utils/external_editor/py.typed +0 -0
  319. bl_ui/anim/py.typed +0 -0
  320. bl_ui/asset_shelf/py.typed +0 -0
  321. bl_ui/generic_ui_list/py.typed +0 -0
  322. bl_ui/node_add_menu/py.typed +0 -0
  323. bl_ui/node_add_menu_compositor/py.typed +0 -0
  324. bl_ui/node_add_menu_geometry/py.typed +0 -0
  325. bl_ui/node_add_menu_shader/py.typed +0 -0
  326. bl_ui/node_add_menu_texture/py.typed +0 -0
  327. bl_ui/properties_animviz/py.typed +0 -0
  328. bl_ui/properties_collection/py.typed +0 -0
  329. bl_ui/properties_constraint/py.typed +0 -0
  330. bl_ui/properties_data_armature/py.typed +0 -0
  331. bl_ui/properties_data_bone/py.typed +0 -0
  332. bl_ui/properties_data_camera/py.typed +0 -0
  333. bl_ui/properties_data_curve/py.typed +0 -0
  334. bl_ui/properties_data_curves/py.typed +0 -0
  335. bl_ui/properties_data_empty/py.typed +0 -0
  336. bl_ui/properties_data_gpencil/py.typed +0 -0
  337. bl_ui/properties_data_grease_pencil/py.typed +0 -0
  338. bl_ui/properties_data_lattice/py.typed +0 -0
  339. bl_ui/properties_data_light/py.typed +0 -0
  340. bl_ui/properties_data_lightprobe/py.typed +0 -0
  341. bl_ui/properties_data_mesh/py.typed +0 -0
  342. bl_ui/properties_data_metaball/py.typed +0 -0
  343. bl_ui/properties_data_modifier/py.typed +0 -0
  344. bl_ui/properties_data_pointcloud/py.typed +0 -0
  345. bl_ui/properties_data_shaderfx/py.typed +0 -0
  346. bl_ui/properties_data_speaker/py.typed +0 -0
  347. bl_ui/properties_data_volume/py.typed +0 -0
  348. bl_ui/properties_freestyle/py.typed +0 -0
  349. bl_ui/properties_grease_pencil_common/py.typed +0 -0
  350. bl_ui/properties_mask_common/py.typed +0 -0
  351. bl_ui/properties_material/py.typed +0 -0
  352. bl_ui/properties_material_gpencil/py.typed +0 -0
  353. bl_ui/properties_object/py.typed +0 -0
  354. bl_ui/properties_output/py.typed +0 -0
  355. bl_ui/properties_paint_common/py.typed +0 -0
  356. bl_ui/properties_particle/py.typed +0 -0
  357. bl_ui/properties_physics_cloth/py.typed +0 -0
  358. bl_ui/properties_physics_common/py.typed +0 -0
  359. bl_ui/properties_physics_dynamicpaint/py.typed +0 -0
  360. bl_ui/properties_physics_field/py.typed +0 -0
  361. bl_ui/properties_physics_fluid/py.typed +0 -0
  362. bl_ui/properties_physics_geometry_nodes/py.typed +0 -0
  363. bl_ui/properties_physics_rigidbody/py.typed +0 -0
  364. bl_ui/properties_physics_rigidbody_constraint/py.typed +0 -0
  365. bl_ui/properties_physics_softbody/py.typed +0 -0
  366. bl_ui/properties_render/py.typed +0 -0
  367. bl_ui/properties_scene/py.typed +0 -0
  368. bl_ui/properties_texture/py.typed +0 -0
  369. bl_ui/properties_view_layer/py.typed +0 -0
  370. bl_ui/properties_workspace/py.typed +0 -0
  371. bl_ui/properties_world/py.typed +0 -0
  372. bl_ui/space_clip/py.typed +0 -0
  373. bl_ui/space_console/py.typed +0 -0
  374. bl_ui/space_dopesheet/py.typed +0 -0
  375. bl_ui/space_filebrowser/py.typed +0 -0
  376. bl_ui/space_graph/py.typed +0 -0
  377. bl_ui/space_image/py.typed +0 -0
  378. bl_ui/space_info/py.typed +0 -0
  379. bl_ui/space_nla/py.typed +0 -0
  380. bl_ui/space_node/py.typed +0 -0
  381. bl_ui/space_outliner/py.typed +0 -0
  382. bl_ui/space_properties/py.typed +0 -0
  383. bl_ui/space_sequencer/py.typed +0 -0
  384. bl_ui/space_spreadsheet/py.typed +0 -0
  385. bl_ui/space_statusbar/py.typed +0 -0
  386. bl_ui/space_text/py.typed +0 -0
  387. bl_ui/space_time/py.typed +0 -0
  388. bl_ui/space_toolsystem_common/py.typed +0 -0
  389. bl_ui/space_toolsystem_toolbar/py.typed +0 -0
  390. bl_ui/space_topbar/py.typed +0 -0
  391. bl_ui/space_userpref/py.typed +0 -0
  392. bl_ui/space_view3d/py.typed +0 -0
  393. bl_ui/space_view3d_toolbar/py.typed +0 -0
  394. bl_ui/temp_anim_layers/py.typed +0 -0
  395. bl_ui/utils/py.typed +0 -0
  396. bl_ui_utils/bug_report_url/py.typed +0 -0
  397. bl_ui_utils/layout/py.typed +0 -0
  398. bmesh/geometry/py.typed +0 -0
  399. bmesh/ops/py.typed +0 -0
  400. bmesh/types/py.typed +0 -0
  401. bmesh/utils/py.typed +0 -0
  402. bpy/app/handlers/py.typed +0 -0
  403. bpy/app/icons/py.typed +0 -0
  404. bpy/app/py.typed +0 -0
  405. bpy/app/timers/py.typed +0 -0
  406. bpy/app/translations/py.typed +0 -0
  407. bpy/msgbus/py.typed +0 -0
  408. bpy/ops/action/py.typed +0 -0
  409. bpy/ops/anim/py.typed +0 -0
  410. bpy/ops/armature/py.typed +0 -0
  411. bpy/ops/asset/py.typed +0 -0
  412. bpy/ops/bl_pkg/py.typed +0 -0
  413. bpy/ops/boid/py.typed +0 -0
  414. bpy/ops/brush/py.typed +0 -0
  415. bpy/ops/buttons/py.typed +0 -0
  416. bpy/ops/cachefile/py.typed +0 -0
  417. bpy/ops/camera/py.typed +0 -0
  418. bpy/ops/clip/py.typed +0 -0
  419. bpy/ops/cloth/py.typed +0 -0
  420. bpy/ops/collection/py.typed +0 -0
  421. bpy/ops/console/py.typed +0 -0
  422. bpy/ops/constraint/py.typed +0 -0
  423. bpy/ops/curve/py.typed +0 -0
  424. bpy/ops/curves/py.typed +0 -0
  425. bpy/ops/cycles/py.typed +0 -0
  426. bpy/ops/dpaint/py.typed +0 -0
  427. bpy/ops/ed/py.typed +0 -0
  428. bpy/ops/export_anim/py.typed +0 -0
  429. bpy/ops/export_scene/py.typed +0 -0
  430. bpy/ops/file/py.typed +0 -0
  431. bpy/ops/fluid/py.typed +0 -0
  432. bpy/ops/font/py.typed +0 -0
  433. bpy/ops/geometry/py.typed +0 -0
  434. bpy/ops/gizmogroup/py.typed +0 -0
  435. bpy/ops/gpencil/py.typed +0 -0
  436. bpy/ops/graph/py.typed +0 -0
  437. bpy/ops/grease_pencil/py.typed +0 -0
  438. bpy/ops/image/py.typed +0 -0
  439. bpy/ops/import_anim/py.typed +0 -0
  440. bpy/ops/import_curve/py.typed +0 -0
  441. bpy/ops/import_scene/py.typed +0 -0
  442. bpy/ops/info/py.typed +0 -0
  443. bpy/ops/lattice/py.typed +0 -0
  444. bpy/ops/marker/py.typed +0 -0
  445. bpy/ops/mask/py.typed +0 -0
  446. bpy/ops/material/py.typed +0 -0
  447. bpy/ops/mball/py.typed +0 -0
  448. bpy/ops/mesh/py.typed +0 -0
  449. bpy/ops/nla/py.typed +0 -0
  450. bpy/ops/node/py.typed +0 -0
  451. bpy/ops/object/py.typed +0 -0
  452. bpy/ops/outliner/py.typed +0 -0
  453. bpy/ops/paint/py.typed +0 -0
  454. bpy/ops/paintcurve/py.typed +0 -0
  455. bpy/ops/palette/py.typed +0 -0
  456. bpy/ops/particle/py.typed +0 -0
  457. bpy/ops/pose/py.typed +0 -0
  458. bpy/ops/poselib/py.typed +0 -0
  459. bpy/ops/preferences/py.typed +0 -0
  460. bpy/ops/ptcache/py.typed +0 -0
  461. bpy/ops/py.typed +0 -0
  462. bpy/ops/render/py.typed +0 -0
  463. bpy/ops/rigidbody/py.typed +0 -0
  464. bpy/ops/scene/py.typed +0 -0
  465. bpy/ops/screen/py.typed +0 -0
  466. bpy/ops/script/py.typed +0 -0
  467. bpy/ops/sculpt/py.typed +0 -0
  468. bpy/ops/sculpt_curves/py.typed +0 -0
  469. bpy/ops/sequencer/py.typed +0 -0
  470. bpy/ops/sound/py.typed +0 -0
  471. bpy/ops/spreadsheet/py.typed +0 -0
  472. bpy/ops/surface/py.typed +0 -0
  473. bpy/ops/text/py.typed +0 -0
  474. bpy/ops/text_editor/py.typed +0 -0
  475. bpy/ops/texture/py.typed +0 -0
  476. bpy/ops/transform/py.typed +0 -0
  477. bpy/ops/ui/py.typed +0 -0
  478. bpy/ops/uilist/py.typed +0 -0
  479. bpy/ops/uv/py.typed +0 -0
  480. bpy/ops/view2d/py.typed +0 -0
  481. bpy/ops/view3d/py.typed +0 -0
  482. bpy/ops/wm/py.typed +0 -0
  483. bpy/ops/workspace/py.typed +0 -0
  484. bpy/ops/world/py.typed +0 -0
  485. bpy/path/py.typed +0 -0
  486. bpy/props/py.typed +0 -0
  487. bpy/types/py.typed +0 -0
  488. bpy/utils/previews/py.typed +0 -0
  489. bpy/utils/py.typed +0 -0
  490. bpy/utils/units/py.typed +0 -0
  491. bpy_extras/anim_utils/py.typed +0 -0
  492. bpy_extras/asset_utils/py.typed +0 -0
  493. bpy_extras/bmesh_utils/py.typed +0 -0
  494. bpy_extras/extensions/junction_module/py.typed +0 -0
  495. bpy_extras/extensions/py.typed +0 -0
  496. bpy_extras/id_map_utils/py.typed +0 -0
  497. bpy_extras/image_utils/py.typed +0 -0
  498. bpy_extras/io_utils/py.typed +0 -0
  499. bpy_extras/keyconfig_utils/py.typed +0 -0
  500. bpy_extras/mesh_utils/py.typed +0 -0
  501. bpy_extras/node_shader_utils/py.typed +0 -0
  502. bpy_extras/node_utils/py.typed +0 -0
  503. bpy_extras/object_utils/py.typed +0 -0
  504. bpy_extras/view3d_utils/py.typed +0 -0
  505. bpy_extras/wm_utils/progress_report/py.typed +0 -0
  506. bpy_extras/wm_utils/py.typed +0 -0
  507. fake_bpy_module-20240516.dist-info/RECORD +0 -618
  508. freestyle/chainingiterators/py.typed +0 -0
  509. freestyle/functions/py.typed +0 -0
  510. freestyle/predicates/py.typed +0 -0
  511. freestyle/shaders/py.typed +0 -0
  512. freestyle/types/py.typed +0 -0
  513. freestyle/utils/ContextFunctions/py.typed +0 -0
  514. freestyle/utils/py.typed +0 -0
  515. gpu/capabilities/py.typed +0 -0
  516. gpu/matrix/py.typed +0 -0
  517. gpu/platform/py.typed +0 -0
  518. gpu/select/py.typed +0 -0
  519. gpu/shader/py.typed +0 -0
  520. gpu/state/py.typed +0 -0
  521. gpu/texture/py.typed +0 -0
  522. gpu/types/py.typed +0 -0
  523. gpu_extras/batch/py.typed +0 -0
  524. gpu_extras/presets/py.typed +0 -0
  525. idprop/types/py.typed +0 -0
  526. imbuf/types/py.typed +0 -0
  527. mathutils/bvhtree/py.typed +0 -0
  528. mathutils/geometry/py.typed +0 -0
  529. mathutils/interpolate/py.typed +0 -0
  530. mathutils/kdtree/py.typed +0 -0
  531. mathutils/noise/py.typed +0 -0
  532. {fake_bpy_module-20240516.dist-info → fake_bpy_module-20240517.dist-info}/WHEEL +0 -0
  533. {fake_bpy_module-20240516.dist-info → fake_bpy_module-20240517.dist-info}/top_level.txt +0 -0
@@ -1,4 +1,5 @@
1
1
  import typing
2
+ import bpy.types
2
3
  import bpy_types
3
4
 
4
5
  GenericType = typing.TypeVar("GenericType")
@@ -30,9 +31,10 @@ class UnifiedPaintPanel:
30
31
  """ """
31
32
 
32
33
  def get_brush_mode(self, context):
33
- """
34
+ """Get the correct mode for this context. For any context where this returns None,
35
+ no brush options should be displayed.
34
36
 
35
- :param context:
37
+ :param context:
36
38
  """
37
39
  ...
38
40
 
@@ -49,29 +51,30 @@ class UnifiedPaintPanel:
49
51
  context,
50
52
  brush,
51
53
  prop_name,
52
- unified_name,
53
- pressure_name,
54
- icon,
55
- text,
56
- slider,
57
- header,
54
+ unified_name=None,
55
+ pressure_name=None,
56
+ icon="NONE",
57
+ text=None,
58
+ slider=False,
59
+ header=False,
58
60
  ):
59
- """
61
+ """Generalized way of adding brush options to the UI,
62
+ along with their pen pressure setting and global toggle, if they exist.
60
63
 
61
- :param layout:
62
- :param context:
63
- :param brush:
64
- :param prop_name:
65
- :param unified_name:
66
- :param pressure_name:
67
- :param icon:
68
- :param text:
69
- :param slider:
70
- :param header:
64
+ :param layout:
65
+ :param context:
66
+ :param brush:
67
+ :param prop_name:
68
+ :param unified_name:
69
+ :param pressure_name:
70
+ :param icon:
71
+ :param text:
72
+ :param slider:
73
+ :param header:
71
74
  """
72
75
  ...
73
76
 
74
- def prop_unified_color(self, parent, context, brush, prop_name, text):
77
+ def prop_unified_color(self, parent, context, brush, prop_name, text=None):
75
78
  """
76
79
 
77
80
  :param parent:
@@ -83,7 +86,7 @@ class UnifiedPaintPanel:
83
86
  ...
84
87
 
85
88
  def prop_unified_color_picker(
86
- self, parent, context, brush, prop_name, value_slider
89
+ self, parent, context, brush, prop_name, value_slider=True
87
90
  ):
88
91
  """
89
92
 
@@ -108,22 +111,35 @@ class VIEW3D_MT_tools_projectpaint_clone(bpy_types.Menu, bpy_types._GenericUI):
108
111
  """ """
109
112
 
110
113
  def append(self, draw_func):
111
- """
114
+ """Append a draw function to this menu,
115
+ takes the same arguments as the menus draw function
112
116
 
113
- :param draw_func:
117
+ :param draw_func:
114
118
  """
115
119
  ...
116
120
 
117
- def as_pointer(self):
118
- """ """
121
+ def as_pointer(self) -> int:
122
+ """Returns the memory address which holds a pointer to Blender's internal data
123
+
124
+ :return: int (memory address).
125
+ :rtype: int
126
+ """
119
127
  ...
120
128
 
121
- def bl_rna_get_subclass(self):
122
- """ """
129
+ def bl_rna_get_subclass(self) -> bpy.types.Struct:
130
+ """
131
+
132
+ :return: The RNA type or default when not found.
133
+ :rtype: bpy.types.Struct
134
+ """
123
135
  ...
124
136
 
125
- def bl_rna_get_subclass_py(self):
126
- """ """
137
+ def bl_rna_get_subclass_py(self) -> typing.Any:
138
+ """
139
+
140
+ :return: The class or default when not found.
141
+ :rtype: typing.Any
142
+ """
127
143
  ...
128
144
 
129
145
  def draw(self, context):
@@ -142,147 +158,234 @@ class VIEW3D_MT_tools_projectpaint_clone(bpy_types.Menu, bpy_types._GenericUI):
142
158
  ...
143
159
 
144
160
  def draw_preset(self, _context):
145
- """
161
+ """Define these on the subclass:
162
+ - preset_operator (string)
163
+ - preset_subdir (string)Optionally:
164
+ - preset_add_operator (string)
165
+ - preset_extensions (set of strings)
166
+ - preset_operator_defaults (dict of keyword args)
146
167
 
147
- :param _context:
168
+ :param _context:
148
169
  """
149
170
  ...
150
171
 
151
- def driver_add(self):
152
- """ """
172
+ def driver_add(self) -> bpy.types.FCurve:
173
+ """Adds driver(s) to the given property
174
+
175
+ :return: The driver(s) added.
176
+ :rtype: bpy.types.FCurve
177
+ """
153
178
  ...
154
179
 
155
- def driver_remove(self):
156
- """ """
180
+ def driver_remove(self) -> bool:
181
+ """Remove driver(s) from the given property
182
+
183
+ :return: Success of driver removal.
184
+ :rtype: bool
185
+ """
157
186
  ...
158
187
 
159
188
  def get(self):
160
- """ """
189
+ """Returns the value of the custom property assigned to key or default
190
+ when not found (matches Python's dictionary function of the same name).
191
+
192
+ """
161
193
  ...
162
194
 
163
195
  def id_properties_clear(self):
164
- """ """
196
+ """
197
+
198
+ :return: Remove the parent group for an RNA struct's custom IDProperties.
199
+ """
165
200
  ...
166
201
 
167
202
  def id_properties_ensure(self):
168
- """ """
203
+ """
204
+
205
+ :return: the parent group for an RNA struct's custom IDProperties.
206
+ """
169
207
  ...
170
208
 
171
209
  def id_properties_ui(self):
172
- """ """
210
+ """
211
+
212
+ :return: Return an object used to manage an IDProperty's UI data.
213
+ """
173
214
  ...
174
215
 
175
216
  def is_extended(self):
176
217
  """ """
177
218
  ...
178
219
 
179
- def is_property_hidden(self):
180
- """ """
220
+ def is_property_hidden(self) -> bool:
221
+ """Check if a property is hidden.
222
+
223
+ :return: True when the property is hidden.
224
+ :rtype: bool
225
+ """
181
226
  ...
182
227
 
183
- def is_property_overridable_library(self):
184
- """ """
228
+ def is_property_overridable_library(self) -> bool:
229
+ """Check if a property is overridable.
230
+
231
+ :return: True when the property is overridable.
232
+ :rtype: bool
233
+ """
185
234
  ...
186
235
 
187
- def is_property_readonly(self):
188
- """ """
236
+ def is_property_readonly(self) -> bool:
237
+ """Check if a property is readonly.
238
+
239
+ :return: True when the property is readonly (not writable).
240
+ :rtype: bool
241
+ """
189
242
  ...
190
243
 
191
- def is_property_set(self):
192
- """ """
244
+ def is_property_set(self) -> bool:
245
+ """Check if a property is set, use for testing operator properties.
246
+
247
+ :return: True when the property has been set.
248
+ :rtype: bool
249
+ """
193
250
  ...
194
251
 
195
252
  def items(self):
196
- """ """
253
+ """Returns the items of this objects custom properties (matches Python's
254
+ dictionary function of the same name).
255
+
256
+ :return: custom property key, value pairs.
257
+ """
197
258
  ...
198
259
 
199
- def keyframe_delete(self):
200
- """ """
260
+ def keyframe_delete(self) -> bool:
261
+ """Remove a keyframe from this properties fcurve.
262
+
263
+ :return: Success of keyframe deletion.
264
+ :rtype: bool
265
+ """
201
266
  ...
202
267
 
203
- def keyframe_insert(self):
204
- """ """
268
+ def keyframe_insert(self) -> bool:
269
+ """Insert a keyframe on the property given, adding fcurves and animation data when necessary.
270
+
271
+ :return: Success of keyframe insertion.
272
+ :rtype: bool
273
+ """
205
274
  ...
206
275
 
207
276
  def keys(self):
208
- """ """
277
+ """Returns the keys of this objects custom properties (matches Python's
278
+ dictionary function of the same name).
279
+
280
+ :return: custom property keys.
281
+ """
209
282
  ...
210
283
 
211
- def path_from_id(self):
212
- """ """
284
+ def path_from_id(self) -> str:
285
+ """Returns the data path from the ID to this object (string).
286
+
287
+ :return: The path from `bpy.types.bpy_struct.id_data`
288
+ to this struct and property (when given).
289
+ :rtype: str
290
+ """
213
291
  ...
214
292
 
215
293
  def path_menu(
216
294
  self,
217
- searchpaths,
218
- operator,
219
- props_default,
220
- prop_filepath,
221
- filter_ext,
222
- filter_path,
223
- display_name,
224
- add_operator,
225
- add_operator_props,
295
+ searchpaths: list[str],
296
+ operator: str,
297
+ props_default: dict = None,
298
+ prop_filepath: str = "filepath",
299
+ filter_ext: typing.Callable = None,
300
+ filter_path=None,
301
+ display_name: typing.Callable = None,
302
+ add_operator=None,
303
+ add_operator_props=None,
226
304
  ):
227
- """
305
+ """Populate a menu from a list of paths.
306
+
307
+ :param searchpaths: Paths to scan.
308
+ :type searchpaths: list[str]
309
+ :param operator: The operator id to use with each file.
310
+ :type operator: str
311
+ :param props_default: Properties to assign to each operator.
312
+ :type props_default: dict
313
+ :param prop_filepath: Optional operator filepath property (defaults to "filepath").
314
+ :type prop_filepath: str
315
+ :param filter_ext: Optional callback that takes the file extensions.
228
316
 
229
- :param searchpaths:
230
- :param operator:
231
- :param props_default:
232
- :param prop_filepath:
233
- :param filter_ext:
234
- :param filter_path:
235
- :param display_name:
236
- :param add_operator:
237
- :param add_operator_props:
317
+ Returning false excludes the file from the list.
318
+ :type filter_ext: typing.Callable
319
+ :param filter_path:
320
+ :param display_name: Optional callback that takes the full path, returns the name to display.
321
+ :type display_name: typing.Callable
322
+ :param add_operator:
323
+ :param add_operator_props:
238
324
  """
239
325
  ...
240
326
 
241
327
  def path_resolve(self):
242
- """ """
328
+ """Returns the property from the path, raise an exception when not found."""
243
329
  ...
244
330
 
245
331
  def pop(self):
246
- """ """
332
+ """Remove and return the value of the custom property assigned to key or default
333
+ when not found (matches Python's dictionary function of the same name).
334
+
335
+ """
247
336
  ...
248
337
 
249
338
  def prepend(self, draw_func):
250
- """
339
+ """Prepend a draw function to this menu, takes the same arguments as
340
+ the menus draw function
251
341
 
252
- :param draw_func:
342
+ :param draw_func:
253
343
  """
254
344
  ...
255
345
 
256
- def property_overridable_library_set(self):
257
- """ """
346
+ def property_overridable_library_set(self) -> bool:
347
+ """Define a property as overridable or not (only for custom properties!).
348
+
349
+ :return: True when the overridable status of the property was successfully set.
350
+ :rtype: bool
351
+ """
258
352
  ...
259
353
 
260
354
  def property_unset(self):
261
- """ """
355
+ """Unset a property, will use default value afterward."""
262
356
  ...
263
357
 
264
358
  def remove(self, draw_func):
265
- """
359
+ """Remove a draw function that has been added to this menu
266
360
 
267
361
  :param draw_func:
268
362
  """
269
363
  ...
270
364
 
271
365
  def type_recast(self):
272
- """ """
366
+ """Return a new instance, this is needed because types
367
+ such as textures can be changed at runtime.
368
+
369
+ :return: a new instance of this object with the type initialized again.
370
+ """
273
371
  ...
274
372
 
275
373
  def values(self):
276
- """ """
374
+ """Returns the values of this objects custom properties (matches Python's
375
+ dictionary function of the same name).
376
+
377
+ :return: custom property values.
378
+ """
277
379
  ...
278
380
 
279
381
  class BrushPanel(UnifiedPaintPanel):
280
382
  """ """
281
383
 
282
384
  def get_brush_mode(self, context):
283
- """
385
+ """Get the correct mode for this context. For any context where this returns None,
386
+ no brush options should be displayed.
284
387
 
285
- :param context:
388
+ :param context:
286
389
  """
287
390
  ...
288
391
 
@@ -306,29 +409,30 @@ class BrushPanel(UnifiedPaintPanel):
306
409
  context,
307
410
  brush,
308
411
  prop_name,
309
- unified_name,
310
- pressure_name,
311
- icon,
312
- text,
313
- slider,
314
- header,
412
+ unified_name=None,
413
+ pressure_name=None,
414
+ icon="NONE",
415
+ text=None,
416
+ slider=False,
417
+ header=False,
315
418
  ):
316
- """
419
+ """Generalized way of adding brush options to the UI,
420
+ along with their pen pressure setting and global toggle, if they exist.
317
421
 
318
- :param layout:
319
- :param context:
320
- :param brush:
321
- :param prop_name:
322
- :param unified_name:
323
- :param pressure_name:
324
- :param icon:
325
- :param text:
326
- :param slider:
327
- :param header:
422
+ :param layout:
423
+ :param context:
424
+ :param brush:
425
+ :param prop_name:
426
+ :param unified_name:
427
+ :param pressure_name:
428
+ :param icon:
429
+ :param text:
430
+ :param slider:
431
+ :param header:
328
432
  """
329
433
  ...
330
434
 
331
- def prop_unified_color(self, parent, context, brush, prop_name, text):
435
+ def prop_unified_color(self, parent, context, brush, prop_name, text=None):
332
436
  """
333
437
 
334
438
  :param parent:
@@ -340,7 +444,7 @@ class BrushPanel(UnifiedPaintPanel):
340
444
  ...
341
445
 
342
446
  def prop_unified_color_picker(
343
- self, parent, context, brush, prop_name, value_slider
447
+ self, parent, context, brush, prop_name, value_slider=True
344
448
  ):
345
449
  """
346
450
 
@@ -366,9 +470,10 @@ class BrushSelectPanel(BrushPanel, UnifiedPaintPanel):
366
470
  ...
367
471
 
368
472
  def get_brush_mode(self, context):
369
- """
473
+ """Get the correct mode for this context. For any context where this returns None,
474
+ no brush options should be displayed.
370
475
 
371
- :param context:
476
+ :param context:
372
477
  """
373
478
  ...
374
479
 
@@ -392,29 +497,30 @@ class BrushSelectPanel(BrushPanel, UnifiedPaintPanel):
392
497
  context,
393
498
  brush,
394
499
  prop_name,
395
- unified_name,
396
- pressure_name,
397
- icon,
398
- text,
399
- slider,
400
- header,
500
+ unified_name=None,
501
+ pressure_name=None,
502
+ icon="NONE",
503
+ text=None,
504
+ slider=False,
505
+ header=False,
401
506
  ):
402
- """
507
+ """Generalized way of adding brush options to the UI,
508
+ along with their pen pressure setting and global toggle, if they exist.
403
509
 
404
- :param layout:
405
- :param context:
406
- :param brush:
407
- :param prop_name:
408
- :param unified_name:
409
- :param pressure_name:
410
- :param icon:
411
- :param text:
412
- :param slider:
413
- :param header:
510
+ :param layout:
511
+ :param context:
512
+ :param brush:
513
+ :param prop_name:
514
+ :param unified_name:
515
+ :param pressure_name:
516
+ :param icon:
517
+ :param text:
518
+ :param slider:
519
+ :param header:
414
520
  """
415
521
  ...
416
522
 
417
- def prop_unified_color(self, parent, context, brush, prop_name, text):
523
+ def prop_unified_color(self, parent, context, brush, prop_name, text=None):
418
524
  """
419
525
 
420
526
  :param parent:
@@ -426,7 +532,7 @@ class BrushSelectPanel(BrushPanel, UnifiedPaintPanel):
426
532
  ...
427
533
 
428
534
  def prop_unified_color_picker(
429
- self, parent, context, brush, prop_name, value_slider
535
+ self, parent, context, brush, prop_name, value_slider=True
430
536
  ):
431
537
  """
432
538
 
@@ -462,9 +568,10 @@ class ClonePanel(BrushPanel, UnifiedPaintPanel):
462
568
  ...
463
569
 
464
570
  def get_brush_mode(self, context):
465
- """
571
+ """Get the correct mode for this context. For any context where this returns None,
572
+ no brush options should be displayed.
466
573
 
467
- :param context:
574
+ :param context:
468
575
  """
469
576
  ...
470
577
 
@@ -488,29 +595,30 @@ class ClonePanel(BrushPanel, UnifiedPaintPanel):
488
595
  context,
489
596
  brush,
490
597
  prop_name,
491
- unified_name,
492
- pressure_name,
493
- icon,
494
- text,
495
- slider,
496
- header,
598
+ unified_name=None,
599
+ pressure_name=None,
600
+ icon="NONE",
601
+ text=None,
602
+ slider=False,
603
+ header=False,
497
604
  ):
498
- """
605
+ """Generalized way of adding brush options to the UI,
606
+ along with their pen pressure setting and global toggle, if they exist.
499
607
 
500
- :param layout:
501
- :param context:
502
- :param brush:
503
- :param prop_name:
504
- :param unified_name:
505
- :param pressure_name:
506
- :param icon:
507
- :param text:
508
- :param slider:
509
- :param header:
608
+ :param layout:
609
+ :param context:
610
+ :param brush:
611
+ :param prop_name:
612
+ :param unified_name:
613
+ :param pressure_name:
614
+ :param icon:
615
+ :param text:
616
+ :param slider:
617
+ :param header:
510
618
  """
511
619
  ...
512
620
 
513
- def prop_unified_color(self, parent, context, brush, prop_name, text):
621
+ def prop_unified_color(self, parent, context, brush, prop_name, text=None):
514
622
  """
515
623
 
516
624
  :param parent:
@@ -522,7 +630,7 @@ class ClonePanel(BrushPanel, UnifiedPaintPanel):
522
630
  ...
523
631
 
524
632
  def prop_unified_color_picker(
525
- self, parent, context, brush, prop_name, value_slider
633
+ self, parent, context, brush, prop_name, value_slider=True
526
634
  ):
527
635
  """
528
636
 
@@ -551,9 +659,10 @@ class ColorPalettePanel(BrushPanel, UnifiedPaintPanel):
551
659
  ...
552
660
 
553
661
  def get_brush_mode(self, context):
554
- """
662
+ """Get the correct mode for this context. For any context where this returns None,
663
+ no brush options should be displayed.
555
664
 
556
- :param context:
665
+ :param context:
557
666
  """
558
667
  ...
559
668
 
@@ -577,29 +686,30 @@ class ColorPalettePanel(BrushPanel, UnifiedPaintPanel):
577
686
  context,
578
687
  brush,
579
688
  prop_name,
580
- unified_name,
581
- pressure_name,
582
- icon,
583
- text,
584
- slider,
585
- header,
689
+ unified_name=None,
690
+ pressure_name=None,
691
+ icon="NONE",
692
+ text=None,
693
+ slider=False,
694
+ header=False,
586
695
  ):
587
- """
696
+ """Generalized way of adding brush options to the UI,
697
+ along with their pen pressure setting and global toggle, if they exist.
588
698
 
589
- :param layout:
590
- :param context:
591
- :param brush:
592
- :param prop_name:
593
- :param unified_name:
594
- :param pressure_name:
595
- :param icon:
596
- :param text:
597
- :param slider:
598
- :param header:
699
+ :param layout:
700
+ :param context:
701
+ :param brush:
702
+ :param prop_name:
703
+ :param unified_name:
704
+ :param pressure_name:
705
+ :param icon:
706
+ :param text:
707
+ :param slider:
708
+ :param header:
599
709
  """
600
710
  ...
601
711
 
602
- def prop_unified_color(self, parent, context, brush, prop_name, text):
712
+ def prop_unified_color(self, parent, context, brush, prop_name, text=None):
603
713
  """
604
714
 
605
715
  :param parent:
@@ -611,7 +721,7 @@ class ColorPalettePanel(BrushPanel, UnifiedPaintPanel):
611
721
  ...
612
722
 
613
723
  def prop_unified_color_picker(
614
- self, parent, context, brush, prop_name, value_slider
724
+ self, parent, context, brush, prop_name, value_slider=True
615
725
  ):
616
726
  """
617
727
 
@@ -647,9 +757,10 @@ class DisplayPanel(BrushPanel, UnifiedPaintPanel):
647
757
  ...
648
758
 
649
759
  def get_brush_mode(self, context):
650
- """
760
+ """Get the correct mode for this context. For any context where this returns None,
761
+ no brush options should be displayed.
651
762
 
652
- :param context:
763
+ :param context:
653
764
  """
654
765
  ...
655
766
 
@@ -673,29 +784,30 @@ class DisplayPanel(BrushPanel, UnifiedPaintPanel):
673
784
  context,
674
785
  brush,
675
786
  prop_name,
676
- unified_name,
677
- pressure_name,
678
- icon,
679
- text,
680
- slider,
681
- header,
787
+ unified_name=None,
788
+ pressure_name=None,
789
+ icon="NONE",
790
+ text=None,
791
+ slider=False,
792
+ header=False,
682
793
  ):
683
- """
794
+ """Generalized way of adding brush options to the UI,
795
+ along with their pen pressure setting and global toggle, if they exist.
684
796
 
685
- :param layout:
686
- :param context:
687
- :param brush:
688
- :param prop_name:
689
- :param unified_name:
690
- :param pressure_name:
691
- :param icon:
692
- :param text:
693
- :param slider:
694
- :param header:
797
+ :param layout:
798
+ :param context:
799
+ :param brush:
800
+ :param prop_name:
801
+ :param unified_name:
802
+ :param pressure_name:
803
+ :param icon:
804
+ :param text:
805
+ :param slider:
806
+ :param header:
695
807
  """
696
808
  ...
697
809
 
698
- def prop_unified_color(self, parent, context, brush, prop_name, text):
810
+ def prop_unified_color(self, parent, context, brush, prop_name, text=None):
699
811
  """
700
812
 
701
813
  :param parent:
@@ -707,7 +819,7 @@ class DisplayPanel(BrushPanel, UnifiedPaintPanel):
707
819
  ...
708
820
 
709
821
  def prop_unified_color_picker(
710
- self, parent, context, brush, prop_name, value_slider
822
+ self, parent, context, brush, prop_name, value_slider=True
711
823
  ):
712
824
  """
713
825
 
@@ -736,9 +848,10 @@ class FalloffPanel(BrushPanel, UnifiedPaintPanel):
736
848
  ...
737
849
 
738
850
  def get_brush_mode(self, context):
739
- """
851
+ """Get the correct mode for this context. For any context where this returns None,
852
+ no brush options should be displayed.
740
853
 
741
- :param context:
854
+ :param context:
742
855
  """
743
856
  ...
744
857
 
@@ -762,29 +875,30 @@ class FalloffPanel(BrushPanel, UnifiedPaintPanel):
762
875
  context,
763
876
  brush,
764
877
  prop_name,
765
- unified_name,
766
- pressure_name,
767
- icon,
768
- text,
769
- slider,
770
- header,
878
+ unified_name=None,
879
+ pressure_name=None,
880
+ icon="NONE",
881
+ text=None,
882
+ slider=False,
883
+ header=False,
771
884
  ):
772
- """
885
+ """Generalized way of adding brush options to the UI,
886
+ along with their pen pressure setting and global toggle, if they exist.
773
887
 
774
- :param layout:
775
- :param context:
776
- :param brush:
777
- :param prop_name:
778
- :param unified_name:
779
- :param pressure_name:
780
- :param icon:
781
- :param text:
782
- :param slider:
783
- :param header:
888
+ :param layout:
889
+ :param context:
890
+ :param brush:
891
+ :param prop_name:
892
+ :param unified_name:
893
+ :param pressure_name:
894
+ :param icon:
895
+ :param text:
896
+ :param slider:
897
+ :param header:
784
898
  """
785
899
  ...
786
900
 
787
- def prop_unified_color(self, parent, context, brush, prop_name, text):
901
+ def prop_unified_color(self, parent, context, brush, prop_name, text=None):
788
902
  """
789
903
 
790
904
  :param parent:
@@ -796,7 +910,7 @@ class FalloffPanel(BrushPanel, UnifiedPaintPanel):
796
910
  ...
797
911
 
798
912
  def prop_unified_color_picker(
799
- self, parent, context, brush, prop_name, value_slider
913
+ self, parent, context, brush, prop_name, value_slider=True
800
914
  ):
801
915
  """
802
916
 
@@ -832,9 +946,10 @@ class SmoothStrokePanel(BrushPanel, UnifiedPaintPanel):
832
946
  ...
833
947
 
834
948
  def get_brush_mode(self, context):
835
- """
949
+ """Get the correct mode for this context. For any context where this returns None,
950
+ no brush options should be displayed.
836
951
 
837
- :param context:
952
+ :param context:
838
953
  """
839
954
  ...
840
955
 
@@ -858,29 +973,30 @@ class SmoothStrokePanel(BrushPanel, UnifiedPaintPanel):
858
973
  context,
859
974
  brush,
860
975
  prop_name,
861
- unified_name,
862
- pressure_name,
863
- icon,
864
- text,
865
- slider,
866
- header,
976
+ unified_name=None,
977
+ pressure_name=None,
978
+ icon="NONE",
979
+ text=None,
980
+ slider=False,
981
+ header=False,
867
982
  ):
868
- """
983
+ """Generalized way of adding brush options to the UI,
984
+ along with their pen pressure setting and global toggle, if they exist.
869
985
 
870
- :param layout:
871
- :param context:
872
- :param brush:
873
- :param prop_name:
874
- :param unified_name:
875
- :param pressure_name:
876
- :param icon:
877
- :param text:
878
- :param slider:
879
- :param header:
986
+ :param layout:
987
+ :param context:
988
+ :param brush:
989
+ :param prop_name:
990
+ :param unified_name:
991
+ :param pressure_name:
992
+ :param icon:
993
+ :param text:
994
+ :param slider:
995
+ :param header:
880
996
  """
881
997
  ...
882
998
 
883
- def prop_unified_color(self, parent, context, brush, prop_name, text):
999
+ def prop_unified_color(self, parent, context, brush, prop_name, text=None):
884
1000
  """
885
1001
 
886
1002
  :param parent:
@@ -892,7 +1008,7 @@ class SmoothStrokePanel(BrushPanel, UnifiedPaintPanel):
892
1008
  ...
893
1009
 
894
1010
  def prop_unified_color_picker(
895
- self, parent, context, brush, prop_name, value_slider
1011
+ self, parent, context, brush, prop_name, value_slider=True
896
1012
  ):
897
1013
  """
898
1014
 
@@ -924,9 +1040,10 @@ class StrokePanel(BrushPanel, UnifiedPaintPanel):
924
1040
  ...
925
1041
 
926
1042
  def get_brush_mode(self, context):
927
- """
1043
+ """Get the correct mode for this context. For any context where this returns None,
1044
+ no brush options should be displayed.
928
1045
 
929
- :param context:
1046
+ :param context:
930
1047
  """
931
1048
  ...
932
1049
 
@@ -950,29 +1067,30 @@ class StrokePanel(BrushPanel, UnifiedPaintPanel):
950
1067
  context,
951
1068
  brush,
952
1069
  prop_name,
953
- unified_name,
954
- pressure_name,
955
- icon,
956
- text,
957
- slider,
958
- header,
1070
+ unified_name=None,
1071
+ pressure_name=None,
1072
+ icon="NONE",
1073
+ text=None,
1074
+ slider=False,
1075
+ header=False,
959
1076
  ):
960
- """
1077
+ """Generalized way of adding brush options to the UI,
1078
+ along with their pen pressure setting and global toggle, if they exist.
961
1079
 
962
- :param layout:
963
- :param context:
964
- :param brush:
965
- :param prop_name:
966
- :param unified_name:
967
- :param pressure_name:
968
- :param icon:
969
- :param text:
970
- :param slider:
971
- :param header:
1080
+ :param layout:
1081
+ :param context:
1082
+ :param brush:
1083
+ :param prop_name:
1084
+ :param unified_name:
1085
+ :param pressure_name:
1086
+ :param icon:
1087
+ :param text:
1088
+ :param slider:
1089
+ :param header:
972
1090
  """
973
1091
  ...
974
1092
 
975
- def prop_unified_color(self, parent, context, brush, prop_name, text):
1093
+ def prop_unified_color(self, parent, context, brush, prop_name, text=None):
976
1094
  """
977
1095
 
978
1096
  :param parent:
@@ -984,7 +1102,7 @@ class StrokePanel(BrushPanel, UnifiedPaintPanel):
984
1102
  ...
985
1103
 
986
1104
  def prop_unified_color_picker(
987
- self, parent, context, brush, prop_name, value_slider
1105
+ self, parent, context, brush, prop_name, value_slider=True
988
1106
  ):
989
1107
  """
990
1108
 
@@ -1013,9 +1131,10 @@ class TextureMaskPanel(BrushPanel, UnifiedPaintPanel):
1013
1131
  ...
1014
1132
 
1015
1133
  def get_brush_mode(self, context):
1016
- """
1134
+ """Get the correct mode for this context. For any context where this returns None,
1135
+ no brush options should be displayed.
1017
1136
 
1018
- :param context:
1137
+ :param context:
1019
1138
  """
1020
1139
  ...
1021
1140
 
@@ -1039,29 +1158,30 @@ class TextureMaskPanel(BrushPanel, UnifiedPaintPanel):
1039
1158
  context,
1040
1159
  brush,
1041
1160
  prop_name,
1042
- unified_name,
1043
- pressure_name,
1044
- icon,
1045
- text,
1046
- slider,
1047
- header,
1161
+ unified_name=None,
1162
+ pressure_name=None,
1163
+ icon="NONE",
1164
+ text=None,
1165
+ slider=False,
1166
+ header=False,
1048
1167
  ):
1049
- """
1168
+ """Generalized way of adding brush options to the UI,
1169
+ along with their pen pressure setting and global toggle, if they exist.
1050
1170
 
1051
- :param layout:
1052
- :param context:
1053
- :param brush:
1054
- :param prop_name:
1055
- :param unified_name:
1056
- :param pressure_name:
1057
- :param icon:
1058
- :param text:
1059
- :param slider:
1060
- :param header:
1171
+ :param layout:
1172
+ :param context:
1173
+ :param brush:
1174
+ :param prop_name:
1175
+ :param unified_name:
1176
+ :param pressure_name:
1177
+ :param icon:
1178
+ :param text:
1179
+ :param slider:
1180
+ :param header:
1061
1181
  """
1062
1182
  ...
1063
1183
 
1064
- def prop_unified_color(self, parent, context, brush, prop_name, text):
1184
+ def prop_unified_color(self, parent, context, brush, prop_name, text=None):
1065
1185
  """
1066
1186
 
1067
1187
  :param parent:
@@ -1073,7 +1193,7 @@ class TextureMaskPanel(BrushPanel, UnifiedPaintPanel):
1073
1193
  ...
1074
1194
 
1075
1195
  def prop_unified_color_picker(
1076
- self, parent, context, brush, prop_name, value_slider
1196
+ self, parent, context, brush, prop_name, value_slider=True
1077
1197
  ):
1078
1198
  """
1079
1199
 
@@ -1090,38 +1210,38 @@ def brush_basic__draw_color_selector(context, layout, brush, gp_settings, props)
1090
1210
 
1091
1211
  ...
1092
1212
 
1093
- def brush_basic_gpencil_paint_settings(layout, context, brush, compact):
1213
+ def brush_basic_gpencil_paint_settings(layout, context, brush, compact=False):
1094
1214
  """ """
1095
1215
 
1096
1216
  ...
1097
1217
 
1098
- def brush_basic_gpencil_sculpt_settings(layout, _context, brush, compact):
1218
+ def brush_basic_gpencil_sculpt_settings(layout, _context, brush, compact=False):
1099
1219
  """ """
1100
1220
 
1101
1221
  ...
1102
1222
 
1103
- def brush_basic_gpencil_vertex_settings(layout, _context, brush, compact):
1223
+ def brush_basic_gpencil_vertex_settings(layout, _context, brush, compact=False):
1104
1224
  """ """
1105
1225
 
1106
1226
  ...
1107
1227
 
1108
- def brush_basic_gpencil_weight_settings(layout, _context, brush, compact):
1228
+ def brush_basic_gpencil_weight_settings(layout, _context, brush, compact=False):
1109
1229
  """ """
1110
1230
 
1111
1231
  ...
1112
1232
 
1113
- def brush_basic_grease_pencil_paint_settings(layout, context, brush, compact):
1233
+ def brush_basic_grease_pencil_paint_settings(layout, context, brush, compact=False):
1114
1234
  """ """
1115
1235
 
1116
1236
  ...
1117
1237
 
1118
- def brush_basic_grease_pencil_weight_settings(layout, context, brush, compact):
1238
+ def brush_basic_grease_pencil_weight_settings(layout, context, brush, compact=False):
1119
1239
  """ """
1120
1240
 
1121
1241
  ...
1122
1242
 
1123
- def brush_basic_texpaint_settings(layout, context, brush, compact):
1124
- """ """
1243
+ def brush_basic_texpaint_settings(layout, context, brush, compact=False):
1244
+ """Draw Tool Settings header for Vertex Paint and 2D and 3D Texture Paint modes."""
1125
1245
 
1126
1246
  ...
1127
1247
 
@@ -1130,18 +1250,21 @@ def brush_mask_texture_settings(layout, brush):
1130
1250
 
1131
1251
  ...
1132
1252
 
1133
- def brush_settings(layout, context, brush, popover):
1134
- """ """
1253
+ def brush_settings(layout, context, brush, popover=False):
1254
+ """Draw simple brush settings for Sculpt,
1255
+ Texture/Vertex/Weight Paint modes, or skip certain settings for the popover
1256
+
1257
+ """
1135
1258
 
1136
1259
  ...
1137
1260
 
1138
- def brush_settings_advanced(layout, context, brush, popover):
1139
- """ """
1261
+ def brush_settings_advanced(layout, context, brush, popover=False):
1262
+ """Draw advanced brush settings for Sculpt, Texture/Vertex/Weight Paint modes."""
1140
1263
 
1141
1264
  ...
1142
1265
 
1143
- def brush_shared_settings(layout, context, brush, popover):
1144
- """ """
1266
+ def brush_shared_settings(layout, context, brush, popover=False):
1267
+ """Draw simple brush settings that are shared between different paint modes."""
1145
1268
 
1146
1269
  ...
1147
1270
 
@@ -1150,7 +1273,7 @@ def brush_texture_settings(layout, brush, sculpt):
1150
1273
 
1151
1274
  ...
1152
1275
 
1153
- def draw_color_settings(context, layout, brush, color_type):
1154
- """ """
1276
+ def draw_color_settings(context, layout, brush, color_type=False):
1277
+ """Draw color wheel and gradient settings."""
1155
1278
 
1156
1279
  ...