fake-bpy-module 20240321__py3-none-any.whl → 20240322__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 +27 -11
- aud/__init__.pyi +130 -123
- bgl/__init__.pyi +1831 -216
- bl_app_override/__init__.pyi +14 -3
- bl_app_override/helpers/__init__.pyi +19 -10
- 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 +19 -23
- bl_i18n_utils/utils/__init__.pyi +81 -143
- 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 +120 -49
- bl_operators/anim/__init__.pyi +903 -297
- bl_operators/assets/__init__.pyi +348 -123
- bl_operators/bmesh/find_adjacent/__init__.pyi +44 -9
- bl_operators/clip/__init__.pyi +1262 -470
- bl_operators/console/__init__.pyi +542 -160
- bl_operators/constraint/__init__.pyi +452 -140
- bl_operators/file/__init__.pyi +339 -114
- bl_operators/freestyle/__init__.pyi +440 -132
- bl_operators/geometry_nodes/__init__.pyi +2131 -842
- bl_operators/image/__init__.pyi +330 -97
- bl_operators/mesh/__init__.pyi +339 -109
- bl_operators/node/__init__.pyi +1506 -621
- bl_operators/object/__init__.pyi +1828 -668
- bl_operators/object_align/__init__.pyi +124 -35
- bl_operators/object_quick_effects/__init__.pyi +470 -149
- bl_operators/object_randomize_transform/__init__.pyi +114 -35
- bl_operators/presets/__init__.pyi +3056 -1374
- bl_operators/rigidbody/__init__.pyi +336 -106
- bl_operators/screen_play_rendered_anim/__init__.pyi +115 -33
- bl_operators/sequencer/__init__.pyi +579 -204
- bl_operators/spreadsheet/__init__.pyi +110 -38
- bl_operators/userpref/__init__.pyi +3201 -1236
- bl_operators/uvcalc_follow_active/__init__.pyi +119 -38
- bl_operators/uvcalc_lightmap/__init__.pyi +137 -54
- bl_operators/uvcalc_transform/__init__.pyi +295 -83
- bl_operators/vertexpaint_dirt/__init__.pyi +119 -34
- bl_operators/view3d/__init__.pyi +542 -184
- bl_operators/wm/__init__.pyi +5554 -2159
- 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 +346 -146
- bl_ui/anim/__init__.pyi +107 -47
- bl_ui/asset_shelf/__init__.pyi +111 -33
- bl_ui/generic_ui_list/__init__.pyi +349 -146
- bl_ui/node_add_menu/__init__.pyi +138 -53
- bl_ui/node_add_menu_compositor/__init__.pyi +2134 -1016
- bl_ui/node_add_menu_geometry/__init__.pyi +5833 -2855
- bl_ui/node_add_menu_shader/__init__.pyi +1162 -511
- bl_ui/node_add_menu_texture/__init__.pyi +1008 -450
- bl_ui/properties_animviz/__init__.pyi +14 -12
- bl_ui/properties_collection/__init__.pyi +601 -218
- bl_ui/properties_constraint/__init__.pyi +10115 -10647
- bl_ui/properties_data_armature/__init__.pyi +1550 -648
- bl_ui/properties_data_bone/__init__.pyi +1317 -511
- bl_ui/properties_data_camera/__init__.pyi +1852 -719
- bl_ui/properties_data_curve/__init__.pyi +2015 -781
- bl_ui/properties_data_curves/__init__.pyi +713 -262
- bl_ui/properties_data_empty/__init__.pyi +252 -84
- bl_ui/properties_data_gpencil/__init__.pyi +2505 -1105
- bl_ui/properties_data_grease_pencil/__init__.pyi +1350 -594
- bl_ui/properties_data_lattice/__init__.pyi +374 -123
- bl_ui/properties_data_light/__init__.pyi +1319 -489
- bl_ui/properties_data_lightprobe/__init__.pyi +734 -241
- bl_ui/properties_data_mesh/__init__.pyi +2652 -1189
- bl_ui/properties_data_metaball/__init__.pyi +610 -197
- bl_ui/properties_data_modifier/__init__.pyi +1143 -506
- bl_ui/properties_data_pointcloud/__init__.pyi +670 -303
- bl_ui/properties_data_shaderfx/__init__.pyi +126 -36
- bl_ui/properties_data_speaker/__init__.pyi +618 -195
- bl_ui/properties_data_volume/__init__.pyi +1052 -408
- bl_ui/properties_freestyle/__init__.pyi +3366 -1450
- bl_ui/properties_grease_pencil_common/__init__.pyi +1634 -776
- bl_ui/properties_mask_common/__init__.pyi +803 -371
- bl_ui/properties_material/__init__.pyi +2038 -831
- bl_ui/properties_material_gpencil/__init__.pyi +1272 -523
- bl_ui/properties_object/__init__.pyi +1863 -745
- bl_ui/properties_output/__init__.pyi +2482 -1071
- bl_ui/properties_paint_common/__init__.pyi +317 -424
- bl_ui/properties_particle/__init__.pyi +7235 -2942
- bl_ui/properties_physics_cloth/__init__.pyi +1903 -758
- bl_ui/properties_physics_common/__init__.pyi +164 -51
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +2787 -1114
- bl_ui/properties_physics_field/__init__.pyi +1294 -486
- bl_ui/properties_physics_fluid/__init__.pyi +3631 -1545
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +115 -34
- bl_ui/properties_physics_rigidbody/__init__.pyi +983 -312
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +1718 -656
- bl_ui/properties_physics_softbody/__init__.pyi +2091 -836
- bl_ui/properties_render/__init__.pyi +7177 -2939
- bl_ui/properties_scene/__init__.pyi +1881 -760
- bl_ui/properties_texture/__init__.pyi +3539 -1399
- bl_ui/properties_view_layer/__init__.pyi +2368 -940
- bl_ui/properties_workspace/__init__.pyi +517 -202
- bl_ui/properties_world/__init__.pyi +862 -269
- bl_ui/space_clip/__init__.pyi +9127 -4137
- bl_ui/space_console/__init__.pyi +666 -286
- bl_ui/space_dopesheet/__init__.pyi +3287 -1504
- bl_ui/space_filebrowser/__init__.pyi +3958 -1935
- bl_ui/space_graph/__init__.pyi +2406 -1142
- bl_ui/space_image/__init__.pyi +9242 -4526
- bl_ui/space_info/__init__.pyi +664 -285
- bl_ui/space_nla/__init__.pyi +2014 -932
- bl_ui/space_node/__init__.pyi +4549 -1949
- bl_ui/space_outliner/__init__.pyi +1619 -745
- bl_ui/space_properties/__init__.pyi +340 -105
- bl_ui/space_sequencer/__init__.pyi +9396 -4264
- bl_ui/space_spreadsheet/__init__.pyi +110 -60
- bl_ui/space_statusbar/__init__.pyi +107 -32
- bl_ui/space_text/__init__.pyi +1907 -872
- bl_ui/space_time/__init__.pyi +812 -327
- bl_ui/space_toolsystem_common/__init__.pyi +203 -99
- bl_ui/space_toolsystem_toolbar/__init__.pyi +845 -289
- bl_ui/space_topbar/__init__.pyi +3131 -1437
- bl_ui/space_userpref/__init__.pyi +11510 -4926
- bl_ui/space_view3d/__init__.pyi +31358 -14417
- bl_ui/space_view3d_toolbar/__init__.pyi +12401 -6163
- bl_ui/utils/__init__.pyi +7 -16
- 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 +253 -247
- bmesh/utils/__init__.pyi +54 -54
- 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 +316 -415
- bpy/ops/anim/__init__.pyi +428 -566
- bpy/ops/armature/__init__.pyi +360 -488
- bpy/ops/asset/__init__.pyi +146 -183
- bpy/ops/boid/__init__.pyi +50 -67
- bpy/ops/brush/__init__.pyi +72 -96
- bpy/ops/buttons/__init__.pyi +128 -142
- bpy/ops/cachefile/__init__.pyi +124 -137
- bpy/ops/camera/__init__.pyi +22 -28
- bpy/ops/clip/__init__.pyi +768 -1005
- bpy/ops/cloth/__init__.pyi +10 -13
- bpy/ops/collection/__init__.pyi +36 -50
- bpy/ops/console/__init__.pyi +150 -203
- bpy/ops/constraint/__init__.pyi +150 -201
- bpy/ops/curve/__init__.pyi +474 -607
- bpy/ops/curves/__init__.pyi +170 -221
- bpy/ops/cycles/__init__.pyi +18 -26
- bpy/ops/dpaint/__init__.pyi +34 -46
- bpy/ops/ed/__init__.pyi +122 -149
- bpy/ops/export_anim/__init__.pyi +18 -21
- bpy/ops/export_mesh/__init__.pyi +26 -29
- bpy/ops/export_scene/__init__.pyi +307 -342
- bpy/ops/file/__init__.pyi +342 -436
- bpy/ops/fluid/__init__.pyi +88 -117
- bpy/ops/font/__init__.pyi +252 -311
- bpy/ops/geometry/__init__.pyi +86 -113
- bpy/ops/gizmogroup/__init__.pyi +22 -27
- bpy/ops/gpencil/__init__.pyi +1444 -1864
- bpy/ops/graph/__init__.pyi +642 -822
- bpy/ops/grease_pencil/__init__.pyi +426 -576
- bpy/ops/image/__init__.pyi +612 -733
- bpy/ops/import_anim/__init__.pyi +26 -29
- bpy/ops/import_curve/__init__.pyi +6 -9
- bpy/ops/import_mesh/__init__.pyi +18 -23
- bpy/ops/import_scene/__init__.pyi +86 -101
- bpy/ops/info/__init__.pyi +60 -77
- bpy/ops/lattice/__init__.pyi +64 -85
- bpy/ops/marker/__init__.pyi +106 -137
- bpy/ops/mask/__init__.pyi +318 -420
- bpy/ops/material/__init__.pyi +18 -24
- bpy/ops/mball/__init__.pyi +70 -93
- bpy/ops/mesh/__init__.pyi +1988 -2460
- bpy/ops/nla/__init__.pyi +330 -428
- bpy/ops/node/__init__.pyi +852 -1115
- bpy/ops/object/__init__.pyi +2420 -3081
- bpy/ops/outliner/__init__.pyi +498 -661
- bpy/ops/paint/__init__.pyi +518 -667
- bpy/ops/paintcurve/__init__.pyi +64 -84
- bpy/ops/palette/__init__.pyi +48 -66
- bpy/ops/particle/__init__.pyi +264 -355
- bpy/ops/pose/__init__.pyi +336 -438
- bpy/ops/poselib/__init__.pyi +70 -92
- bpy/ops/preferences/__init__.pyi +336 -440
- bpy/ops/ptcache/__init__.pyi +46 -62
- bpy/ops/render/__init__.pyi +114 -147
- bpy/ops/rigidbody/__init__.pyi +102 -135
- bpy/ops/scene/__init__.pyi +270 -364
- bpy/ops/screen/__init__.pyi +378 -477
- bpy/ops/script/__init__.pyi +18 -26
- bpy/ops/sculpt/__init__.pyi +400 -488
- bpy/ops/sculpt_curves/__init__.pyi +40 -53
- bpy/ops/sequencer/__init__.pyi +1040 -1279
- bpy/ops/sound/__init__.pyi +208 -226
- bpy/ops/spreadsheet/__init__.pyi +30 -40
- bpy/ops/surface/__init__.pyi +108 -126
- bpy/ops/text/__init__.pyi +382 -486
- bpy/ops/text_editor/__init__.pyi +10 -13
- bpy/ops/texture/__init__.pyi +26 -35
- bpy/ops/transform/__init__.pyi +790 -905
- bpy/ops/ui/__init__.pyi +216 -291
- bpy/ops/uilist/__init__.pyi +20 -29
- bpy/ops/uv/__init__.pyi +600 -742
- bpy/ops/view2d/__init__.pyi +156 -195
- bpy/ops/view3d/__init__.pyi +576 -742
- bpy/ops/wm/__init__.pyi +2360 -2702
- bpy/ops/workspace/__init__.pyi +42 -57
- bpy/ops/world/__init__.pyi +6 -8
- bpy/path/__init__.pyi +110 -81
- bpy/props/__init__.pyi +263 -267
- bpy/types/__init__.pyi +86353 -87337
- bpy/utils/__init__.pyi +242 -154
- bpy/utils/previews/__init__.pyi +57 -57
- bpy/utils/units/__init__.pyi +19 -22
- bpy_extras/anim_utils/__init__.pyi +11 -31
- bpy_extras/asset_utils/__init__.pyi +4 -1
- 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 -1
- 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 +3748 -1248
- console_python/__init__.pyi +41 -7
- console_shell/__init__.pyi +24 -5
- {fake_bpy_module-20240321.dist-info → fake_bpy_module-20240322.dist-info}/METADATA +1 -1
- fake_bpy_module-20240322.dist-info/RECORD +343 -0
- 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 +463 -470
- freestyle/utils/ContextFunctions/__init__.pyi +9 -9
- freestyle/utils/__init__.pyi +27 -17
- gpu/capabilities/__init__.pyi +19 -20
- 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 +26 -6
- gpu_extras/presets/__init__.pyi +51 -16
- 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 +2520 -1085
- keyingsets_utils/__init__.pyi +69 -14
- mathutils/__init__.pyi +491 -423
- mathutils/bvhtree/__init__.pyi +26 -31
- mathutils/geometry/__init__.pyi +176 -185
- mathutils/kdtree/__init__.pyi +14 -17
- mathutils/noise/__init__.pyi +47 -48
- nodeitems_builtins/__init__.pyi +37 -15
- nodeitems_utils/__init__.pyi +45 -13
- rna_info/__init__.pyi +177 -76
- rna_keymap_ui/__init__.pyi +29 -6
- rna_prop_ui/__init__.pyi +56 -14
- rna_xml/__init__.pyi +29 -6
- sys_info/__init__.pyi +4 -1
- fake_bpy_module-20240321.dist-info/RECORD +0 -343
- {fake_bpy_module-20240321.dist-info → fake_bpy_module-20240322.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240321.dist-info → fake_bpy_module-20240322.dist-info}/top_level.txt +0 -0
bpy/ops/cycles/__init__.pyi
CHANGED
|
@@ -4,20 +4,17 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def denoise_animation(
|
|
7
|
-
override_context: typing.
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
11
|
-
undo: typing.Optional[bool] = None,
|
|
12
|
-
*,
|
|
7
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
+
execution_context: typing.Union[str, int] = None,
|
|
9
|
+
undo: bool = None,
|
|
13
10
|
input_filepath: typing.Union[str, typing.Any] = "",
|
|
14
11
|
output_filepath: typing.Union[str, typing.Any] = "",
|
|
15
12
|
):
|
|
16
13
|
"""Denoise rendered animation sequence using current scene and view layer settings. Requires denoising data passes and output to OpenEXR multilayer files
|
|
17
14
|
|
|
18
|
-
:type override_context: typing.
|
|
19
|
-
:type execution_context: typing.
|
|
20
|
-
:type undo:
|
|
15
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
16
|
+
:type execution_context: typing.Union[str, int]
|
|
17
|
+
:type undo: bool
|
|
21
18
|
:param input_filepath: Input Filepath, File path for image to denoise. If not specified, uses the render file path and frame range from the scene
|
|
22
19
|
:type input_filepath: typing.Union[str, typing.Any]
|
|
23
20
|
:param output_filepath: Output Filepath, If not specified, renders will be denoised in-place
|
|
@@ -27,21 +24,18 @@ def denoise_animation(
|
|
|
27
24
|
...
|
|
28
25
|
|
|
29
26
|
def merge_images(
|
|
30
|
-
override_context: typing.
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
34
|
-
undo: typing.Optional[bool] = None,
|
|
35
|
-
*,
|
|
27
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
28
|
+
execution_context: typing.Union[str, int] = None,
|
|
29
|
+
undo: bool = None,
|
|
36
30
|
input_filepath1: typing.Union[str, typing.Any] = "",
|
|
37
31
|
input_filepath2: typing.Union[str, typing.Any] = "",
|
|
38
32
|
output_filepath: typing.Union[str, typing.Any] = "",
|
|
39
33
|
):
|
|
40
34
|
"""Combine OpenEXR multi-layer images rendered with different sample ranges into one image with reduced noise
|
|
41
35
|
|
|
42
|
-
:type override_context: typing.
|
|
43
|
-
:type execution_context: typing.
|
|
44
|
-
:type undo:
|
|
36
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
37
|
+
:type execution_context: typing.Union[str, int]
|
|
38
|
+
:type undo: bool
|
|
45
39
|
:param input_filepath1: Input Filepath, File path for image to merge
|
|
46
40
|
:type input_filepath1: typing.Union[str, typing.Any]
|
|
47
41
|
:param input_filepath2: Input Filepath, File path for image to merge
|
|
@@ -53,17 +47,15 @@ def merge_images(
|
|
|
53
47
|
...
|
|
54
48
|
|
|
55
49
|
def use_shading_nodes(
|
|
56
|
-
override_context: typing.
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
60
|
-
undo: typing.Optional[bool] = None,
|
|
50
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
51
|
+
execution_context: typing.Union[str, int] = None,
|
|
52
|
+
undo: bool = None,
|
|
61
53
|
):
|
|
62
54
|
"""Enable nodes on a material, world or light
|
|
63
55
|
|
|
64
|
-
:type override_context: typing.
|
|
65
|
-
:type execution_context: typing.
|
|
66
|
-
:type undo:
|
|
56
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
57
|
+
:type execution_context: typing.Union[str, int]
|
|
58
|
+
:type undo: bool
|
|
67
59
|
"""
|
|
68
60
|
|
|
69
61
|
...
|
bpy/ops/dpaint/__init__.pyi
CHANGED
|
@@ -4,89 +4,77 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def bake(
|
|
7
|
-
override_context: typing.
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
11
|
-
undo: typing.Optional[bool] = None,
|
|
7
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
+
execution_context: typing.Union[str, int] = None,
|
|
9
|
+
undo: bool = None,
|
|
12
10
|
):
|
|
13
11
|
"""Bake dynamic paint image sequence surface
|
|
14
12
|
|
|
15
|
-
:type override_context: typing.
|
|
16
|
-
:type execution_context: typing.
|
|
17
|
-
:type undo:
|
|
13
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
14
|
+
:type execution_context: typing.Union[str, int]
|
|
15
|
+
:type undo: bool
|
|
18
16
|
"""
|
|
19
17
|
|
|
20
18
|
...
|
|
21
19
|
|
|
22
20
|
def output_toggle(
|
|
23
|
-
override_context: typing.
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
undo: typing.Optional[bool] = None,
|
|
28
|
-
*,
|
|
29
|
-
output: typing.Optional[typing.Any] = "A",
|
|
21
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
22
|
+
execution_context: typing.Union[str, int] = None,
|
|
23
|
+
undo: bool = None,
|
|
24
|
+
output: typing.Any = "A",
|
|
30
25
|
):
|
|
31
26
|
"""Add or remove Dynamic Paint output data layer
|
|
32
27
|
|
|
33
|
-
:type override_context: typing.
|
|
34
|
-
:type execution_context: typing.
|
|
35
|
-
:type undo:
|
|
28
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
29
|
+
:type execution_context: typing.Union[str, int]
|
|
30
|
+
:type undo: bool
|
|
36
31
|
:param output: Output Toggle
|
|
37
|
-
:type output: typing.
|
|
32
|
+
:type output: typing.Any
|
|
38
33
|
"""
|
|
39
34
|
|
|
40
35
|
...
|
|
41
36
|
|
|
42
37
|
def surface_slot_add(
|
|
43
|
-
override_context: typing.
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
47
|
-
undo: typing.Optional[bool] = None,
|
|
38
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
39
|
+
execution_context: typing.Union[str, int] = None,
|
|
40
|
+
undo: bool = None,
|
|
48
41
|
):
|
|
49
42
|
"""Add a new Dynamic Paint surface slot
|
|
50
43
|
|
|
51
|
-
:type override_context: typing.
|
|
52
|
-
:type execution_context: typing.
|
|
53
|
-
:type undo:
|
|
44
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
45
|
+
:type execution_context: typing.Union[str, int]
|
|
46
|
+
:type undo: bool
|
|
54
47
|
"""
|
|
55
48
|
|
|
56
49
|
...
|
|
57
50
|
|
|
58
51
|
def surface_slot_remove(
|
|
59
|
-
override_context: typing.
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
63
|
-
undo: typing.Optional[bool] = None,
|
|
52
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
53
|
+
execution_context: typing.Union[str, int] = None,
|
|
54
|
+
undo: bool = None,
|
|
64
55
|
):
|
|
65
56
|
"""Remove the selected surface slot
|
|
66
57
|
|
|
67
|
-
:type override_context: typing.
|
|
68
|
-
:type execution_context: typing.
|
|
69
|
-
:type undo:
|
|
58
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
59
|
+
:type execution_context: typing.Union[str, int]
|
|
60
|
+
:type undo: bool
|
|
70
61
|
"""
|
|
71
62
|
|
|
72
63
|
...
|
|
73
64
|
|
|
74
65
|
def type_toggle(
|
|
75
|
-
override_context: typing.
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
undo: typing.Optional[bool] = None,
|
|
80
|
-
*,
|
|
81
|
-
type: typing.Optional[typing.Any] = "CANVAS",
|
|
66
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
67
|
+
execution_context: typing.Union[str, int] = None,
|
|
68
|
+
undo: bool = None,
|
|
69
|
+
type: typing.Any = "CANVAS",
|
|
82
70
|
):
|
|
83
71
|
"""Toggle whether given type is active or not
|
|
84
72
|
|
|
85
|
-
:type override_context: typing.
|
|
86
|
-
:type execution_context: typing.
|
|
87
|
-
:type undo:
|
|
73
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
74
|
+
:type execution_context: typing.Union[str, int]
|
|
75
|
+
:type undo: bool
|
|
88
76
|
:param type: Type
|
|
89
|
-
:type type: typing.
|
|
77
|
+
:type type: typing.Any
|
|
90
78
|
"""
|
|
91
79
|
|
|
92
80
|
...
|
bpy/ops/ed/__init__.pyi
CHANGED
|
@@ -4,153 +4,142 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def flush_edits(
|
|
7
|
-
override_context: typing.
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
11
|
-
undo: typing.Optional[bool] = None,
|
|
7
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
+
execution_context: typing.Union[str, int] = None,
|
|
9
|
+
undo: bool = None,
|
|
12
10
|
):
|
|
13
11
|
"""Flush edit data from active editing modes
|
|
14
12
|
|
|
15
|
-
:type override_context: typing.
|
|
16
|
-
:type execution_context: typing.
|
|
17
|
-
:type undo:
|
|
13
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
14
|
+
:type execution_context: typing.Union[str, int]
|
|
15
|
+
:type undo: bool
|
|
18
16
|
"""
|
|
19
17
|
|
|
20
18
|
...
|
|
21
19
|
|
|
22
20
|
def lib_id_fake_user_toggle(
|
|
23
|
-
override_context: typing.
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
27
|
-
undo: typing.Optional[bool] = None,
|
|
21
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
22
|
+
execution_context: typing.Union[str, int] = None,
|
|
23
|
+
undo: bool = None,
|
|
28
24
|
):
|
|
29
25
|
"""Save this data-block even if it has no users
|
|
30
26
|
|
|
31
|
-
:type override_context: typing.
|
|
32
|
-
:type execution_context: typing.
|
|
33
|
-
:type undo:
|
|
27
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
28
|
+
:type execution_context: typing.Union[str, int]
|
|
29
|
+
:type undo: bool
|
|
34
30
|
"""
|
|
35
31
|
|
|
36
32
|
...
|
|
37
33
|
|
|
38
34
|
def lib_id_generate_preview(
|
|
39
|
-
override_context: typing.
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
43
|
-
undo: typing.Optional[bool] = None,
|
|
35
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
36
|
+
execution_context: typing.Union[str, int] = None,
|
|
37
|
+
undo: bool = None,
|
|
44
38
|
):
|
|
45
39
|
"""Create an automatic preview for the selected data-block
|
|
46
40
|
|
|
47
|
-
:type override_context: typing.
|
|
48
|
-
:type execution_context: typing.
|
|
49
|
-
:type undo:
|
|
41
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
42
|
+
:type execution_context: typing.Union[str, int]
|
|
43
|
+
:type undo: bool
|
|
50
44
|
"""
|
|
51
45
|
|
|
52
46
|
...
|
|
53
47
|
|
|
54
48
|
def lib_id_generate_preview_from_object(
|
|
55
|
-
override_context: typing.
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
59
|
-
undo: typing.Optional[bool] = None,
|
|
49
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
50
|
+
execution_context: typing.Union[str, int] = None,
|
|
51
|
+
undo: bool = None,
|
|
60
52
|
):
|
|
61
53
|
"""Create a preview for this asset by rendering the active object
|
|
62
54
|
|
|
63
|
-
:type override_context: typing.
|
|
64
|
-
:type execution_context: typing.
|
|
65
|
-
:type undo:
|
|
55
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
56
|
+
:type execution_context: typing.Union[str, int]
|
|
57
|
+
:type undo: bool
|
|
66
58
|
"""
|
|
67
59
|
|
|
68
60
|
...
|
|
69
61
|
|
|
70
62
|
def lib_id_load_custom_preview(
|
|
71
|
-
override_context: typing.
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
75
|
-
undo: typing.Optional[bool] = None,
|
|
76
|
-
*,
|
|
63
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
64
|
+
execution_context: typing.Union[str, int] = None,
|
|
65
|
+
undo: bool = None,
|
|
77
66
|
filepath: typing.Union[str, typing.Any] = "",
|
|
78
|
-
hide_props_region: typing.
|
|
79
|
-
check_existing: typing.
|
|
80
|
-
filter_blender: typing.
|
|
81
|
-
filter_backup: typing.
|
|
82
|
-
filter_image: typing.
|
|
83
|
-
filter_movie: typing.
|
|
84
|
-
filter_python: typing.
|
|
85
|
-
filter_font: typing.
|
|
86
|
-
filter_sound: typing.
|
|
87
|
-
filter_text: typing.
|
|
88
|
-
filter_archive: typing.
|
|
89
|
-
filter_btx: typing.
|
|
90
|
-
filter_collada: typing.
|
|
91
|
-
filter_alembic: typing.
|
|
92
|
-
filter_usd: typing.
|
|
93
|
-
filter_obj: typing.
|
|
94
|
-
filter_volume: typing.
|
|
95
|
-
filter_folder: typing.
|
|
96
|
-
filter_blenlib: typing.
|
|
97
|
-
filemode: typing.
|
|
98
|
-
show_multiview: typing.
|
|
99
|
-
use_multiview: typing.
|
|
100
|
-
display_type: typing.
|
|
101
|
-
sort_method: typing.
|
|
67
|
+
hide_props_region: typing.Union[bool, typing.Any] = True,
|
|
68
|
+
check_existing: typing.Union[bool, typing.Any] = False,
|
|
69
|
+
filter_blender: typing.Union[bool, typing.Any] = False,
|
|
70
|
+
filter_backup: typing.Union[bool, typing.Any] = False,
|
|
71
|
+
filter_image: typing.Union[bool, typing.Any] = True,
|
|
72
|
+
filter_movie: typing.Union[bool, typing.Any] = False,
|
|
73
|
+
filter_python: typing.Union[bool, typing.Any] = False,
|
|
74
|
+
filter_font: typing.Union[bool, typing.Any] = False,
|
|
75
|
+
filter_sound: typing.Union[bool, typing.Any] = False,
|
|
76
|
+
filter_text: typing.Union[bool, typing.Any] = False,
|
|
77
|
+
filter_archive: typing.Union[bool, typing.Any] = False,
|
|
78
|
+
filter_btx: typing.Union[bool, typing.Any] = False,
|
|
79
|
+
filter_collada: typing.Union[bool, typing.Any] = False,
|
|
80
|
+
filter_alembic: typing.Union[bool, typing.Any] = False,
|
|
81
|
+
filter_usd: typing.Union[bool, typing.Any] = False,
|
|
82
|
+
filter_obj: typing.Union[bool, typing.Any] = False,
|
|
83
|
+
filter_volume: typing.Union[bool, typing.Any] = False,
|
|
84
|
+
filter_folder: typing.Union[bool, typing.Any] = True,
|
|
85
|
+
filter_blenlib: typing.Union[bool, typing.Any] = False,
|
|
86
|
+
filemode: typing.Any = 9,
|
|
87
|
+
show_multiview: typing.Union[bool, typing.Any] = False,
|
|
88
|
+
use_multiview: typing.Union[bool, typing.Any] = False,
|
|
89
|
+
display_type: typing.Any = "DEFAULT",
|
|
90
|
+
sort_method: typing.Union[str, int, typing.Any] = "",
|
|
102
91
|
):
|
|
103
92
|
"""Choose an image to help identify the data-block visually
|
|
104
93
|
|
|
105
|
-
:type override_context: typing.
|
|
106
|
-
:type execution_context: typing.
|
|
107
|
-
:type undo:
|
|
94
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
95
|
+
:type execution_context: typing.Union[str, int]
|
|
96
|
+
:type undo: bool
|
|
108
97
|
:param filepath: File Path, Path to file
|
|
109
98
|
:type filepath: typing.Union[str, typing.Any]
|
|
110
99
|
:param hide_props_region: Hide Operator Properties, Collapse the region displaying the operator settings
|
|
111
|
-
:type hide_props_region: typing.
|
|
100
|
+
:type hide_props_region: typing.Union[bool, typing.Any]
|
|
112
101
|
:param check_existing: Check Existing, Check and warn on overwriting existing files
|
|
113
|
-
:type check_existing: typing.
|
|
102
|
+
:type check_existing: typing.Union[bool, typing.Any]
|
|
114
103
|
:param filter_blender: Filter .blend files
|
|
115
|
-
:type filter_blender: typing.
|
|
104
|
+
:type filter_blender: typing.Union[bool, typing.Any]
|
|
116
105
|
:param filter_backup: Filter .blend files
|
|
117
|
-
:type filter_backup: typing.
|
|
106
|
+
:type filter_backup: typing.Union[bool, typing.Any]
|
|
118
107
|
:param filter_image: Filter image files
|
|
119
|
-
:type filter_image: typing.
|
|
108
|
+
:type filter_image: typing.Union[bool, typing.Any]
|
|
120
109
|
:param filter_movie: Filter movie files
|
|
121
|
-
:type filter_movie: typing.
|
|
110
|
+
:type filter_movie: typing.Union[bool, typing.Any]
|
|
122
111
|
:param filter_python: Filter Python files
|
|
123
|
-
:type filter_python: typing.
|
|
112
|
+
:type filter_python: typing.Union[bool, typing.Any]
|
|
124
113
|
:param filter_font: Filter font files
|
|
125
|
-
:type filter_font: typing.
|
|
114
|
+
:type filter_font: typing.Union[bool, typing.Any]
|
|
126
115
|
:param filter_sound: Filter sound files
|
|
127
|
-
:type filter_sound: typing.
|
|
116
|
+
:type filter_sound: typing.Union[bool, typing.Any]
|
|
128
117
|
:param filter_text: Filter text files
|
|
129
|
-
:type filter_text: typing.
|
|
118
|
+
:type filter_text: typing.Union[bool, typing.Any]
|
|
130
119
|
:param filter_archive: Filter archive files
|
|
131
|
-
:type filter_archive: typing.
|
|
120
|
+
:type filter_archive: typing.Union[bool, typing.Any]
|
|
132
121
|
:param filter_btx: Filter btx files
|
|
133
|
-
:type filter_btx: typing.
|
|
122
|
+
:type filter_btx: typing.Union[bool, typing.Any]
|
|
134
123
|
:param filter_collada: Filter COLLADA files
|
|
135
|
-
:type filter_collada: typing.
|
|
124
|
+
:type filter_collada: typing.Union[bool, typing.Any]
|
|
136
125
|
:param filter_alembic: Filter Alembic files
|
|
137
|
-
:type filter_alembic: typing.
|
|
126
|
+
:type filter_alembic: typing.Union[bool, typing.Any]
|
|
138
127
|
:param filter_usd: Filter USD files
|
|
139
|
-
:type filter_usd: typing.
|
|
128
|
+
:type filter_usd: typing.Union[bool, typing.Any]
|
|
140
129
|
:param filter_obj: Filter OBJ files
|
|
141
|
-
:type filter_obj: typing.
|
|
130
|
+
:type filter_obj: typing.Union[bool, typing.Any]
|
|
142
131
|
:param filter_volume: Filter OpenVDB volume files
|
|
143
|
-
:type filter_volume: typing.
|
|
132
|
+
:type filter_volume: typing.Union[bool, typing.Any]
|
|
144
133
|
:param filter_folder: Filter folders
|
|
145
|
-
:type filter_folder: typing.
|
|
134
|
+
:type filter_folder: typing.Union[bool, typing.Any]
|
|
146
135
|
:param filter_blenlib: Filter Blender IDs
|
|
147
|
-
:type filter_blenlib: typing.
|
|
136
|
+
:type filter_blenlib: typing.Union[bool, typing.Any]
|
|
148
137
|
:param filemode: File Browser Mode, The setting for the file browser mode to load a .blend file, a library or a special file
|
|
149
|
-
:type filemode: typing.
|
|
138
|
+
:type filemode: typing.Any
|
|
150
139
|
:param show_multiview: Enable Multi-View
|
|
151
|
-
:type show_multiview: typing.
|
|
140
|
+
:type show_multiview: typing.Union[bool, typing.Any]
|
|
152
141
|
:param use_multiview: Use Multi-View
|
|
153
|
-
:type use_multiview: typing.
|
|
142
|
+
:type use_multiview: typing.Union[bool, typing.Any]
|
|
154
143
|
:param display_type: Display Type
|
|
155
144
|
|
|
156
145
|
DEFAULT
|
|
@@ -164,111 +153,97 @@ def lib_id_load_custom_preview(
|
|
|
164
153
|
|
|
165
154
|
THUMBNAIL
|
|
166
155
|
Thumbnails -- Display files as thumbnails.
|
|
167
|
-
:type display_type: typing.
|
|
156
|
+
:type display_type: typing.Any
|
|
168
157
|
:param sort_method: File sorting mode
|
|
169
|
-
:type sort_method: typing.
|
|
158
|
+
:type sort_method: typing.Union[str, int, typing.Any]
|
|
170
159
|
"""
|
|
171
160
|
|
|
172
161
|
...
|
|
173
162
|
|
|
174
163
|
def lib_id_override_editable_toggle(
|
|
175
|
-
override_context: typing.
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
179
|
-
undo: typing.Optional[bool] = None,
|
|
164
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
165
|
+
execution_context: typing.Union[str, int] = None,
|
|
166
|
+
undo: bool = None,
|
|
180
167
|
):
|
|
181
168
|
"""Set if this library override data-block can be edited
|
|
182
169
|
|
|
183
|
-
:type override_context: typing.
|
|
184
|
-
:type execution_context: typing.
|
|
185
|
-
:type undo:
|
|
170
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
171
|
+
:type execution_context: typing.Union[str, int]
|
|
172
|
+
:type undo: bool
|
|
186
173
|
"""
|
|
187
174
|
|
|
188
175
|
...
|
|
189
176
|
|
|
190
177
|
def lib_id_unlink(
|
|
191
|
-
override_context: typing.
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
195
|
-
undo: typing.Optional[bool] = None,
|
|
178
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
179
|
+
execution_context: typing.Union[str, int] = None,
|
|
180
|
+
undo: bool = None,
|
|
196
181
|
):
|
|
197
182
|
"""Remove a usage of a data-block, clearing the assignment
|
|
198
183
|
|
|
199
|
-
:type override_context: typing.
|
|
200
|
-
:type execution_context: typing.
|
|
201
|
-
:type undo:
|
|
184
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
185
|
+
:type execution_context: typing.Union[str, int]
|
|
186
|
+
:type undo: bool
|
|
202
187
|
"""
|
|
203
188
|
|
|
204
189
|
...
|
|
205
190
|
|
|
206
191
|
def redo(
|
|
207
|
-
override_context: typing.
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
211
|
-
undo: typing.Optional[bool] = None,
|
|
192
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
193
|
+
execution_context: typing.Union[str, int] = None,
|
|
194
|
+
undo: bool = None,
|
|
212
195
|
):
|
|
213
196
|
"""Redo previous action
|
|
214
197
|
|
|
215
|
-
:type override_context: typing.
|
|
216
|
-
:type execution_context: typing.
|
|
217
|
-
:type undo:
|
|
198
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
199
|
+
:type execution_context: typing.Union[str, int]
|
|
200
|
+
:type undo: bool
|
|
218
201
|
"""
|
|
219
202
|
|
|
220
203
|
...
|
|
221
204
|
|
|
222
205
|
def undo(
|
|
223
|
-
override_context: typing.
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
227
|
-
undo: typing.Optional[bool] = None,
|
|
206
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
207
|
+
execution_context: typing.Union[str, int] = None,
|
|
208
|
+
undo: bool = None,
|
|
228
209
|
):
|
|
229
210
|
"""Undo previous action
|
|
230
211
|
|
|
231
|
-
:type override_context: typing.
|
|
232
|
-
:type execution_context: typing.
|
|
233
|
-
:type undo:
|
|
212
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
213
|
+
:type execution_context: typing.Union[str, int]
|
|
214
|
+
:type undo: bool
|
|
234
215
|
"""
|
|
235
216
|
|
|
236
217
|
...
|
|
237
218
|
|
|
238
219
|
def undo_history(
|
|
239
|
-
override_context: typing.
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
undo: typing.Optional[bool] = None,
|
|
244
|
-
*,
|
|
245
|
-
item: typing.Optional[typing.Any] = 0,
|
|
220
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
221
|
+
execution_context: typing.Union[str, int] = None,
|
|
222
|
+
undo: bool = None,
|
|
223
|
+
item: typing.Any = 0,
|
|
246
224
|
):
|
|
247
225
|
"""Redo specific action in history
|
|
248
226
|
|
|
249
|
-
:type override_context: typing.
|
|
250
|
-
:type execution_context: typing.
|
|
251
|
-
:type undo:
|
|
227
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
228
|
+
:type execution_context: typing.Union[str, int]
|
|
229
|
+
:type undo: bool
|
|
252
230
|
:param item: Item
|
|
253
|
-
:type item: typing.
|
|
231
|
+
:type item: typing.Any
|
|
254
232
|
"""
|
|
255
233
|
|
|
256
234
|
...
|
|
257
235
|
|
|
258
236
|
def undo_push(
|
|
259
|
-
override_context: typing.
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
263
|
-
undo: typing.Optional[bool] = None,
|
|
264
|
-
*,
|
|
237
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
238
|
+
execution_context: typing.Union[str, int] = None,
|
|
239
|
+
undo: bool = None,
|
|
265
240
|
message: typing.Union[str, typing.Any] = "Add an undo step *function may be moved*",
|
|
266
241
|
):
|
|
267
242
|
"""Add an undo state (internal use only)
|
|
268
243
|
|
|
269
|
-
:type override_context: typing.
|
|
270
|
-
:type execution_context: typing.
|
|
271
|
-
:type undo:
|
|
244
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
245
|
+
:type execution_context: typing.Union[str, int]
|
|
246
|
+
:type undo: bool
|
|
272
247
|
:param message: Undo Message
|
|
273
248
|
:type message: typing.Union[str, typing.Any]
|
|
274
249
|
"""
|
|
@@ -276,17 +251,15 @@ def undo_push(
|
|
|
276
251
|
...
|
|
277
252
|
|
|
278
253
|
def undo_redo(
|
|
279
|
-
override_context: typing.
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
283
|
-
undo: typing.Optional[bool] = None,
|
|
254
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
255
|
+
execution_context: typing.Union[str, int] = None,
|
|
256
|
+
undo: bool = None,
|
|
284
257
|
):
|
|
285
258
|
"""Undo and redo previous action
|
|
286
259
|
|
|
287
|
-
:type override_context: typing.
|
|
288
|
-
:type execution_context: typing.
|
|
289
|
-
:type undo:
|
|
260
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
261
|
+
:type execution_context: typing.Union[str, int]
|
|
262
|
+
:type undo: bool
|
|
290
263
|
"""
|
|
291
264
|
|
|
292
265
|
...
|