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,6 +2,7 @@ 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
|
|
@@ -18,7 +19,7 @@ class CurveButtonsPanel:
|
|
|
18
19
|
:param context:
|
|
19
20
|
"""
|
|
20
21
|
|
|
21
|
-
class DATA_PT_context_curve(CurveButtonsPanel,
|
|
22
|
+
class DATA_PT_context_curve(CurveButtonsPanel, _bpy_types.Panel):
|
|
22
23
|
bl_context: typing.Any
|
|
23
24
|
bl_label: typing.Any
|
|
24
25
|
bl_options: typing.Any
|
|
@@ -31,14 +32,12 @@ class DATA_PT_context_curve(CurveButtonsPanel, bpy.types.Panel):
|
|
|
31
32
|
"""
|
|
32
33
|
|
|
33
34
|
:return: The RNA type or default when not found.
|
|
34
|
-
:rtype: bpy.types.Struct
|
|
35
35
|
"""
|
|
36
36
|
|
|
37
37
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
38
38
|
"""
|
|
39
39
|
|
|
40
40
|
:return: The class or default when not found.
|
|
41
|
-
:rtype: typing.Any
|
|
42
41
|
"""
|
|
43
42
|
|
|
44
43
|
def draw(self, context) -> None:
|
|
@@ -51,9 +50,9 @@ class DATA_PT_curve_animation(
|
|
|
51
50
|
rna_prop_ui.PropertyPanel,
|
|
52
51
|
CurveButtonsPanel,
|
|
53
52
|
bl_ui.space_properties.PropertiesAnimationMixin,
|
|
54
|
-
|
|
53
|
+
_bpy_types.Panel,
|
|
55
54
|
):
|
|
56
|
-
"""Mix-in class for Animation panels.This class can be used to show a generic
|
|
55
|
+
"""Mix-in class for Animation panels.This class can be used to show a generic Animation panel for IDs shown in
|
|
57
56
|
the properties editor. Specific ID types need specific subclasses.For an example, see DATA_PT_camera_animation in properties_data_camera.py
|
|
58
57
|
"""
|
|
59
58
|
|
|
@@ -70,14 +69,12 @@ class DATA_PT_curve_animation(
|
|
|
70
69
|
"""
|
|
71
70
|
|
|
72
71
|
:return: The RNA type or default when not found.
|
|
73
|
-
:rtype: bpy.types.Struct
|
|
74
72
|
"""
|
|
75
73
|
|
|
76
74
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
77
75
|
"""
|
|
78
76
|
|
|
79
77
|
:return: The class or default when not found.
|
|
80
|
-
:rtype: typing.Any
|
|
81
78
|
"""
|
|
82
79
|
|
|
83
80
|
def draw(self, context) -> None:
|
|
@@ -86,7 +83,7 @@ class DATA_PT_curve_animation(
|
|
|
86
83
|
:param context:
|
|
87
84
|
"""
|
|
88
85
|
|
|
89
|
-
class DATA_PT_curve_texture_space(CurveButtonsPanel,
|
|
86
|
+
class DATA_PT_curve_texture_space(CurveButtonsPanel, _bpy_types.Panel):
|
|
90
87
|
bl_context: typing.Any
|
|
91
88
|
bl_label: typing.Any
|
|
92
89
|
bl_options: typing.Any
|
|
@@ -99,14 +96,12 @@ class DATA_PT_curve_texture_space(CurveButtonsPanel, bpy.types.Panel):
|
|
|
99
96
|
"""
|
|
100
97
|
|
|
101
98
|
:return: The RNA type or default when not found.
|
|
102
|
-
:rtype: bpy.types.Struct
|
|
103
99
|
"""
|
|
104
100
|
|
|
105
101
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
106
102
|
"""
|
|
107
103
|
|
|
108
104
|
:return: The class or default when not found.
|
|
109
|
-
:rtype: typing.Any
|
|
110
105
|
"""
|
|
111
106
|
|
|
112
107
|
def draw(self, context) -> None:
|
|
@@ -116,10 +111,10 @@ class DATA_PT_curve_texture_space(CurveButtonsPanel, bpy.types.Panel):
|
|
|
116
111
|
"""
|
|
117
112
|
|
|
118
113
|
class DATA_PT_custom_props_curve(
|
|
119
|
-
rna_prop_ui.PropertyPanel, CurveButtonsPanel,
|
|
114
|
+
rna_prop_ui.PropertyPanel, CurveButtonsPanel, _bpy_types.Panel
|
|
120
115
|
):
|
|
121
116
|
"""The subclass should have its own poll function
|
|
122
|
-
and the variable
|
|
117
|
+
and the variable _context_path MUST be set.
|
|
123
118
|
"""
|
|
124
119
|
|
|
125
120
|
bl_context: typing.Any
|
|
@@ -135,17 +130,15 @@ class DATA_PT_custom_props_curve(
|
|
|
135
130
|
"""
|
|
136
131
|
|
|
137
132
|
:return: The RNA type or default when not found.
|
|
138
|
-
:rtype: bpy.types.Struct
|
|
139
133
|
"""
|
|
140
134
|
|
|
141
135
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
142
136
|
"""
|
|
143
137
|
|
|
144
138
|
:return: The class or default when not found.
|
|
145
|
-
:rtype: typing.Any
|
|
146
139
|
"""
|
|
147
140
|
|
|
148
|
-
class DATA_PT_font(CurveButtonsPanelText,
|
|
141
|
+
class DATA_PT_font(CurveButtonsPanelText, _bpy_types.Panel):
|
|
149
142
|
bl_context: typing.Any
|
|
150
143
|
bl_label: typing.Any
|
|
151
144
|
bl_options: typing.Any
|
|
@@ -158,14 +151,12 @@ class DATA_PT_font(CurveButtonsPanelText, bpy.types.Panel):
|
|
|
158
151
|
"""
|
|
159
152
|
|
|
160
153
|
:return: The RNA type or default when not found.
|
|
161
|
-
:rtype: bpy.types.Struct
|
|
162
154
|
"""
|
|
163
155
|
|
|
164
156
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
165
157
|
"""
|
|
166
158
|
|
|
167
159
|
:return: The class or default when not found.
|
|
168
|
-
:rtype: typing.Any
|
|
169
160
|
"""
|
|
170
161
|
|
|
171
162
|
def draw(self, context) -> None:
|
|
@@ -174,7 +165,7 @@ class DATA_PT_font(CurveButtonsPanelText, bpy.types.Panel):
|
|
|
174
165
|
:param context:
|
|
175
166
|
"""
|
|
176
167
|
|
|
177
|
-
class DATA_PT_font_transform(CurveButtonsPanelText,
|
|
168
|
+
class DATA_PT_font_transform(CurveButtonsPanelText, _bpy_types.Panel):
|
|
178
169
|
bl_context: typing.Any
|
|
179
170
|
bl_label: typing.Any
|
|
180
171
|
bl_parent_id: typing.Any
|
|
@@ -187,14 +178,12 @@ class DATA_PT_font_transform(CurveButtonsPanelText, bpy.types.Panel):
|
|
|
187
178
|
"""
|
|
188
179
|
|
|
189
180
|
:return: The RNA type or default when not found.
|
|
190
|
-
:rtype: bpy.types.Struct
|
|
191
181
|
"""
|
|
192
182
|
|
|
193
183
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
194
184
|
"""
|
|
195
185
|
|
|
196
186
|
:return: The class or default when not found.
|
|
197
|
-
:rtype: typing.Any
|
|
198
187
|
"""
|
|
199
188
|
|
|
200
189
|
def draw(self, context) -> None:
|
|
@@ -203,7 +192,7 @@ class DATA_PT_font_transform(CurveButtonsPanelText, bpy.types.Panel):
|
|
|
203
192
|
:param context:
|
|
204
193
|
"""
|
|
205
194
|
|
|
206
|
-
class DATA_PT_geometry_curve(CurveButtonsPanelCurve,
|
|
195
|
+
class DATA_PT_geometry_curve(CurveButtonsPanelCurve, _bpy_types.Panel):
|
|
207
196
|
bl_context: typing.Any
|
|
208
197
|
bl_label: typing.Any
|
|
209
198
|
bl_options: typing.Any
|
|
@@ -216,14 +205,12 @@ class DATA_PT_geometry_curve(CurveButtonsPanelCurve, bpy.types.Panel):
|
|
|
216
205
|
"""
|
|
217
206
|
|
|
218
207
|
:return: The RNA type or default when not found.
|
|
219
|
-
:rtype: bpy.types.Struct
|
|
220
208
|
"""
|
|
221
209
|
|
|
222
210
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
223
211
|
"""
|
|
224
212
|
|
|
225
213
|
:return: The class or default when not found.
|
|
226
|
-
:rtype: typing.Any
|
|
227
214
|
"""
|
|
228
215
|
|
|
229
216
|
def draw(self, context) -> None:
|
|
@@ -239,7 +226,7 @@ class DATA_PT_geometry_curve(CurveButtonsPanelCurve, bpy.types.Panel):
|
|
|
239
226
|
:param context:
|
|
240
227
|
"""
|
|
241
228
|
|
|
242
|
-
class DATA_PT_geometry_curve_bevel(CurveButtonsPanelCurve,
|
|
229
|
+
class DATA_PT_geometry_curve_bevel(CurveButtonsPanelCurve, _bpy_types.Panel):
|
|
243
230
|
bl_context: typing.Any
|
|
244
231
|
bl_label: typing.Any
|
|
245
232
|
bl_parent_id: typing.Any
|
|
@@ -252,14 +239,12 @@ class DATA_PT_geometry_curve_bevel(CurveButtonsPanelCurve, bpy.types.Panel):
|
|
|
252
239
|
"""
|
|
253
240
|
|
|
254
241
|
:return: The RNA type or default when not found.
|
|
255
|
-
:rtype: bpy.types.Struct
|
|
256
242
|
"""
|
|
257
243
|
|
|
258
244
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
259
245
|
"""
|
|
260
246
|
|
|
261
247
|
:return: The class or default when not found.
|
|
262
|
-
:rtype: typing.Any
|
|
263
248
|
"""
|
|
264
249
|
|
|
265
250
|
def draw(self, context) -> None:
|
|
@@ -275,7 +260,7 @@ class DATA_PT_geometry_curve_bevel(CurveButtonsPanelCurve, bpy.types.Panel):
|
|
|
275
260
|
:param context:
|
|
276
261
|
"""
|
|
277
262
|
|
|
278
|
-
class DATA_PT_geometry_curve_start_end(CurveButtonsPanelCurve,
|
|
263
|
+
class DATA_PT_geometry_curve_start_end(CurveButtonsPanelCurve, _bpy_types.Panel):
|
|
279
264
|
bl_context: typing.Any
|
|
280
265
|
bl_label: typing.Any
|
|
281
266
|
bl_options: typing.Any
|
|
@@ -289,14 +274,12 @@ class DATA_PT_geometry_curve_start_end(CurveButtonsPanelCurve, bpy.types.Panel):
|
|
|
289
274
|
"""
|
|
290
275
|
|
|
291
276
|
:return: The RNA type or default when not found.
|
|
292
|
-
:rtype: bpy.types.Struct
|
|
293
277
|
"""
|
|
294
278
|
|
|
295
279
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
296
280
|
"""
|
|
297
281
|
|
|
298
282
|
:return: The class or default when not found.
|
|
299
|
-
:rtype: typing.Any
|
|
300
283
|
"""
|
|
301
284
|
|
|
302
285
|
def draw(self, context) -> None:
|
|
@@ -312,7 +295,7 @@ class DATA_PT_geometry_curve_start_end(CurveButtonsPanelCurve, bpy.types.Panel):
|
|
|
312
295
|
:param context:
|
|
313
296
|
"""
|
|
314
297
|
|
|
315
|
-
class DATA_PT_paragraph(CurveButtonsPanelText,
|
|
298
|
+
class DATA_PT_paragraph(CurveButtonsPanelText, _bpy_types.Panel):
|
|
316
299
|
bl_context: typing.Any
|
|
317
300
|
bl_label: typing.Any
|
|
318
301
|
bl_region_type: typing.Any
|
|
@@ -324,14 +307,12 @@ class DATA_PT_paragraph(CurveButtonsPanelText, bpy.types.Panel):
|
|
|
324
307
|
"""
|
|
325
308
|
|
|
326
309
|
:return: The RNA type or default when not found.
|
|
327
|
-
:rtype: bpy.types.Struct
|
|
328
310
|
"""
|
|
329
311
|
|
|
330
312
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
331
313
|
"""
|
|
332
314
|
|
|
333
315
|
:return: The class or default when not found.
|
|
334
|
-
:rtype: typing.Any
|
|
335
316
|
"""
|
|
336
317
|
|
|
337
318
|
def draw(self, context) -> None:
|
|
@@ -340,7 +321,7 @@ class DATA_PT_paragraph(CurveButtonsPanelText, bpy.types.Panel):
|
|
|
340
321
|
:param context:
|
|
341
322
|
"""
|
|
342
323
|
|
|
343
|
-
class DATA_PT_paragraph_alignment(CurveButtonsPanelText,
|
|
324
|
+
class DATA_PT_paragraph_alignment(CurveButtonsPanelText, _bpy_types.Panel):
|
|
344
325
|
bl_context: typing.Any
|
|
345
326
|
bl_label: typing.Any
|
|
346
327
|
bl_parent_id: typing.Any
|
|
@@ -353,14 +334,12 @@ class DATA_PT_paragraph_alignment(CurveButtonsPanelText, bpy.types.Panel):
|
|
|
353
334
|
"""
|
|
354
335
|
|
|
355
336
|
:return: The RNA type or default when not found.
|
|
356
|
-
:rtype: bpy.types.Struct
|
|
357
337
|
"""
|
|
358
338
|
|
|
359
339
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
360
340
|
"""
|
|
361
341
|
|
|
362
342
|
:return: The class or default when not found.
|
|
363
|
-
:rtype: typing.Any
|
|
364
343
|
"""
|
|
365
344
|
|
|
366
345
|
def draw(self, context) -> None:
|
|
@@ -369,7 +348,7 @@ class DATA_PT_paragraph_alignment(CurveButtonsPanelText, bpy.types.Panel):
|
|
|
369
348
|
:param context:
|
|
370
349
|
"""
|
|
371
350
|
|
|
372
|
-
class DATA_PT_paragraph_spacing(CurveButtonsPanelText,
|
|
351
|
+
class DATA_PT_paragraph_spacing(CurveButtonsPanelText, _bpy_types.Panel):
|
|
373
352
|
bl_context: typing.Any
|
|
374
353
|
bl_label: typing.Any
|
|
375
354
|
bl_parent_id: typing.Any
|
|
@@ -382,14 +361,12 @@ class DATA_PT_paragraph_spacing(CurveButtonsPanelText, bpy.types.Panel):
|
|
|
382
361
|
"""
|
|
383
362
|
|
|
384
363
|
:return: The RNA type or default when not found.
|
|
385
|
-
:rtype: bpy.types.Struct
|
|
386
364
|
"""
|
|
387
365
|
|
|
388
366
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
389
367
|
"""
|
|
390
368
|
|
|
391
369
|
:return: The class or default when not found.
|
|
392
|
-
:rtype: typing.Any
|
|
393
370
|
"""
|
|
394
371
|
|
|
395
372
|
def draw(self, context) -> None:
|
|
@@ -398,7 +375,7 @@ class DATA_PT_paragraph_spacing(CurveButtonsPanelText, bpy.types.Panel):
|
|
|
398
375
|
:param context:
|
|
399
376
|
"""
|
|
400
377
|
|
|
401
|
-
class DATA_PT_pathanim(CurveButtonsPanelCurve,
|
|
378
|
+
class DATA_PT_pathanim(CurveButtonsPanelCurve, _bpy_types.Panel):
|
|
402
379
|
bl_context: typing.Any
|
|
403
380
|
bl_label: typing.Any
|
|
404
381
|
bl_options: typing.Any
|
|
@@ -411,14 +388,12 @@ class DATA_PT_pathanim(CurveButtonsPanelCurve, bpy.types.Panel):
|
|
|
411
388
|
"""
|
|
412
389
|
|
|
413
390
|
:return: The RNA type or default when not found.
|
|
414
|
-
:rtype: bpy.types.Struct
|
|
415
391
|
"""
|
|
416
392
|
|
|
417
393
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
418
394
|
"""
|
|
419
395
|
|
|
420
396
|
:return: The class or default when not found.
|
|
421
|
-
:rtype: typing.Any
|
|
422
397
|
"""
|
|
423
398
|
|
|
424
399
|
def draw(self, context) -> None:
|
|
@@ -433,7 +408,7 @@ class DATA_PT_pathanim(CurveButtonsPanelCurve, bpy.types.Panel):
|
|
|
433
408
|
:param context:
|
|
434
409
|
"""
|
|
435
410
|
|
|
436
|
-
class DATA_PT_shape_curve(CurveButtonsPanel,
|
|
411
|
+
class DATA_PT_shape_curve(CurveButtonsPanel, _bpy_types.Panel):
|
|
437
412
|
bl_context: typing.Any
|
|
438
413
|
bl_label: typing.Any
|
|
439
414
|
bl_region_type: typing.Any
|
|
@@ -445,14 +420,12 @@ class DATA_PT_shape_curve(CurveButtonsPanel, bpy.types.Panel):
|
|
|
445
420
|
"""
|
|
446
421
|
|
|
447
422
|
:return: The RNA type or default when not found.
|
|
448
|
-
:rtype: bpy.types.Struct
|
|
449
423
|
"""
|
|
450
424
|
|
|
451
425
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
452
426
|
"""
|
|
453
427
|
|
|
454
428
|
:return: The class or default when not found.
|
|
455
|
-
:rtype: typing.Any
|
|
456
429
|
"""
|
|
457
430
|
|
|
458
431
|
def draw(self, context) -> None:
|
|
@@ -461,7 +434,7 @@ class DATA_PT_shape_curve(CurveButtonsPanel, bpy.types.Panel):
|
|
|
461
434
|
:param context:
|
|
462
435
|
"""
|
|
463
436
|
|
|
464
|
-
class DATA_PT_text_boxes(CurveButtonsPanelText,
|
|
437
|
+
class DATA_PT_text_boxes(CurveButtonsPanelText, _bpy_types.Panel):
|
|
465
438
|
bl_context: typing.Any
|
|
466
439
|
bl_label: typing.Any
|
|
467
440
|
bl_options: typing.Any
|
|
@@ -474,14 +447,12 @@ class DATA_PT_text_boxes(CurveButtonsPanelText, bpy.types.Panel):
|
|
|
474
447
|
"""
|
|
475
448
|
|
|
476
449
|
:return: The RNA type or default when not found.
|
|
477
|
-
:rtype: bpy.types.Struct
|
|
478
450
|
"""
|
|
479
451
|
|
|
480
452
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
481
453
|
"""
|
|
482
454
|
|
|
483
455
|
:return: The class or default when not found.
|
|
484
|
-
:rtype: typing.Any
|
|
485
456
|
"""
|
|
486
457
|
|
|
487
458
|
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 CURVES_MT_add_attribute(
|
|
10
|
+
class CURVES_MT_add_attribute(_bpy_types.Menu):
|
|
10
11
|
bl_label: typing.Any
|
|
11
12
|
bl_rna: typing.Any
|
|
12
13
|
id_data: typing.Any
|
|
@@ -26,14 +27,12 @@ class CURVES_MT_add_attribute(bpy.types.Menu):
|
|
|
26
27
|
"""
|
|
27
28
|
|
|
28
29
|
:return: The RNA type or default when not found.
|
|
29
|
-
:rtype: bpy.types.Struct
|
|
30
30
|
"""
|
|
31
31
|
|
|
32
32
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
33
33
|
"""
|
|
34
34
|
|
|
35
35
|
:return: The class or default when not found.
|
|
36
|
-
:rtype: typing.Any
|
|
37
36
|
"""
|
|
38
37
|
|
|
39
38
|
def draw(self, context) -> None:
|
|
@@ -42,7 +41,7 @@ class CURVES_MT_add_attribute(bpy.types.Menu):
|
|
|
42
41
|
:param context:
|
|
43
42
|
"""
|
|
44
43
|
|
|
45
|
-
class CURVES_MT_attribute_context_menu(
|
|
44
|
+
class CURVES_MT_attribute_context_menu(_bpy_types.Menu):
|
|
46
45
|
bl_label: typing.Any
|
|
47
46
|
bl_rna: typing.Any
|
|
48
47
|
id_data: typing.Any
|
|
@@ -51,14 +50,12 @@ class CURVES_MT_attribute_context_menu(bpy.types.Menu):
|
|
|
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:
|
|
@@ -67,7 +64,7 @@ class CURVES_MT_attribute_context_menu(bpy.types.Menu):
|
|
|
67
64
|
:param _context:
|
|
68
65
|
"""
|
|
69
66
|
|
|
70
|
-
class CURVES_UL_attributes(
|
|
67
|
+
class CURVES_UL_attributes(_bpy_types.UIList):
|
|
71
68
|
bl_rna: typing.Any
|
|
72
69
|
id_data: typing.Any
|
|
73
70
|
|
|
@@ -75,14 +72,12 @@ class CURVES_UL_attributes(bpy.types.UIList):
|
|
|
75
72
|
"""
|
|
76
73
|
|
|
77
74
|
:return: The RNA type or default when not found.
|
|
78
|
-
:rtype: bpy.types.Struct
|
|
79
75
|
"""
|
|
80
76
|
|
|
81
77
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
82
78
|
"""
|
|
83
79
|
|
|
84
80
|
:return: The class or default when not found.
|
|
85
|
-
:rtype: typing.Any
|
|
86
81
|
"""
|
|
87
82
|
|
|
88
83
|
def draw_item(
|
|
@@ -116,7 +111,7 @@ class CURVES_UL_attributes(bpy.types.UIList):
|
|
|
116
111
|
:param property:
|
|
117
112
|
"""
|
|
118
113
|
|
|
119
|
-
class DATA_PT_CURVES_attributes(DataButtonsPanel,
|
|
114
|
+
class DATA_PT_CURVES_attributes(DataButtonsPanel, _bpy_types.Panel):
|
|
120
115
|
COMPAT_ENGINES: typing.Any
|
|
121
116
|
bl_context: typing.Any
|
|
122
117
|
bl_label: typing.Any
|
|
@@ -129,14 +124,12 @@ class DATA_PT_CURVES_attributes(DataButtonsPanel, bpy.types.Panel):
|
|
|
129
124
|
"""
|
|
130
125
|
|
|
131
126
|
:return: The RNA type or default when not found.
|
|
132
|
-
:rtype: bpy.types.Struct
|
|
133
127
|
"""
|
|
134
128
|
|
|
135
129
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
136
130
|
"""
|
|
137
131
|
|
|
138
132
|
:return: The class or default when not found.
|
|
139
|
-
:rtype: typing.Any
|
|
140
133
|
"""
|
|
141
134
|
|
|
142
135
|
def draw(self, context) -> None:
|
|
@@ -145,7 +138,7 @@ class DATA_PT_CURVES_attributes(DataButtonsPanel, bpy.types.Panel):
|
|
|
145
138
|
:param context:
|
|
146
139
|
"""
|
|
147
140
|
|
|
148
|
-
class DATA_PT_context_curves(DataButtonsPanel,
|
|
141
|
+
class DATA_PT_context_curves(DataButtonsPanel, _bpy_types.Panel):
|
|
149
142
|
COMPAT_ENGINES: typing.Any
|
|
150
143
|
bl_context: typing.Any
|
|
151
144
|
bl_label: typing.Any
|
|
@@ -159,14 +152,12 @@ class DATA_PT_context_curves(DataButtonsPanel, bpy.types.Panel):
|
|
|
159
152
|
"""
|
|
160
153
|
|
|
161
154
|
:return: The RNA type or default when not found.
|
|
162
|
-
:rtype: bpy.types.Struct
|
|
163
155
|
"""
|
|
164
156
|
|
|
165
157
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
166
158
|
"""
|
|
167
159
|
|
|
168
160
|
:return: The class or default when not found.
|
|
169
|
-
:rtype: typing.Any
|
|
170
161
|
"""
|
|
171
162
|
|
|
172
163
|
def draw(self, context) -> None:
|
|
@@ -179,9 +170,9 @@ class DATA_PT_curves_animation(
|
|
|
179
170
|
rna_prop_ui.PropertyPanel,
|
|
180
171
|
DataButtonsPanel,
|
|
181
172
|
bl_ui.space_properties.PropertiesAnimationMixin,
|
|
182
|
-
|
|
173
|
+
_bpy_types.Panel,
|
|
183
174
|
):
|
|
184
|
-
"""Mix-in class for Animation panels.This class can be used to show a generic
|
|
175
|
+
"""Mix-in class for Animation panels.This class can be used to show a generic Animation panel for IDs shown in
|
|
185
176
|
the properties editor. Specific ID types need specific subclasses.For an example, see DATA_PT_camera_animation in properties_data_camera.py
|
|
186
177
|
"""
|
|
187
178
|
|
|
@@ -199,17 +190,15 @@ class DATA_PT_curves_animation(
|
|
|
199
190
|
"""
|
|
200
191
|
|
|
201
192
|
:return: The RNA type or default when not found.
|
|
202
|
-
:rtype: bpy.types.Struct
|
|
203
193
|
"""
|
|
204
194
|
|
|
205
195
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
206
196
|
"""
|
|
207
197
|
|
|
208
198
|
:return: The class or default when not found.
|
|
209
|
-
:rtype: typing.Any
|
|
210
199
|
"""
|
|
211
200
|
|
|
212
|
-
class DATA_PT_curves_surface(DataButtonsPanel,
|
|
201
|
+
class DATA_PT_curves_surface(DataButtonsPanel, _bpy_types.Panel):
|
|
213
202
|
COMPAT_ENGINES: typing.Any
|
|
214
203
|
bl_context: typing.Any
|
|
215
204
|
bl_label: typing.Any
|
|
@@ -222,14 +211,12 @@ class DATA_PT_curves_surface(DataButtonsPanel, bpy.types.Panel):
|
|
|
222
211
|
"""
|
|
223
212
|
|
|
224
213
|
:return: The RNA type or default when not found.
|
|
225
|
-
:rtype: bpy.types.Struct
|
|
226
214
|
"""
|
|
227
215
|
|
|
228
216
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
229
217
|
"""
|
|
230
218
|
|
|
231
219
|
:return: The class or default when not found.
|
|
232
|
-
:rtype: typing.Any
|
|
233
220
|
"""
|
|
234
221
|
|
|
235
222
|
def draw(self, context) -> None:
|
|
@@ -239,10 +226,10 @@ class DATA_PT_curves_surface(DataButtonsPanel, bpy.types.Panel):
|
|
|
239
226
|
"""
|
|
240
227
|
|
|
241
228
|
class DATA_PT_custom_props_curves(
|
|
242
|
-
rna_prop_ui.PropertyPanel, DataButtonsPanel,
|
|
229
|
+
rna_prop_ui.PropertyPanel, DataButtonsPanel, _bpy_types.Panel
|
|
243
230
|
):
|
|
244
231
|
"""The subclass should have its own poll function
|
|
245
|
-
and the variable
|
|
232
|
+
and the variable _context_path MUST be set.
|
|
246
233
|
"""
|
|
247
234
|
|
|
248
235
|
COMPAT_ENGINES: typing.Any
|
|
@@ -259,14 +246,12 @@ class DATA_PT_custom_props_curves(
|
|
|
259
246
|
"""
|
|
260
247
|
|
|
261
248
|
:return: The RNA type or default when not found.
|
|
262
|
-
:rtype: bpy.types.Struct
|
|
263
249
|
"""
|
|
264
250
|
|
|
265
251
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
266
252
|
"""
|
|
267
253
|
|
|
268
254
|
:return: The class or default when not found.
|
|
269
|
-
:rtype: typing.Any
|
|
270
255
|
"""
|
|
271
256
|
|
|
272
257
|
class DataButtonsPanel:
|
|
@@ -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_empty(DataButtonsPanel,
|
|
8
|
+
class DATA_PT_empty(DataButtonsPanel, _bpy_types.Panel):
|
|
8
9
|
bl_context: typing.Any
|
|
9
10
|
bl_label: typing.Any
|
|
10
11
|
bl_region_type: typing.Any
|
|
@@ -17,14 +18,12 @@ class DATA_PT_empty(DataButtonsPanel, 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:
|
|
@@ -33,7 +32,7 @@ class DATA_PT_empty(DataButtonsPanel, bpy.types.Panel):
|
|
|
33
32
|
:param context:
|
|
34
33
|
"""
|
|
35
34
|
|
|
36
|
-
class DATA_PT_empty_image(DataButtonsPanel,
|
|
35
|
+
class DATA_PT_empty_image(DataButtonsPanel, _bpy_types.Panel):
|
|
37
36
|
bl_context: typing.Any
|
|
38
37
|
bl_label: typing.Any
|
|
39
38
|
bl_region_type: typing.Any
|
|
@@ -45,14 +44,12 @@ class DATA_PT_empty_image(DataButtonsPanel, bpy.types.Panel):
|
|
|
45
44
|
"""
|
|
46
45
|
|
|
47
46
|
:return: The RNA type or default when not found.
|
|
48
|
-
:rtype: bpy.types.Struct
|
|
49
47
|
"""
|
|
50
48
|
|
|
51
49
|
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
52
50
|
"""
|
|
53
51
|
|
|
54
52
|
:return: The class or default when not found.
|
|
55
|
-
:rtype: typing.Any
|
|
56
53
|
"""
|
|
57
54
|
|
|
58
55
|
def draw(self, context) -> None:
|