fake-bpy-module 20250612__py3-none-any.whl → 20260118__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.
- {bl_console_utils → _bl_console_utils}/autocomplete/complete_calltip/__init__.pyi +0 -13
- {bl_console_utils → _bl_console_utils}/autocomplete/complete_import/__init__.pyi +0 -5
- {bl_console_utils → _bl_console_utils}/autocomplete/complete_namespace/__init__.pyi +0 -11
- {bl_console_utils → _bl_console_utils}/autocomplete/intellisense/__init__.pyi +0 -10
- {bl_i18n_utils → _bl_i18n_utils}/__init__.pyi +1 -0
- {bl_i18n_utils → _bl_i18n_utils}/bl_extract_messages/__init__.pyi +1 -0
- {bl_i18n_utils → _bl_i18n_utils}/settings/__init__.pyi +3 -1
- {bl_i18n_utils → _bl_i18n_utils}/utils/__init__.pyi +4 -4
- _bl_i18n_utils/utils_spell_check/__init__.pyi +22 -0
- {bl_ui_utils → _bl_ui_utils}/__init__.pyi +1 -0
- _blendfile_header/__init__.pyi +48 -0
- _bpy_internal/__init__.pyi +4 -1
- _bpy_internal/assets/__init__.pyi +5 -0
- _bpy_internal/assets/remote_library_listing/__init__.pyi +5 -0
- _bpy_internal/assets/remote_library_listing/blender_asset_library_openapi/__init__.pyi +13 -0
- _bpy_internal/disk_file_hash_service/__init__.pyi +19 -0
- _bpy_internal/disk_file_hash_service/backend_sqlite/__init__.pyi +48 -0
- _bpy_internal/disk_file_hash_service/hash_service/__init__.pyi +64 -0
- _bpy_internal/disk_file_hash_service/types/__init__.pyi +53 -0
- _bpy_internal/extensions/wheel_manager/__init__.pyi +1 -1
- _bpy_internal/filesystem/__init__.pyi +5 -0
- _bpy_internal/filesystem/locking/__init__.pyi +28 -0
- _bpy_internal/grease_pencil/stroke/__init__.pyi +2 -2
- _bpy_internal/platform/__init__.pyi +5 -0
- _bpy_types/__init__.pyi +1592 -0
- {keyingsets_utils → _keyingsets_utils}/__init__.pyi +2 -0
- {rna_info → _rna_info}/__init__.pyi +4 -2
- addon_utils/__init__.pyi +0 -13
- aud/__init__.pyi +122 -145
- bl_app_templates_system/Storyboarding/__init__.pyi +11 -0
- bl_app_templates_system/__init__.pyi +5 -0
- bl_app_templates_system/py.typed +0 -0
- bl_math/__init__.pyi +3 -13
- bl_operators/__init__.pyi +1 -0
- bl_operators/add_mesh_torus/__init__.pyi +2 -3
- bl_operators/anim/__init__.pyi +62 -38
- bl_operators/assets/__init__.pyi +4 -9
- bl_operators/bone_selection_sets/__init__.pyi +15 -42
- bl_operators/clip/__init__.pyi +12 -31
- bl_operators/connect_to_output/__init__.pyi +2 -3
- bl_operators/console/__init__.pyi +6 -15
- bl_operators/constraint/__init__.pyi +6 -13
- bl_operators/copy_global_transform/__init__.pyi +261 -0
- bl_operators/file/__init__.pyi +6 -11
- bl_operators/freestyle/__init__.pyi +5 -12
- bl_operators/geometry_nodes/__init__.pyi +5 -12
- bl_operators/grease_pencil/__init__.pyi +2 -3
- bl_operators/image/__init__.pyi +6 -15
- bl_operators/image_as_planes/__init__.pyi +3 -10
- bl_operators/mesh/__init__.pyi +3 -49
- bl_operators/node/__init__.pyi +294 -73
- bl_operators/object/__init__.pyi +17 -53
- bl_operators/object_align/__init__.pyi +2 -3
- bl_operators/object_quick_effects/__init__.pyi +5 -12
- bl_operators/object_randomize_transform/__init__.pyi +2 -3
- bl_operators/presets/__init__.pyi +27 -76
- bl_operators/rigidbody/__init__.pyi +4 -9
- bl_operators/screen_play_rendered_anim/__init__.pyi +2 -3
- bl_operators/sequencer/__init__.pyi +12 -27
- bl_operators/spreadsheet/__init__.pyi +2 -3
- bl_operators/userpref/__init__.pyi +26 -75
- bl_operators/uvcalc_follow_active/__init__.pyi +3 -4
- bl_operators/uvcalc_lightmap/__init__.pyi +3 -4
- bl_operators/uvcalc_transform/__init__.pyi +26 -16
- bl_operators/vertexpaint_dirt/__init__.pyi +2 -3
- bl_operators/view3d/__init__.pyi +9 -24
- bl_operators/wm/__init__.pyi +48 -139
- bl_operators/world/__init__.pyi +3 -4
- bl_ui/__init__.pyi +7 -7
- bl_ui/anim/__init__.pyi +2 -3
- bl_ui/asset_shelf/__init__.pyi +2 -3
- bl_ui/generic_ui_list/__init__.pyi +4 -19
- bl_ui/node_add_menu/__init__.pyi +263 -7
- bl_ui/node_add_menu_compositor/__init__.pyi +96 -79
- bl_ui/node_add_menu_geometry/__init__.pyi +309 -270
- bl_ui/node_add_menu_shader/__init__.pyi +49 -49
- bl_ui/node_add_menu_texture/__init__.pyi +17 -62
- bl_ui/properties_collection/__init__.pyi +9 -22
- bl_ui/properties_constraint/__init__.pyi +129 -282
- bl_ui/properties_data_armature/__init__.pyi +22 -57
- bl_ui/properties_data_bone/__init__.pyi +12 -31
- bl_ui/properties_data_camera/__init__.pyi +18 -47
- bl_ui/properties_data_curve/__init__.pyi +18 -47
- bl_ui/properties_data_curves/__init__.pyi +11 -26
- bl_ui/properties_data_empty/__init__.pyi +3 -6
- bl_ui/properties_data_grease_pencil/__init__.pyi +23 -62
- bl_ui/properties_data_lattice/__init__.pyi +7 -14
- bl_ui/properties_data_light/__init__.pyi +13 -32
- bl_ui/properties_data_lightprobe/__init__.pyi +16 -43
- bl_ui/properties_data_mesh/__init__.pyi +47 -62
- bl_ui/properties_data_metaball/__init__.pyi +9 -20
- bl_ui/properties_data_modifier/__init__.pyi +22 -28
- bl_ui/properties_data_pointcloud/__init__.pyi +8 -19
- bl_ui/properties_data_shaderfx/__init__.pyi +2 -3
- bl_ui/properties_data_speaker/__init__.pyi +9 -20
- bl_ui/properties_data_volume/__init__.pyi +12 -29
- bl_ui/properties_freestyle/__init__.pyi +27 -76
- bl_ui/properties_grease_pencil_common/__init__.pyi +10 -168
- bl_ui/properties_mask_common/__init__.pyi +8 -21
- bl_ui/properties_material/__init__.pyi +26 -86
- bl_ui/properties_material_gpencil/__init__.pyi +36 -57
- bl_ui/properties_object/__init__.pyi +59 -65
- bl_ui/properties_output/__init__.pyi +21 -60
- bl_ui/properties_paint_common/__init__.pyi +30 -22
- bl_ui/properties_particle/__init__.pyi +58 -161
- bl_ui/properties_physics_cloth/__init__.pyi +15 -42
- bl_ui/properties_physics_common/__init__.pyi +2 -3
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +23 -66
- bl_ui/properties_physics_field/__init__.pyi +11 -30
- bl_ui/properties_physics_fluid/__init__.pyi +29 -84
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +2 -3
- bl_ui/properties_physics_rigidbody/__init__.pyi +9 -24
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +14 -39
- bl_ui/properties_physics_softbody/__init__.pyi +16 -45
- bl_ui/properties_render/__init__.pyi +139 -197
- bl_ui/properties_scene/__init__.pyi +46 -50
- bl_ui/properties_strip/__init__.pyi +744 -0
- bl_ui/properties_strip_modifier/__init__.pyi +45 -0
- bl_ui/properties_texture/__init__.pyi +30 -83
- bl_ui/properties_view_layer/__init__.pyi +84 -39
- bl_ui/properties_workspace/__init__.pyi +6 -13
- bl_ui/properties_world/__init__.pyi +14 -35
- bl_ui/space_clip/__init__.pyi +150 -231
- bl_ui/space_console/__init__.pyi +7 -18
- bl_ui/space_dopesheet/__init__.pyi +143 -100
- bl_ui/space_filebrowser/__init__.pyi +33 -90
- bl_ui/space_graph/__init__.pyi +48 -85
- bl_ui/space_image/__init__.pyi +111 -229
- bl_ui/space_info/__init__.pyi +7 -18
- bl_ui/space_nla/__init__.pyi +44 -73
- bl_ui/space_node/__init__.pyi +161 -123
- bl_ui/space_outliner/__init__.pyi +16 -45
- bl_ui/space_properties/__init__.pyi +34 -10
- bl_ui/space_sequencer/__init__.pyi +164 -901
- bl_ui/space_spreadsheet/__init__.pyi +4 -9
- bl_ui/space_statusbar/__init__.pyi +2 -3
- bl_ui/space_text/__init__.pyi +17 -48
- bl_ui/space_time/__init__.pyi +25 -71
- bl_ui/space_toolsystem_common/__init__.pyi +2 -2
- bl_ui/space_toolsystem_toolbar/__init__.pyi +30 -7
- bl_ui/space_topbar/__init__.pyi +35 -79
- bl_ui/space_userpref/__init__.pyi +185 -321
- bl_ui/space_view3d/__init__.pyi +337 -817
- bl_ui/space_view3d_sidebar/__init__.pyi +127 -0
- bl_ui/space_view3d_toolbar/__init__.pyi +110 -880
- bl_ui/utils/__init__.pyi +0 -17
- blend_render_info/__init__.pyi +1 -0
- blf/__init__.pyi +8 -54
- bmesh/__init__.pyi +2 -9
- bmesh/geometry/__init__.pyi +1 -4
- bmesh/ops/__init__.pyi +125 -508
- bmesh/types/__init__.pyi +318 -664
- bmesh/utils/__init__.pyi +17 -43
- bpy/__init__.pyi +1 -1
- bpy/app/__init__.pyi +93 -88
- bpy/app/handlers/__init__.pyi +19 -19
- bpy/app/icons/__init__.pyi +0 -6
- bpy/app/timers/__init__.pyi +2 -7
- bpy/app/translations/__init__.pyi +8 -23
- bpy/msgbus/__init__.pyi +4 -6
- bpy/ops/action/__init__.pyi +68 -199
- bpy/ops/anim/__init__.pyi +142 -299
- bpy/ops/armature/__init__.pyi +78 -209
- bpy/ops/asset/__init__.pyi +46 -108
- bpy/ops/boid/__init__.pyi +28 -45
- bpy/ops/brush/__init__.pyi +13 -108
- bpy/ops/buttons/__init__.pyi +16 -75
- bpy/ops/cachefile/__init__.pyi +8 -65
- bpy/ops/camera/__init__.pyi +0 -11
- bpy/ops/clip/__init__.pyi +173 -471
- bpy/ops/cloth/__init__.pyi +0 -5
- bpy/ops/collection/__init__.pyi +23 -36
- bpy/ops/console/__init__.pyi +40 -98
- bpy/ops/constraint/__init__.pyi +14 -85
- bpy/ops/curve/__init__.pyi +94 -277
- bpy/ops/curves/__init__.pyi +119 -166
- bpy/ops/cycles/__init__.pyi +4 -15
- bpy/ops/dpaint/__init__.pyi +14 -24
- bpy/ops/ed/__init__.pyi +44 -92
- bpy/ops/export_anim/__init__.pyi +2 -10
- bpy/ops/export_scene/__init__.pyi +16 -170
- bpy/ops/extensions/__init__.pyi +60 -165
- bpy/ops/file/__init__.pyi +110 -246
- bpy/ops/fluid/__init__.pyi +52 -83
- bpy/ops/font/__init__.pyi +40 -144
- bpy/ops/geometry/__init__.pyi +12 -127
- bpy/ops/gizmogroup/__init__.pyi +4 -13
- bpy/ops/gpencil/__init__.pyi +22 -54
- bpy/ops/graph/__init__.pyi +92 -343
- bpy/ops/grease_pencil/__init__.pyi +218 -550
- bpy/ops/image/__init__.pyi +85 -435
- bpy/ops/import_anim/__init__.pyi +3 -17
- bpy/ops/import_curve/__init__.pyi +2 -5
- bpy/ops/import_scene/__init__.pyi +15 -49
- bpy/ops/info/__init__.pyi +16 -39
- bpy/ops/lattice/__init__.pyi +12 -36
- bpy/ops/marker/__init__.pyi +12 -51
- bpy/ops/mask/__init__.pyi +68 -193
- bpy/ops/material/__init__.pyi +18 -18
- bpy/ops/mball/__init__.pyi +4 -31
- bpy/ops/mesh/__init__.pyi +140 -967
- bpy/ops/nla/__init__.pyi +87 -206
- bpy/ops/node/__init__.pyi +714 -744
- bpy/ops/object/__init__.pyi +461 -1341
- bpy/ops/outliner/__init__.pyi +192 -376
- bpy/ops/paint/__init__.pyi +94 -319
- bpy/ops/paintcurve/__init__.pyi +20 -40
- bpy/ops/palette/__init__.pyi +14 -30
- bpy/ops/particle/__init__.pyi +86 -184
- bpy/ops/pointcloud/__init__.pyi +12 -38
- bpy/ops/pose/__init__.pyi +108 -261
- bpy/ops/poselib/__init__.pyi +32 -67
- bpy/ops/preferences/__init__.pyi +37 -187
- bpy/ops/ptcache/__init__.pyi +22 -36
- bpy/ops/render/__init__.pyi +20 -72
- bpy/ops/rigidbody/__init__.pyi +25 -63
- bpy/ops/scene/__init__.pyi +122 -181
- bpy/ops/screen/__init__.pyi +93 -221
- bpy/ops/script/__init__.pyi +4 -13
- bpy/ops/sculpt/__init__.pyi +69 -324
- bpy/ops/sculpt_curves/__init__.pyi +10 -23
- bpy/ops/sequencer/__init__.pyi +410 -730
- bpy/ops/sound/__init__.pyi +16 -114
- bpy/ops/spreadsheet/__init__.pyi +20 -37
- bpy/ops/surface/__init__.pyi +0 -48
- bpy/ops/text/__init__.pyi +112 -250
- bpy/ops/text_editor/__init__.pyi +0 -5
- bpy/ops/texture/__init__.pyi +14 -21
- bpy/ops/transform/__init__.pyi +18 -386
- bpy/ops/ui/__init__.pyi +117 -188
- bpy/ops/uilist/__init__.pyi +0 -13
- bpy/ops/uv/__init__.pyi +238 -305
- bpy/ops/view2d/__init__.pyi +16 -76
- bpy/ops/view3d/__init__.pyi +153 -377
- bpy/ops/wm/__init__.pyi +277 -1397
- bpy/ops/workspace/__init__.pyi +32 -39
- bpy/ops/world/__init__.pyi +10 -12
- bpy/path/__init__.pyi +1 -35
- bpy/props/__init__.pyi +347 -218
- bpy/stub_internal/rna_enums/__init__.pyi +142 -108
- bpy/types/__init__.pyi +77367 -101305
- bpy/utils/__init__.pyi +11 -82
- bpy/utils/previews/__init__.pyi +2 -11
- bpy/utils/units/__init__.pyi +5 -15
- bpy_extras/anim_utils/__init__.pyi +24 -16
- bpy_extras/bmesh_utils/__init__.pyi +0 -1
- bpy_extras/id_map_utils/__init__.pyi +14 -6
- bpy_extras/image_utils/__init__.pyi +2 -11
- bpy_extras/io_utils/__init__.pyi +8 -27
- bpy_extras/keyconfig_utils/__init__.pyi +1 -1
- bpy_extras/mesh_utils/__init__.pyi +0 -12
- bpy_extras/node_shader_utils/__init__.pyi +1 -9
- bpy_extras/object_utils/__init__.pyi +1 -15
- bpy_extras/view3d_utils/__init__.pyi +0 -18
- bpy_extras/wm_utils/progress_report/__init__.pyi +1 -1
- {fake_bpy_module-20250612.dist-info → fake_bpy_module-20260118.dist-info}/METADATA +4 -1
- fake_bpy_module-20260118.dist-info/RECORD +385 -0
- {fake_bpy_module-20250612.dist-info → fake_bpy_module-20260118.dist-info}/top_level.txt +17 -16
- freestyle/chainingiterators/__init__.pyi +5 -27
- freestyle/functions/__init__.pyi +0 -139
- freestyle/predicates/__init__.pyi +2 -53
- freestyle/shaders/__init__.pyi +15 -81
- freestyle/types/__init__.pyi +159 -799
- freestyle/utils/ContextFunctions/__init__.pyi +0 -23
- freestyle/utils/__init__.pyi +5 -11
- gpu/capabilities/__init__.pyi +0 -21
- gpu/matrix/__init__.pyi +1 -10
- gpu/platform/__init__.pyi +2 -7
- gpu/shader/__init__.pyi +26 -9
- gpu/state/__init__.pyi +60 -39
- gpu/texture/__init__.pyi +3 -5
- gpu/types/__init__.pyi +116 -184
- gpu_extras/batch/__init__.pyi +1 -5
- gpu_extras/presets/__init__.pyi +6 -8
- idprop/types/__init__.pyi +6 -6
- imbuf/__init__.pyi +3 -10
- imbuf/types/__init__.pyi +7 -21
- keyingsets_builtins/__init__.pyi +24 -67
- mathutils/__init__.pyi +241 -2207
- mathutils/bvhtree/__init__.pyi +18 -26
- mathutils/geometry/__init__.pyi +82 -132
- mathutils/interpolate/__init__.pyi +6 -5
- mathutils/kdtree/__init__.pyi +1 -11
- mathutils/noise/__init__.pyi +61 -106
- rna_prop_ui/__init__.pyi +1 -1
- bgl/__init__.pyi +0 -4256
- bpy_types/__init__.pyi +0 -30
- fake_bpy_module-20250612.dist-info/RECORD +0 -367
- {animsys_refactor → _animsys_refactor}/__init__.pyi +0 -0
- {animsys_refactor → _animsys_refactor}/py.typed +0 -0
- {bl_console_utils → _bl_console_utils}/__init__.pyi +0 -0
- {bl_console_utils → _bl_console_utils}/autocomplete/__init__.pyi +0 -0
- {bgl → _bl_console_utils}/py.typed +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/merge_po/__init__.pyi +0 -0
- {bl_console_utils → _bl_i18n_utils}/py.typed +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/utils_cli/__init__.pyi +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/utils_languages_menu/__init__.pyi +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/utils_rtl/__init__.pyi +0 -0
- {bl_previews_utils → _bl_previews_utils}/__init__.pyi +0 -0
- {bl_previews_utils → _bl_previews_utils}/bl_previews_render/__init__.pyi +0 -0
- {bl_i18n_utils → _bl_previews_utils}/py.typed +0 -0
- {bl_rna_utils → _bl_rna_utils}/__init__.pyi +0 -0
- {bl_rna_utils → _bl_rna_utils}/data_path/__init__.pyi +0 -0
- {bl_previews_utils → _bl_rna_utils}/py.typed +0 -0
- {bl_text_utils → _bl_text_utils}/__init__.pyi +0 -0
- {bl_text_utils → _bl_text_utils}/external_editor/__init__.pyi +0 -0
- {bl_rna_utils → _bl_text_utils}/py.typed +0 -0
- {bl_ui_utils → _bl_ui_utils}/layout/__init__.pyi +0 -0
- {bl_text_utils → _bl_ui_utils}/py.typed +0 -0
- {bl_ui_utils → _blendfile_header}/py.typed +0 -0
- /_bpy_internal/{freedesktop → platform/freedesktop}/__init__.pyi +0 -0
- {bpy_restrict_state → _bpy_restrict_state}/__init__.pyi +0 -0
- {bpy_restrict_state → _bpy_restrict_state}/py.typed +0 -0
- {bpy_types → _bpy_types}/py.typed +0 -0
- {console_python → _console_python}/__init__.pyi +0 -0
- {console_python → _console_python}/py.typed +0 -0
- {console_shell → _console_shell}/__init__.pyi +0 -0
- {console_shell → _console_shell}/py.typed +0 -0
- {graphviz_export → _graphviz_export}/__init__.pyi +0 -0
- {graphviz_export → _graphviz_export}/py.typed +0 -0
- {keyingsets_utils → _keyingsets_utils}/py.typed +0 -0
- {rna_info → _rna_info}/py.typed +0 -0
- {rna_xml → _rna_xml}/__init__.pyi +0 -0
- {rna_xml → _rna_xml}/py.typed +0 -0
- {fake_bpy_module-20250612.dist-info → fake_bpy_module-20260118.dist-info}/WHEEL +0 -0
|
@@ -2,9 +2,10 @@ import typing
|
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
4
|
import numpy.typing as npt
|
|
5
|
+
import _bpy_types
|
|
5
6
|
import bpy.types
|
|
6
7
|
|
|
7
|
-
class AddModifierMenu(
|
|
8
|
+
class AddModifierMenu(_bpy_types.Operator):
|
|
8
9
|
bl_idname: typing.Any
|
|
9
10
|
bl_label: typing.Any
|
|
10
11
|
bl_rna: typing.Any
|
|
@@ -14,14 +15,12 @@ class AddModifierMenu(bpy.types.Operator):
|
|
|
14
15
|
"""
|
|
15
16
|
|
|
16
17
|
:return: The RNA type or default when not found.
|
|
17
|
-
:rtype: bpy.types.Struct
|
|
18
18
|
"""
|
|
19
19
|
|
|
20
20
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
21
21
|
"""
|
|
22
22
|
|
|
23
23
|
:return: The class or default when not found.
|
|
24
|
-
:rtype: typing.Any
|
|
25
24
|
"""
|
|
26
25
|
|
|
27
26
|
def invoke(self, _context, _event) -> None:
|
|
@@ -38,7 +37,7 @@ class AddModifierMenu(bpy.types.Operator):
|
|
|
38
37
|
:param context:
|
|
39
38
|
"""
|
|
40
39
|
|
|
41
|
-
class DATA_PT_modifiers(ModifierButtonsPanel,
|
|
40
|
+
class DATA_PT_modifiers(ModifierButtonsPanel, _bpy_types.Panel):
|
|
42
41
|
bl_context: typing.Any
|
|
43
42
|
bl_label: typing.Any
|
|
44
43
|
bl_options: typing.Any
|
|
@@ -51,14 +50,12 @@ class DATA_PT_modifiers(ModifierButtonsPanel, bpy.types.Panel):
|
|
|
51
50
|
"""
|
|
52
51
|
|
|
53
52
|
:return: The RNA type or default when not found.
|
|
54
|
-
:rtype: bpy.types.Struct
|
|
55
53
|
"""
|
|
56
54
|
|
|
57
55
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
58
56
|
"""
|
|
59
57
|
|
|
60
58
|
:return: The class or default when not found.
|
|
61
|
-
:rtype: typing.Any
|
|
62
59
|
"""
|
|
63
60
|
|
|
64
61
|
def draw(self, _context) -> None:
|
|
@@ -80,11 +77,22 @@ class ModifierAddMenu:
|
|
|
80
77
|
MODIFIER_TYPES_TO_LABELS: typing.Any
|
|
81
78
|
|
|
82
79
|
@classmethod
|
|
83
|
-
def operator_modifier_add(cls, layout, mod_type) -> None:
|
|
80
|
+
def operator_modifier_add(cls, layout, mod_type, text=None, no_icon=False) -> None:
|
|
84
81
|
"""
|
|
85
82
|
|
|
86
83
|
:param layout:
|
|
87
84
|
:param mod_type:
|
|
85
|
+
:param text:
|
|
86
|
+
:param no_icon:
|
|
87
|
+
"""
|
|
88
|
+
|
|
89
|
+
@classmethod
|
|
90
|
+
def operator_modifier_add_asset(cls, layout, name, icon="NONE") -> None:
|
|
91
|
+
"""
|
|
92
|
+
|
|
93
|
+
:param layout:
|
|
94
|
+
:param name:
|
|
95
|
+
:param icon:
|
|
88
96
|
"""
|
|
89
97
|
|
|
90
98
|
class ModifierButtonsPanel:
|
|
@@ -93,7 +101,7 @@ class ModifierButtonsPanel:
|
|
|
93
101
|
bl_region_type: typing.Any
|
|
94
102
|
bl_space_type: typing.Any
|
|
95
103
|
|
|
96
|
-
class OBJECT_MT_modifier_add(ModifierAddMenu,
|
|
104
|
+
class OBJECT_MT_modifier_add(ModifierAddMenu, _bpy_types.Menu):
|
|
97
105
|
MODIFIER_TYPES_I18N_CONTEXT: typing.Any
|
|
98
106
|
MODIFIER_TYPES_TO_ICONS: typing.Any
|
|
99
107
|
MODIFIER_TYPES_TO_LABELS: typing.Any
|
|
@@ -106,14 +114,12 @@ class OBJECT_MT_modifier_add(ModifierAddMenu, bpy.types.Menu):
|
|
|
106
114
|
"""
|
|
107
115
|
|
|
108
116
|
:return: The RNA type or default when not found.
|
|
109
|
-
:rtype: bpy.types.Struct
|
|
110
117
|
"""
|
|
111
118
|
|
|
112
119
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
113
120
|
"""
|
|
114
121
|
|
|
115
122
|
:return: The class or default when not found.
|
|
116
|
-
:rtype: typing.Any
|
|
117
123
|
"""
|
|
118
124
|
|
|
119
125
|
def draw(self, context) -> None:
|
|
@@ -122,7 +128,7 @@ class OBJECT_MT_modifier_add(ModifierAddMenu, bpy.types.Menu):
|
|
|
122
128
|
:param context:
|
|
123
129
|
"""
|
|
124
130
|
|
|
125
|
-
class OBJECT_MT_modifier_add_color(ModifierAddMenu,
|
|
131
|
+
class OBJECT_MT_modifier_add_color(ModifierAddMenu, _bpy_types.Menu):
|
|
126
132
|
MODIFIER_TYPES_I18N_CONTEXT: typing.Any
|
|
127
133
|
MODIFIER_TYPES_TO_ICONS: typing.Any
|
|
128
134
|
MODIFIER_TYPES_TO_LABELS: typing.Any
|
|
@@ -135,14 +141,12 @@ class OBJECT_MT_modifier_add_color(ModifierAddMenu, bpy.types.Menu):
|
|
|
135
141
|
"""
|
|
136
142
|
|
|
137
143
|
:return: The RNA type or default when not found.
|
|
138
|
-
:rtype: bpy.types.Struct
|
|
139
144
|
"""
|
|
140
145
|
|
|
141
146
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
142
147
|
"""
|
|
143
148
|
|
|
144
149
|
:return: The class or default when not found.
|
|
145
|
-
:rtype: typing.Any
|
|
146
150
|
"""
|
|
147
151
|
|
|
148
152
|
def draw(self, context) -> None:
|
|
@@ -151,7 +155,7 @@ class OBJECT_MT_modifier_add_color(ModifierAddMenu, bpy.types.Menu):
|
|
|
151
155
|
:param context:
|
|
152
156
|
"""
|
|
153
157
|
|
|
154
|
-
class OBJECT_MT_modifier_add_deform(ModifierAddMenu,
|
|
158
|
+
class OBJECT_MT_modifier_add_deform(ModifierAddMenu, _bpy_types.Menu):
|
|
155
159
|
MODIFIER_TYPES_I18N_CONTEXT: typing.Any
|
|
156
160
|
MODIFIER_TYPES_TO_ICONS: typing.Any
|
|
157
161
|
MODIFIER_TYPES_TO_LABELS: typing.Any
|
|
@@ -164,14 +168,12 @@ class OBJECT_MT_modifier_add_deform(ModifierAddMenu, bpy.types.Menu):
|
|
|
164
168
|
"""
|
|
165
169
|
|
|
166
170
|
:return: The RNA type or default when not found.
|
|
167
|
-
:rtype: bpy.types.Struct
|
|
168
171
|
"""
|
|
169
172
|
|
|
170
173
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
171
174
|
"""
|
|
172
175
|
|
|
173
176
|
:return: The class or default when not found.
|
|
174
|
-
:rtype: typing.Any
|
|
175
177
|
"""
|
|
176
178
|
|
|
177
179
|
def draw(self, context) -> None:
|
|
@@ -180,7 +182,7 @@ class OBJECT_MT_modifier_add_deform(ModifierAddMenu, bpy.types.Menu):
|
|
|
180
182
|
:param context:
|
|
181
183
|
"""
|
|
182
184
|
|
|
183
|
-
class OBJECT_MT_modifier_add_edit(ModifierAddMenu,
|
|
185
|
+
class OBJECT_MT_modifier_add_edit(ModifierAddMenu, _bpy_types.Menu):
|
|
184
186
|
MODIFIER_TYPES_I18N_CONTEXT: typing.Any
|
|
185
187
|
MODIFIER_TYPES_TO_ICONS: typing.Any
|
|
186
188
|
MODIFIER_TYPES_TO_LABELS: typing.Any
|
|
@@ -193,14 +195,12 @@ class OBJECT_MT_modifier_add_edit(ModifierAddMenu, bpy.types.Menu):
|
|
|
193
195
|
"""
|
|
194
196
|
|
|
195
197
|
:return: The RNA type or default when not found.
|
|
196
|
-
:rtype: bpy.types.Struct
|
|
197
198
|
"""
|
|
198
199
|
|
|
199
200
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
200
201
|
"""
|
|
201
202
|
|
|
202
203
|
:return: The class or default when not found.
|
|
203
|
-
:rtype: typing.Any
|
|
204
204
|
"""
|
|
205
205
|
|
|
206
206
|
def draw(self, context) -> None:
|
|
@@ -209,7 +209,7 @@ class OBJECT_MT_modifier_add_edit(ModifierAddMenu, bpy.types.Menu):
|
|
|
209
209
|
:param context:
|
|
210
210
|
"""
|
|
211
211
|
|
|
212
|
-
class OBJECT_MT_modifier_add_generate(ModifierAddMenu,
|
|
212
|
+
class OBJECT_MT_modifier_add_generate(ModifierAddMenu, _bpy_types.Menu):
|
|
213
213
|
MODIFIER_TYPES_I18N_CONTEXT: typing.Any
|
|
214
214
|
MODIFIER_TYPES_TO_ICONS: typing.Any
|
|
215
215
|
MODIFIER_TYPES_TO_LABELS: typing.Any
|
|
@@ -222,14 +222,12 @@ class OBJECT_MT_modifier_add_generate(ModifierAddMenu, bpy.types.Menu):
|
|
|
222
222
|
"""
|
|
223
223
|
|
|
224
224
|
:return: The RNA type or default when not found.
|
|
225
|
-
:rtype: bpy.types.Struct
|
|
226
225
|
"""
|
|
227
226
|
|
|
228
227
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
229
228
|
"""
|
|
230
229
|
|
|
231
230
|
:return: The class or default when not found.
|
|
232
|
-
:rtype: typing.Any
|
|
233
231
|
"""
|
|
234
232
|
|
|
235
233
|
def draw(self, context) -> None:
|
|
@@ -238,7 +236,7 @@ class OBJECT_MT_modifier_add_generate(ModifierAddMenu, bpy.types.Menu):
|
|
|
238
236
|
:param context:
|
|
239
237
|
"""
|
|
240
238
|
|
|
241
|
-
class OBJECT_MT_modifier_add_normals(ModifierAddMenu,
|
|
239
|
+
class OBJECT_MT_modifier_add_normals(ModifierAddMenu, _bpy_types.Menu):
|
|
242
240
|
MODIFIER_TYPES_I18N_CONTEXT: typing.Any
|
|
243
241
|
MODIFIER_TYPES_TO_ICONS: typing.Any
|
|
244
242
|
MODIFIER_TYPES_TO_LABELS: typing.Any
|
|
@@ -251,14 +249,12 @@ class OBJECT_MT_modifier_add_normals(ModifierAddMenu, bpy.types.Menu):
|
|
|
251
249
|
"""
|
|
252
250
|
|
|
253
251
|
:return: The RNA type or default when not found.
|
|
254
|
-
:rtype: bpy.types.Struct
|
|
255
252
|
"""
|
|
256
253
|
|
|
257
254
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
258
255
|
"""
|
|
259
256
|
|
|
260
257
|
:return: The class or default when not found.
|
|
261
|
-
:rtype: typing.Any
|
|
262
258
|
"""
|
|
263
259
|
|
|
264
260
|
def draw(self, context) -> None:
|
|
@@ -267,7 +263,7 @@ class OBJECT_MT_modifier_add_normals(ModifierAddMenu, bpy.types.Menu):
|
|
|
267
263
|
:param context:
|
|
268
264
|
"""
|
|
269
265
|
|
|
270
|
-
class OBJECT_MT_modifier_add_physics(ModifierAddMenu,
|
|
266
|
+
class OBJECT_MT_modifier_add_physics(ModifierAddMenu, _bpy_types.Menu):
|
|
271
267
|
MODIFIER_TYPES_I18N_CONTEXT: typing.Any
|
|
272
268
|
MODIFIER_TYPES_TO_ICONS: typing.Any
|
|
273
269
|
MODIFIER_TYPES_TO_LABELS: typing.Any
|
|
@@ -280,14 +276,12 @@ class OBJECT_MT_modifier_add_physics(ModifierAddMenu, bpy.types.Menu):
|
|
|
280
276
|
"""
|
|
281
277
|
|
|
282
278
|
:return: The RNA type or default when not found.
|
|
283
|
-
:rtype: bpy.types.Struct
|
|
284
279
|
"""
|
|
285
280
|
|
|
286
281
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
287
282
|
"""
|
|
288
283
|
|
|
289
284
|
:return: The class or default when not found.
|
|
290
|
-
:rtype: typing.Any
|
|
291
285
|
"""
|
|
292
286
|
|
|
293
287
|
def draw(self, context) -> None:
|
|
@@ -2,10 +2,11 @@ import typing
|
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
4
|
import numpy.typing as npt
|
|
5
|
+
import _bpy_types
|
|
5
6
|
import bpy.types
|
|
6
7
|
import rna_prop_ui
|
|
7
8
|
|
|
8
|
-
class DATA_PT_context_pointcloud(DataButtonsPanel,
|
|
9
|
+
class DATA_PT_context_pointcloud(DataButtonsPanel, _bpy_types.Panel):
|
|
9
10
|
COMPAT_ENGINES: typing.Any
|
|
10
11
|
bl_context: typing.Any
|
|
11
12
|
bl_label: typing.Any
|
|
@@ -19,14 +20,12 @@ class DATA_PT_context_pointcloud(DataButtonsPanel, bpy.types.Panel):
|
|
|
19
20
|
"""
|
|
20
21
|
|
|
21
22
|
:return: The RNA type or default when not found.
|
|
22
|
-
:rtype: bpy.types.Struct
|
|
23
23
|
"""
|
|
24
24
|
|
|
25
25
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
26
26
|
"""
|
|
27
27
|
|
|
28
28
|
:return: The class or default when not found.
|
|
29
|
-
:rtype: typing.Any
|
|
30
29
|
"""
|
|
31
30
|
|
|
32
31
|
def draw(self, context) -> None:
|
|
@@ -36,10 +35,10 @@ class DATA_PT_context_pointcloud(DataButtonsPanel, bpy.types.Panel):
|
|
|
36
35
|
"""
|
|
37
36
|
|
|
38
37
|
class DATA_PT_custom_props_pointcloud(
|
|
39
|
-
rna_prop_ui.PropertyPanel, DataButtonsPanel,
|
|
38
|
+
rna_prop_ui.PropertyPanel, DataButtonsPanel, _bpy_types.Panel
|
|
40
39
|
):
|
|
41
40
|
"""The subclass should have its own poll function
|
|
42
|
-
and the variable
|
|
41
|
+
and the variable _context_path MUST be set.
|
|
43
42
|
"""
|
|
44
43
|
|
|
45
44
|
COMPAT_ENGINES: typing.Any
|
|
@@ -56,17 +55,15 @@ class DATA_PT_custom_props_pointcloud(
|
|
|
56
55
|
"""
|
|
57
56
|
|
|
58
57
|
:return: The RNA type or default when not found.
|
|
59
|
-
:rtype: bpy.types.Struct
|
|
60
58
|
"""
|
|
61
59
|
|
|
62
60
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
63
61
|
"""
|
|
64
62
|
|
|
65
63
|
:return: The class or default when not found.
|
|
66
|
-
:rtype: typing.Any
|
|
67
64
|
"""
|
|
68
65
|
|
|
69
|
-
class DATA_PT_pointcloud_attributes(DataButtonsPanel,
|
|
66
|
+
class DATA_PT_pointcloud_attributes(DataButtonsPanel, _bpy_types.Panel):
|
|
70
67
|
COMPAT_ENGINES: typing.Any
|
|
71
68
|
bl_context: typing.Any
|
|
72
69
|
bl_label: typing.Any
|
|
@@ -79,14 +76,12 @@ class DATA_PT_pointcloud_attributes(DataButtonsPanel, bpy.types.Panel):
|
|
|
79
76
|
"""
|
|
80
77
|
|
|
81
78
|
:return: The RNA type or default when not found.
|
|
82
|
-
:rtype: bpy.types.Struct
|
|
83
79
|
"""
|
|
84
80
|
|
|
85
81
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
86
82
|
"""
|
|
87
83
|
|
|
88
84
|
:return: The class or default when not found.
|
|
89
|
-
:rtype: typing.Any
|
|
90
85
|
"""
|
|
91
86
|
|
|
92
87
|
def draw(self, context) -> None:
|
|
@@ -107,7 +102,7 @@ class DataButtonsPanel:
|
|
|
107
102
|
:param context:
|
|
108
103
|
"""
|
|
109
104
|
|
|
110
|
-
class POINTCLOUD_MT_add_attribute(
|
|
105
|
+
class POINTCLOUD_MT_add_attribute(_bpy_types.Menu):
|
|
111
106
|
bl_label: typing.Any
|
|
112
107
|
bl_rna: typing.Any
|
|
113
108
|
id_data: typing.Any
|
|
@@ -127,14 +122,12 @@ class POINTCLOUD_MT_add_attribute(bpy.types.Menu):
|
|
|
127
122
|
"""
|
|
128
123
|
|
|
129
124
|
:return: The RNA type or default when not found.
|
|
130
|
-
:rtype: bpy.types.Struct
|
|
131
125
|
"""
|
|
132
126
|
|
|
133
127
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
134
128
|
"""
|
|
135
129
|
|
|
136
130
|
:return: The class or default when not found.
|
|
137
|
-
:rtype: typing.Any
|
|
138
131
|
"""
|
|
139
132
|
|
|
140
133
|
def draw(self, context) -> None:
|
|
@@ -143,7 +136,7 @@ class POINTCLOUD_MT_add_attribute(bpy.types.Menu):
|
|
|
143
136
|
:param context:
|
|
144
137
|
"""
|
|
145
138
|
|
|
146
|
-
class POINTCLOUD_MT_attribute_context_menu(
|
|
139
|
+
class POINTCLOUD_MT_attribute_context_menu(_bpy_types.Menu):
|
|
147
140
|
bl_label: typing.Any
|
|
148
141
|
bl_rna: typing.Any
|
|
149
142
|
id_data: typing.Any
|
|
@@ -152,14 +145,12 @@ class POINTCLOUD_MT_attribute_context_menu(bpy.types.Menu):
|
|
|
152
145
|
"""
|
|
153
146
|
|
|
154
147
|
:return: The RNA type or default when not found.
|
|
155
|
-
:rtype: bpy.types.Struct
|
|
156
148
|
"""
|
|
157
149
|
|
|
158
150
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
159
151
|
"""
|
|
160
152
|
|
|
161
153
|
:return: The class or default when not found.
|
|
162
|
-
:rtype: typing.Any
|
|
163
154
|
"""
|
|
164
155
|
|
|
165
156
|
def draw(self, _context) -> None:
|
|
@@ -168,7 +159,7 @@ class POINTCLOUD_MT_attribute_context_menu(bpy.types.Menu):
|
|
|
168
159
|
:param _context:
|
|
169
160
|
"""
|
|
170
161
|
|
|
171
|
-
class POINTCLOUD_UL_attributes(
|
|
162
|
+
class POINTCLOUD_UL_attributes(_bpy_types.UIList):
|
|
172
163
|
bl_rna: typing.Any
|
|
173
164
|
id_data: typing.Any
|
|
174
165
|
|
|
@@ -176,14 +167,12 @@ class POINTCLOUD_UL_attributes(bpy.types.UIList):
|
|
|
176
167
|
"""
|
|
177
168
|
|
|
178
169
|
:return: The RNA type or default when not found.
|
|
179
|
-
:rtype: bpy.types.Struct
|
|
180
170
|
"""
|
|
181
171
|
|
|
182
172
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
183
173
|
"""
|
|
184
174
|
|
|
185
175
|
:return: The class or default when not found.
|
|
186
|
-
:rtype: typing.Any
|
|
187
176
|
"""
|
|
188
177
|
|
|
189
178
|
def draw_item(
|
|
@@ -2,9 +2,10 @@ import typing
|
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
4
|
import numpy.typing as npt
|
|
5
|
+
import _bpy_types
|
|
5
6
|
import bpy.types
|
|
6
7
|
|
|
7
|
-
class DATA_PT_shader_fx(ShaderFxButtonsPanel,
|
|
8
|
+
class DATA_PT_shader_fx(ShaderFxButtonsPanel, _bpy_types.Panel):
|
|
8
9
|
bl_context: typing.Any
|
|
9
10
|
bl_label: typing.Any
|
|
10
11
|
bl_options: typing.Any
|
|
@@ -17,14 +18,12 @@ class DATA_PT_shader_fx(ShaderFxButtonsPanel, bpy.types.Panel):
|
|
|
17
18
|
"""
|
|
18
19
|
|
|
19
20
|
:return: The RNA type or default when not found.
|
|
20
|
-
:rtype: bpy.types.Struct
|
|
21
21
|
"""
|
|
22
22
|
|
|
23
23
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
24
24
|
"""
|
|
25
25
|
|
|
26
26
|
:return: The class or default when not found.
|
|
27
|
-
:rtype: typing.Any
|
|
28
27
|
"""
|
|
29
28
|
|
|
30
29
|
def draw(self, _context) -> None:
|
|
@@ -2,11 +2,12 @@ import typing
|
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
4
|
import numpy.typing as npt
|
|
5
|
+
import _bpy_types
|
|
5
6
|
import bl_ui.space_properties
|
|
6
7
|
import bpy.types
|
|
7
8
|
import rna_prop_ui
|
|
8
9
|
|
|
9
|
-
class DATA_PT_cone(DataButtonsPanel,
|
|
10
|
+
class DATA_PT_cone(DataButtonsPanel, _bpy_types.Panel):
|
|
10
11
|
COMPAT_ENGINES: typing.Any
|
|
11
12
|
bl_context: typing.Any
|
|
12
13
|
bl_label: typing.Any
|
|
@@ -20,14 +21,12 @@ class DATA_PT_cone(DataButtonsPanel, bpy.types.Panel):
|
|
|
20
21
|
"""
|
|
21
22
|
|
|
22
23
|
:return: The RNA type or default when not found.
|
|
23
|
-
:rtype: bpy.types.Struct
|
|
24
24
|
"""
|
|
25
25
|
|
|
26
26
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
27
27
|
"""
|
|
28
28
|
|
|
29
29
|
:return: The class or default when not found.
|
|
30
|
-
:rtype: typing.Any
|
|
31
30
|
"""
|
|
32
31
|
|
|
33
32
|
def draw(self, context) -> None:
|
|
@@ -36,7 +35,7 @@ class DATA_PT_cone(DataButtonsPanel, bpy.types.Panel):
|
|
|
36
35
|
:param context:
|
|
37
36
|
"""
|
|
38
37
|
|
|
39
|
-
class DATA_PT_context_speaker(DataButtonsPanel,
|
|
38
|
+
class DATA_PT_context_speaker(DataButtonsPanel, _bpy_types.Panel):
|
|
40
39
|
COMPAT_ENGINES: typing.Any
|
|
41
40
|
bl_context: typing.Any
|
|
42
41
|
bl_label: typing.Any
|
|
@@ -50,14 +49,12 @@ class DATA_PT_context_speaker(DataButtonsPanel, bpy.types.Panel):
|
|
|
50
49
|
"""
|
|
51
50
|
|
|
52
51
|
:return: The RNA type or default when not found.
|
|
53
|
-
:rtype: bpy.types.Struct
|
|
54
52
|
"""
|
|
55
53
|
|
|
56
54
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
57
55
|
"""
|
|
58
56
|
|
|
59
57
|
:return: The class or default when not found.
|
|
60
|
-
:rtype: typing.Any
|
|
61
58
|
"""
|
|
62
59
|
|
|
63
60
|
def draw(self, context) -> None:
|
|
@@ -67,10 +64,10 @@ class DATA_PT_context_speaker(DataButtonsPanel, bpy.types.Panel):
|
|
|
67
64
|
"""
|
|
68
65
|
|
|
69
66
|
class DATA_PT_custom_props_speaker(
|
|
70
|
-
rna_prop_ui.PropertyPanel, DataButtonsPanel,
|
|
67
|
+
rna_prop_ui.PropertyPanel, DataButtonsPanel, _bpy_types.Panel
|
|
71
68
|
):
|
|
72
69
|
"""The subclass should have its own poll function
|
|
73
|
-
and the variable
|
|
70
|
+
and the variable _context_path MUST be set.
|
|
74
71
|
"""
|
|
75
72
|
|
|
76
73
|
COMPAT_ENGINES: typing.Any
|
|
@@ -87,17 +84,15 @@ class DATA_PT_custom_props_speaker(
|
|
|
87
84
|
"""
|
|
88
85
|
|
|
89
86
|
:return: The RNA type or default when not found.
|
|
90
|
-
:rtype: bpy.types.Struct
|
|
91
87
|
"""
|
|
92
88
|
|
|
93
89
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
94
90
|
"""
|
|
95
91
|
|
|
96
92
|
:return: The class or default when not found.
|
|
97
|
-
:rtype: typing.Any
|
|
98
93
|
"""
|
|
99
94
|
|
|
100
|
-
class DATA_PT_distance(DataButtonsPanel,
|
|
95
|
+
class DATA_PT_distance(DataButtonsPanel, _bpy_types.Panel):
|
|
101
96
|
COMPAT_ENGINES: typing.Any
|
|
102
97
|
bl_context: typing.Any
|
|
103
98
|
bl_label: typing.Any
|
|
@@ -111,14 +106,12 @@ class DATA_PT_distance(DataButtonsPanel, bpy.types.Panel):
|
|
|
111
106
|
"""
|
|
112
107
|
|
|
113
108
|
:return: The RNA type or default when not found.
|
|
114
|
-
:rtype: bpy.types.Struct
|
|
115
109
|
"""
|
|
116
110
|
|
|
117
111
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
118
112
|
"""
|
|
119
113
|
|
|
120
114
|
:return: The class or default when not found.
|
|
121
|
-
:rtype: typing.Any
|
|
122
115
|
"""
|
|
123
116
|
|
|
124
117
|
def draw(self, context) -> None:
|
|
@@ -127,7 +120,7 @@ class DATA_PT_distance(DataButtonsPanel, bpy.types.Panel):
|
|
|
127
120
|
:param context:
|
|
128
121
|
"""
|
|
129
122
|
|
|
130
|
-
class DATA_PT_speaker(DataButtonsPanel,
|
|
123
|
+
class DATA_PT_speaker(DataButtonsPanel, _bpy_types.Panel):
|
|
131
124
|
COMPAT_ENGINES: typing.Any
|
|
132
125
|
bl_context: typing.Any
|
|
133
126
|
bl_label: typing.Any
|
|
@@ -140,14 +133,12 @@ class DATA_PT_speaker(DataButtonsPanel, bpy.types.Panel):
|
|
|
140
133
|
"""
|
|
141
134
|
|
|
142
135
|
:return: The RNA type or default when not found.
|
|
143
|
-
:rtype: bpy.types.Struct
|
|
144
136
|
"""
|
|
145
137
|
|
|
146
138
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
147
139
|
"""
|
|
148
140
|
|
|
149
141
|
:return: The class or default when not found.
|
|
150
|
-
:rtype: typing.Any
|
|
151
142
|
"""
|
|
152
143
|
|
|
153
144
|
def draw(self, context) -> None:
|
|
@@ -160,9 +151,9 @@ class DATA_PT_speaker_animation(
|
|
|
160
151
|
rna_prop_ui.PropertyPanel,
|
|
161
152
|
DataButtonsPanel,
|
|
162
153
|
bl_ui.space_properties.PropertiesAnimationMixin,
|
|
163
|
-
|
|
154
|
+
_bpy_types.Panel,
|
|
164
155
|
):
|
|
165
|
-
"""Mix-in class for Animation panels.This class can be used to show a generic
|
|
156
|
+
"""Mix-in class for Animation panels.This class can be used to show a generic Animation panel for IDs shown in
|
|
166
157
|
the properties editor. Specific ID types need specific subclasses.For an example, see DATA_PT_camera_animation in properties_data_camera.py
|
|
167
158
|
"""
|
|
168
159
|
|
|
@@ -180,14 +171,12 @@ class DATA_PT_speaker_animation(
|
|
|
180
171
|
"""
|
|
181
172
|
|
|
182
173
|
:return: The RNA type or default when not found.
|
|
183
|
-
:rtype: bpy.types.Struct
|
|
184
174
|
"""
|
|
185
175
|
|
|
186
176
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
187
177
|
"""
|
|
188
178
|
|
|
189
179
|
:return: The class or default when not found.
|
|
190
|
-
:rtype: typing.Any
|
|
191
180
|
"""
|
|
192
181
|
|
|
193
182
|
class DataButtonsPanel:
|