fake-bpy-module 20240705__py3-none-any.whl → 20240707__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.
- _bpy_internal/__init__.pyi +1 -0
- _bpy_internal/extensions/__init__.pyi +1 -0
- _bpy_internal/extensions/junction_module/__init__.pyi +1 -0
- _bpy_internal/extensions/wheel_manager/__init__.pyi +1 -0
- _bpy_internal/freedesktop/__init__.pyi +1 -0
- addon_utils/__init__.pyi +1 -0
- animsys_refactor/__init__.pyi +1 -0
- aud/__init__.pyi +1 -0
- bgl/__init__.pyi +1 -0
- bl_app_override/__init__.pyi +1 -0
- bl_app_override/helpers/__init__.pyi +1 -0
- bl_app_template_utils/__init__.pyi +1 -0
- bl_console_utils/__init__.pyi +1 -0
- bl_console_utils/autocomplete/__init__.pyi +1 -0
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +1 -0
- bl_console_utils/autocomplete/complete_import/__init__.pyi +1 -0
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +1 -0
- bl_console_utils/autocomplete/intellisense/__init__.pyi +1 -0
- bl_i18n_utils/__init__.pyi +1 -0
- bl_i18n_utils/bl_extract_messages/__init__.pyi +1 -0
- bl_i18n_utils/merge_po/__init__.pyi +1 -0
- bl_i18n_utils/settings/__init__.pyi +1 -0
- bl_i18n_utils/utils/__init__.pyi +1 -0
- bl_i18n_utils/utils_cli/__init__.pyi +1 -0
- bl_i18n_utils/utils_languages_menu/__init__.pyi +1 -0
- bl_i18n_utils/utils_rtl/__init__.pyi +1 -0
- bl_keymap_utils/__init__.pyi +1 -0
- bl_keymap_utils/io/__init__.pyi +1 -0
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +1 -0
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +1 -0
- bl_keymap_utils/platform_helpers/__init__.pyi +1 -0
- bl_keymap_utils/versioning/__init__.pyi +1 -0
- bl_math/__init__.pyi +1 -0
- bl_operators/__init__.pyi +1 -0
- bl_operators/add_mesh_torus/__init__.pyi +1 -0
- bl_operators/anim/__init__.pyi +1 -0
- bl_operators/assets/__init__.pyi +9 -8
- bl_operators/bmesh/__init__.pyi +1 -0
- bl_operators/bmesh/find_adjacent/__init__.pyi +1 -0
- bl_operators/clip/__init__.pyi +1 -0
- bl_operators/connect_to_output/__init__.pyi +1 -0
- bl_operators/console/__init__.pyi +1 -0
- bl_operators/constraint/__init__.pyi +1 -0
- bl_operators/file/__init__.pyi +1 -0
- bl_operators/freestyle/__init__.pyi +1 -0
- bl_operators/geometry_nodes/__init__.pyi +1 -0
- bl_operators/image/__init__.pyi +1 -0
- bl_operators/image_as_planes/__init__.pyi +44 -43
- bl_operators/mesh/__init__.pyi +1 -0
- bl_operators/node/__init__.pyi +235 -234
- bl_operators/node_editor/__init__.pyi +1 -0
- bl_operators/node_editor/node_functions/__init__.pyi +1 -0
- bl_operators/object/__init__.pyi +1 -0
- bl_operators/object_align/__init__.pyi +1 -0
- bl_operators/object_quick_effects/__init__.pyi +22 -21
- bl_operators/object_randomize_transform/__init__.pyi +1 -0
- bl_operators/presets/__init__.pyi +389 -388
- bl_operators/rigidbody/__init__.pyi +1 -0
- bl_operators/screen_play_rendered_anim/__init__.pyi +1 -0
- bl_operators/sequencer/__init__.pyi +1 -0
- bl_operators/spreadsheet/__init__.pyi +1 -0
- bl_operators/userpref/__init__.pyi +1 -0
- bl_operators/uvcalc_follow_active/__init__.pyi +1 -0
- bl_operators/uvcalc_lightmap/__init__.pyi +1 -0
- bl_operators/uvcalc_transform/__init__.pyi +1 -0
- bl_operators/vertexpaint_dirt/__init__.pyi +1 -0
- bl_operators/view3d/__init__.pyi +1 -0
- bl_operators/wm/__init__.pyi +1 -0
- bl_operators/world/__init__.pyi +1 -0
- bl_previews_utils/__init__.pyi +1 -0
- bl_previews_utils/bl_previews_render/__init__.pyi +1 -0
- bl_rna_utils/__init__.pyi +1 -0
- bl_rna_utils/data_path/__init__.pyi +1 -0
- bl_text_utils/__init__.pyi +1 -0
- bl_text_utils/external_editor/__init__.pyi +1 -0
- bl_ui/__init__.pyi +1 -0
- bl_ui/anim/__init__.pyi +1 -0
- bl_ui/asset_shelf/__init__.pyi +1 -0
- bl_ui/generic_ui_list/__init__.pyi +1 -0
- bl_ui/node_add_menu/__init__.pyi +1 -0
- bl_ui/node_add_menu_compositor/__init__.pyi +1 -0
- bl_ui/node_add_menu_geometry/__init__.pyi +1 -0
- bl_ui/node_add_menu_shader/__init__.pyi +1 -0
- bl_ui/node_add_menu_texture/__init__.pyi +1 -0
- bl_ui/properties_animviz/__init__.pyi +1 -0
- bl_ui/properties_collection/__init__.pyi +13 -12
- bl_ui/properties_constraint/__init__.pyi +955 -954
- bl_ui/properties_data_armature/__init__.pyi +86 -85
- bl_ui/properties_data_bone/__init__.pyi +13 -12
- bl_ui/properties_data_camera/__init__.pyi +1 -0
- bl_ui/properties_data_curve/__init__.pyi +93 -92
- bl_ui/properties_data_curves/__init__.pyi +13 -12
- bl_ui/properties_data_empty/__init__.pyi +13 -12
- bl_ui/properties_data_gpencil/__init__.pyi +266 -265
- bl_ui/properties_data_grease_pencil/__init__.pyi +313 -312
- bl_ui/properties_data_lattice/__init__.pyi +13 -12
- bl_ui/properties_data_light/__init__.pyi +13 -12
- bl_ui/properties_data_lightprobe/__init__.pyi +13 -12
- bl_ui/properties_data_mesh/__init__.pyi +528 -527
- bl_ui/properties_data_metaball/__init__.pyi +13 -12
- bl_ui/properties_data_modifier/__init__.pyi +20 -19
- bl_ui/properties_data_pointcloud/__init__.pyi +141 -140
- bl_ui/properties_data_shaderfx/__init__.pyi +6 -5
- bl_ui/properties_data_speaker/__init__.pyi +13 -12
- bl_ui/properties_data_volume/__init__.pyi +66 -65
- bl_ui/properties_freestyle/__init__.pyi +249 -248
- bl_ui/properties_grease_pencil_common/__init__.pyi +1 -0
- bl_ui/properties_mask_common/__init__.pyi +1 -0
- bl_ui/properties_material/__init__.pyi +146 -145
- bl_ui/properties_material_gpencil/__init__.pyi +87 -86
- bl_ui/properties_object/__init__.pyi +76 -75
- bl_ui/properties_output/__init__.pyi +202 -201
- bl_ui/properties_paint_common/__init__.pyi +1 -0
- bl_ui/properties_particle/__init__.pyi +221 -220
- bl_ui/properties_physics_cloth/__init__.pyi +13 -12
- bl_ui/properties_physics_common/__init__.pyi +13 -12
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +188 -187
- bl_ui/properties_physics_field/__init__.pyi +20 -19
- bl_ui/properties_physics_fluid/__init__.pyi +62 -61
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +1 -0
- bl_ui/properties_physics_rigidbody/__init__.pyi +6 -5
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +6 -5
- bl_ui/properties_physics_softbody/__init__.pyi +13 -12
- bl_ui/properties_render/__init__.pyi +218 -217
- bl_ui/properties_scene/__init__.pyi +144 -143
- bl_ui/properties_texture/__init__.pyi +157 -156
- bl_ui/properties_view_layer/__init__.pyi +79 -78
- bl_ui/properties_workspace/__init__.pyi +65 -64
- bl_ui/properties_world/__init__.pyi +13 -12
- bl_ui/space_clip/__init__.pyi +367 -366
- bl_ui/space_console/__init__.pyi +1 -0
- bl_ui/space_dopesheet/__init__.pyi +177 -176
- bl_ui/space_filebrowser/__init__.pyi +736 -735
- bl_ui/space_graph/__init__.pyi +1 -0
- bl_ui/space_image/__init__.pyi +647 -646
- bl_ui/space_info/__init__.pyi +1 -0
- bl_ui/space_nla/__init__.pyi +1 -0
- bl_ui/space_node/__init__.pyi +1 -0
- bl_ui/space_outliner/__init__.pyi +1 -0
- bl_ui/space_properties/__init__.pyi +1 -0
- bl_ui/space_sequencer/__init__.pyi +842 -389
- bl_ui/space_spreadsheet/__init__.pyi +1 -0
- bl_ui/space_statusbar/__init__.pyi +1 -0
- bl_ui/space_text/__init__.pyi +1 -0
- bl_ui/space_time/__init__.pyi +12 -11
- bl_ui/space_toolsystem_common/__init__.pyi +1 -0
- bl_ui/space_toolsystem_toolbar/__init__.pyi +1 -0
- bl_ui/space_topbar/__init__.pyi +1 -0
- bl_ui/space_userpref/__init__.pyi +685 -684
- bl_ui/space_view3d/__init__.pyi +1153 -1152
- bl_ui/space_view3d_toolbar/__init__.pyi +2832 -2831
- bl_ui/temp_anim_layers/__init__.pyi +1 -0
- bl_ui/utils/__init__.pyi +1 -0
- bl_ui_utils/__init__.pyi +1 -0
- bl_ui_utils/bug_report_url/__init__.pyi +1 -0
- bl_ui_utils/layout/__init__.pyi +1 -0
- blend_render_info/__init__.pyi +1 -0
- blf/__init__.pyi +1 -0
- bmesh/__init__.pyi +1 -0
- bmesh/geometry/__init__.pyi +1 -0
- bmesh/ops/__init__.pyi +1 -0
- bmesh/types/__init__.pyi +1 -0
- bmesh/utils/__init__.pyi +1 -0
- bpy/__init__.pyi +1 -0
- bpy/app/__init__.pyi +1 -0
- bpy/app/handlers/__init__.pyi +1 -0
- bpy/app/icons/__init__.pyi +1 -0
- bpy/app/timers/__init__.pyi +1 -0
- bpy/app/translations/__init__.pyi +1 -0
- bpy/msgbus/__init__.pyi +1 -0
- bpy/ops/__init__.pyi +1 -0
- bpy/ops/action/__init__.pyi +1 -0
- bpy/ops/anim/__init__.pyi +15 -14
- bpy/ops/armature/__init__.pyi +1 -0
- bpy/ops/asset/__init__.pyi +1 -0
- bpy/ops/boid/__init__.pyi +1 -0
- bpy/ops/brush/__init__.pyi +1 -0
- bpy/ops/buttons/__init__.pyi +1 -0
- bpy/ops/cachefile/__init__.pyi +1 -0
- bpy/ops/camera/__init__.pyi +1 -0
- bpy/ops/clip/__init__.pyi +1 -0
- bpy/ops/cloth/__init__.pyi +1 -0
- bpy/ops/collection/__init__.pyi +1 -0
- bpy/ops/console/__init__.pyi +1 -0
- bpy/ops/constraint/__init__.pyi +1 -0
- bpy/ops/curve/__init__.pyi +1 -0
- bpy/ops/curves/__init__.pyi +1 -0
- bpy/ops/cycles/__init__.pyi +1 -0
- bpy/ops/dpaint/__init__.pyi +1 -0
- bpy/ops/ed/__init__.pyi +1 -0
- bpy/ops/export_anim/__init__.pyi +1 -0
- bpy/ops/export_scene/__init__.pyi +1 -0
- bpy/ops/extensions/__init__.pyi +1 -0
- bpy/ops/file/__init__.pyi +1 -0
- bpy/ops/fluid/__init__.pyi +1 -0
- bpy/ops/font/__init__.pyi +1 -0
- bpy/ops/geometry/__init__.pyi +1 -0
- bpy/ops/gizmogroup/__init__.pyi +1 -0
- bpy/ops/gpencil/__init__.pyi +1 -0
- bpy/ops/graph/__init__.pyi +1 -0
- bpy/ops/grease_pencil/__init__.pyi +19 -0
- bpy/ops/image/__init__.pyi +1 -0
- bpy/ops/import_anim/__init__.pyi +1 -0
- bpy/ops/import_curve/__init__.pyi +1 -0
- bpy/ops/import_scene/__init__.pyi +1 -0
- bpy/ops/info/__init__.pyi +1 -0
- bpy/ops/lattice/__init__.pyi +1 -0
- bpy/ops/marker/__init__.pyi +1 -0
- bpy/ops/mask/__init__.pyi +1 -0
- bpy/ops/material/__init__.pyi +1 -0
- bpy/ops/mball/__init__.pyi +1 -0
- bpy/ops/mesh/__init__.pyi +7 -2
- bpy/ops/nla/__init__.pyi +1 -0
- bpy/ops/node/__init__.pyi +1 -0
- bpy/ops/object/__init__.pyi +2 -1
- bpy/ops/outliner/__init__.pyi +1 -0
- bpy/ops/paint/__init__.pyi +1 -0
- bpy/ops/paintcurve/__init__.pyi +1 -0
- bpy/ops/palette/__init__.pyi +1 -0
- bpy/ops/particle/__init__.pyi +1 -0
- bpy/ops/pose/__init__.pyi +1 -0
- bpy/ops/poselib/__init__.pyi +1 -0
- bpy/ops/preferences/__init__.pyi +1 -0
- bpy/ops/ptcache/__init__.pyi +1 -0
- bpy/ops/render/__init__.pyi +1 -0
- bpy/ops/rigidbody/__init__.pyi +1 -0
- bpy/ops/scene/__init__.pyi +1 -0
- bpy/ops/screen/__init__.pyi +1 -0
- bpy/ops/script/__init__.pyi +1 -0
- bpy/ops/sculpt/__init__.pyi +1 -0
- bpy/ops/sculpt_curves/__init__.pyi +1 -0
- bpy/ops/sequencer/__init__.pyi +1 -0
- bpy/ops/sound/__init__.pyi +1 -0
- bpy/ops/spreadsheet/__init__.pyi +1 -0
- bpy/ops/surface/__init__.pyi +1 -0
- bpy/ops/text/__init__.pyi +1 -0
- bpy/ops/text_editor/__init__.pyi +1 -0
- bpy/ops/texture/__init__.pyi +1 -0
- bpy/ops/transform/__init__.pyi +17 -16
- bpy/ops/ui/__init__.pyi +1 -0
- bpy/ops/uilist/__init__.pyi +1 -0
- bpy/ops/uv/__init__.pyi +1 -0
- bpy/ops/view2d/__init__.pyi +1 -0
- bpy/ops/view3d/__init__.pyi +1 -0
- bpy/ops/wm/__init__.pyi +5 -4
- bpy/ops/workspace/__init__.pyi +1 -0
- bpy/ops/world/__init__.pyi +1 -0
- bpy/path/__init__.pyi +1 -0
- bpy/props/__init__.pyi +1 -0
- bpy/types/__init__.pyi +68824 -68756
- bpy/utils/__init__.pyi +1 -0
- bpy/utils/previews/__init__.pyi +1 -0
- bpy/utils/units/__init__.pyi +1 -0
- bpy_extras/__init__.pyi +1 -0
- bpy_extras/anim_utils/__init__.pyi +1 -0
- bpy_extras/asset_utils/__init__.pyi +1 -0
- bpy_extras/bmesh_utils/__init__.pyi +1 -0
- bpy_extras/id_map_utils/__init__.pyi +1 -0
- bpy_extras/image_utils/__init__.pyi +1 -0
- bpy_extras/io_utils/__init__.pyi +1 -0
- bpy_extras/keyconfig_utils/__init__.pyi +1 -0
- bpy_extras/mesh_utils/__init__.pyi +1 -0
- bpy_extras/node_shader_utils/__init__.pyi +1 -0
- bpy_extras/node_utils/__init__.pyi +1 -0
- bpy_extras/object_utils/__init__.pyi +1 -0
- bpy_extras/view3d_utils/__init__.pyi +1 -0
- bpy_extras/wm_utils/__init__.pyi +1 -0
- bpy_extras/wm_utils/progress_report/__init__.pyi +1 -0
- bpy_restrict_state/__init__.pyi +1 -0
- bpy_types/__init__.pyi +1 -0
- console_python/__init__.pyi +1 -0
- console_shell/__init__.pyi +1 -0
- {fake_bpy_module-20240705.dist-info → fake_bpy_module-20240707.dist-info}/METADATA +1 -1
- fake_bpy_module-20240707.dist-info/RECORD +358 -0
- freestyle/__init__.pyi +1 -0
- freestyle/chainingiterators/__init__.pyi +1 -0
- freestyle/functions/__init__.pyi +1 -0
- freestyle/predicates/__init__.pyi +1 -0
- freestyle/shaders/__init__.pyi +1 -0
- freestyle/types/__init__.pyi +1 -0
- freestyle/utils/ContextFunctions/__init__.pyi +1 -0
- freestyle/utils/__init__.pyi +2 -1
- gpu/__init__.pyi +1 -0
- gpu/capabilities/__init__.pyi +1 -0
- gpu/matrix/__init__.pyi +1 -0
- gpu/platform/__init__.pyi +1 -0
- gpu/select/__init__.pyi +1 -0
- gpu/shader/__init__.pyi +1 -0
- gpu/state/__init__.pyi +1 -0
- gpu/texture/__init__.pyi +1 -0
- gpu/types/__init__.pyi +1 -0
- gpu_extras/__init__.pyi +1 -0
- gpu_extras/batch/__init__.pyi +1 -0
- gpu_extras/presets/__init__.pyi +1 -0
- graphviz_export/__init__.pyi +1 -0
- idprop/__init__.pyi +1 -0
- idprop/types/__init__.pyi +1 -0
- imbuf/__init__.pyi +1 -0
- imbuf/types/__init__.pyi +1 -0
- keyingsets_builtins/__init__.pyi +88 -87
- keyingsets_utils/__init__.pyi +1 -0
- mathutils/__init__.pyi +157 -6
- mathutils/bvhtree/__init__.pyi +1 -0
- mathutils/geometry/__init__.pyi +1 -0
- mathutils/interpolate/__init__.pyi +1 -0
- mathutils/kdtree/__init__.pyi +1 -0
- mathutils/noise/__init__.pyi +1 -0
- nodeitems_builtins/__init__.pyi +8 -7
- nodeitems_utils/__init__.pyi +1 -0
- rna_info/__init__.pyi +1 -0
- rna_keymap_ui/__init__.pyi +1 -0
- rna_prop_ui/__init__.pyi +1 -0
- rna_xml/__init__.pyi +1 -0
- sys_info/__init__.pyi +1 -0
- fake_bpy_module-20240705.dist-info/RECORD +0 -358
- {fake_bpy_module-20240705.dist-info → fake_bpy_module-20240707.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240705.dist-info → fake_bpy_module-20240707.dist-info}/top_level.txt +0 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import collections.abc
|
|
3
|
+
import typing_extensions
|
|
3
4
|
import bpy.types
|
|
4
5
|
import bpy_types
|
|
5
6
|
import rna_prop_ui
|
|
@@ -7,20 +8,14 @@ import rna_prop_ui
|
|
|
7
8
|
GenericType1 = typing.TypeVar("GenericType1")
|
|
8
9
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
9
10
|
|
|
10
|
-
class DataButtonsPanel:
|
|
11
|
+
class DATA_PT_context_volume(DataButtonsPanel, bpy_types._GenericUI):
|
|
12
|
+
COMPAT_ENGINES: typing.Any
|
|
11
13
|
bl_context: typing.Any
|
|
14
|
+
bl_label: typing.Any
|
|
15
|
+
bl_options: typing.Any
|
|
12
16
|
bl_region_type: typing.Any
|
|
13
|
-
bl_space_type: typing.Any
|
|
14
|
-
|
|
15
|
-
def poll(self, context):
|
|
16
|
-
"""
|
|
17
|
-
|
|
18
|
-
:param context:
|
|
19
|
-
"""
|
|
20
|
-
...
|
|
21
|
-
|
|
22
|
-
class VOLUME_UL_grids(bpy_types._GenericUI):
|
|
23
17
|
bl_rna: typing.Any
|
|
18
|
+
bl_space_type: typing.Any
|
|
24
19
|
id_data: typing.Any
|
|
25
20
|
|
|
26
21
|
def append(self, draw_func):
|
|
@@ -55,27 +50,10 @@ class VOLUME_UL_grids(bpy_types._GenericUI):
|
|
|
55
50
|
"""
|
|
56
51
|
...
|
|
57
52
|
|
|
58
|
-
def
|
|
59
|
-
self,
|
|
60
|
-
_context,
|
|
61
|
-
layout,
|
|
62
|
-
_data,
|
|
63
|
-
grid,
|
|
64
|
-
_icon,
|
|
65
|
-
_active_data,
|
|
66
|
-
_active_propname,
|
|
67
|
-
_index,
|
|
68
|
-
):
|
|
53
|
+
def draw(self, context):
|
|
69
54
|
"""
|
|
70
55
|
|
|
71
|
-
:param
|
|
72
|
-
:param layout:
|
|
73
|
-
:param _data:
|
|
74
|
-
:param grid:
|
|
75
|
-
:param _icon:
|
|
76
|
-
:param _active_data:
|
|
77
|
-
:param _active_propname:
|
|
78
|
-
:param _index:
|
|
56
|
+
:param context:
|
|
79
57
|
"""
|
|
80
58
|
...
|
|
81
59
|
|
|
@@ -201,6 +179,13 @@ class VOLUME_UL_grids(bpy_types._GenericUI):
|
|
|
201
179
|
"""Returns the property from the path, raise an exception when not found."""
|
|
202
180
|
...
|
|
203
181
|
|
|
182
|
+
def poll(self, context):
|
|
183
|
+
"""
|
|
184
|
+
|
|
185
|
+
:param context:
|
|
186
|
+
"""
|
|
187
|
+
...
|
|
188
|
+
|
|
204
189
|
def pop(self):
|
|
205
190
|
"""Remove and return the value of the custom property assigned to key or default
|
|
206
191
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -251,11 +236,18 @@ class VOLUME_UL_grids(bpy_types._GenericUI):
|
|
|
251
236
|
"""
|
|
252
237
|
...
|
|
253
238
|
|
|
254
|
-
class
|
|
239
|
+
class DATA_PT_custom_props_volume(
|
|
240
|
+
DataButtonsPanel, rna_prop_ui.PropertyPanel, bpy_types._GenericUI
|
|
241
|
+
):
|
|
242
|
+
"""The subclass should have its own poll function
|
|
243
|
+
and the variable '_context_path' MUST be set.
|
|
244
|
+
"""
|
|
245
|
+
|
|
255
246
|
COMPAT_ENGINES: typing.Any
|
|
256
247
|
bl_context: typing.Any
|
|
257
248
|
bl_label: typing.Any
|
|
258
249
|
bl_options: typing.Any
|
|
250
|
+
bl_order: typing.Any
|
|
259
251
|
bl_region_type: typing.Any
|
|
260
252
|
bl_rna: typing.Any
|
|
261
253
|
bl_space_type: typing.Any
|
|
@@ -479,18 +471,10 @@ class DATA_PT_context_volume(DataButtonsPanel, bpy_types._GenericUI):
|
|
|
479
471
|
"""
|
|
480
472
|
...
|
|
481
473
|
|
|
482
|
-
class
|
|
483
|
-
DataButtonsPanel, rna_prop_ui.PropertyPanel, bpy_types._GenericUI
|
|
484
|
-
):
|
|
485
|
-
"""The subclass should have its own poll function
|
|
486
|
-
and the variable '_context_path' MUST be set.
|
|
487
|
-
"""
|
|
488
|
-
|
|
474
|
+
class DATA_PT_volume_file(DataButtonsPanel, bpy_types._GenericUI):
|
|
489
475
|
COMPAT_ENGINES: typing.Any
|
|
490
476
|
bl_context: typing.Any
|
|
491
477
|
bl_label: typing.Any
|
|
492
|
-
bl_options: typing.Any
|
|
493
|
-
bl_order: typing.Any
|
|
494
478
|
bl_region_type: typing.Any
|
|
495
479
|
bl_rna: typing.Any
|
|
496
480
|
bl_space_type: typing.Any
|
|
@@ -714,7 +698,7 @@ class DATA_PT_custom_props_volume(
|
|
|
714
698
|
"""
|
|
715
699
|
...
|
|
716
700
|
|
|
717
|
-
class
|
|
701
|
+
class DATA_PT_volume_grids(DataButtonsPanel, bpy_types._GenericUI):
|
|
718
702
|
COMPAT_ENGINES: typing.Any
|
|
719
703
|
bl_context: typing.Any
|
|
720
704
|
bl_label: typing.Any
|
|
@@ -941,7 +925,7 @@ class DATA_PT_volume_file(DataButtonsPanel, bpy_types._GenericUI):
|
|
|
941
925
|
"""
|
|
942
926
|
...
|
|
943
927
|
|
|
944
|
-
class
|
|
928
|
+
class DATA_PT_volume_render(DataButtonsPanel, bpy_types._GenericUI):
|
|
945
929
|
COMPAT_ENGINES: typing.Any
|
|
946
930
|
bl_context: typing.Any
|
|
947
931
|
bl_label: typing.Any
|
|
@@ -1168,7 +1152,7 @@ class DATA_PT_volume_grids(DataButtonsPanel, bpy_types._GenericUI):
|
|
|
1168
1152
|
"""
|
|
1169
1153
|
...
|
|
1170
1154
|
|
|
1171
|
-
class
|
|
1155
|
+
class DATA_PT_volume_viewport_display(DataButtonsPanel, bpy_types._GenericUI):
|
|
1172
1156
|
COMPAT_ENGINES: typing.Any
|
|
1173
1157
|
bl_context: typing.Any
|
|
1174
1158
|
bl_label: typing.Any
|
|
@@ -1395,10 +1379,11 @@ class DATA_PT_volume_render(DataButtonsPanel, bpy_types._GenericUI):
|
|
|
1395
1379
|
"""
|
|
1396
1380
|
...
|
|
1397
1381
|
|
|
1398
|
-
class
|
|
1382
|
+
class DATA_PT_volume_viewport_display_slicing(DataButtonsPanel, bpy_types._GenericUI):
|
|
1399
1383
|
COMPAT_ENGINES: typing.Any
|
|
1400
1384
|
bl_context: typing.Any
|
|
1401
1385
|
bl_label: typing.Any
|
|
1386
|
+
bl_parent_id: typing.Any
|
|
1402
1387
|
bl_region_type: typing.Any
|
|
1403
1388
|
bl_rna: typing.Any
|
|
1404
1389
|
bl_space_type: typing.Any
|
|
@@ -1443,6 +1428,13 @@ class DATA_PT_volume_viewport_display(DataButtonsPanel, bpy_types._GenericUI):
|
|
|
1443
1428
|
"""
|
|
1444
1429
|
...
|
|
1445
1430
|
|
|
1431
|
+
def draw_header(self, context):
|
|
1432
|
+
"""
|
|
1433
|
+
|
|
1434
|
+
:param context:
|
|
1435
|
+
"""
|
|
1436
|
+
...
|
|
1437
|
+
|
|
1446
1438
|
def driver_add(self) -> bpy.types.FCurve:
|
|
1447
1439
|
"""Adds driver(s) to the given property
|
|
1448
1440
|
|
|
@@ -1622,14 +1614,20 @@ class DATA_PT_volume_viewport_display(DataButtonsPanel, bpy_types._GenericUI):
|
|
|
1622
1614
|
"""
|
|
1623
1615
|
...
|
|
1624
1616
|
|
|
1625
|
-
class
|
|
1626
|
-
COMPAT_ENGINES: typing.Any
|
|
1617
|
+
class DataButtonsPanel:
|
|
1627
1618
|
bl_context: typing.Any
|
|
1628
|
-
bl_label: typing.Any
|
|
1629
|
-
bl_parent_id: typing.Any
|
|
1630
1619
|
bl_region_type: typing.Any
|
|
1631
|
-
bl_rna: typing.Any
|
|
1632
1620
|
bl_space_type: typing.Any
|
|
1621
|
+
|
|
1622
|
+
def poll(self, context):
|
|
1623
|
+
"""
|
|
1624
|
+
|
|
1625
|
+
:param context:
|
|
1626
|
+
"""
|
|
1627
|
+
...
|
|
1628
|
+
|
|
1629
|
+
class VOLUME_UL_grids(bpy_types._GenericUI):
|
|
1630
|
+
bl_rna: typing.Any
|
|
1633
1631
|
id_data: typing.Any
|
|
1634
1632
|
|
|
1635
1633
|
def append(self, draw_func):
|
|
@@ -1664,17 +1662,27 @@ class DATA_PT_volume_viewport_display_slicing(DataButtonsPanel, bpy_types._Gener
|
|
|
1664
1662
|
"""
|
|
1665
1663
|
...
|
|
1666
1664
|
|
|
1667
|
-
def
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1665
|
+
def draw_item(
|
|
1666
|
+
self,
|
|
1667
|
+
_context,
|
|
1668
|
+
layout,
|
|
1669
|
+
_data,
|
|
1670
|
+
grid,
|
|
1671
|
+
_icon,
|
|
1672
|
+
_active_data,
|
|
1673
|
+
_active_propname,
|
|
1674
|
+
_index,
|
|
1675
|
+
):
|
|
1675
1676
|
"""
|
|
1676
1677
|
|
|
1677
|
-
:param
|
|
1678
|
+
:param _context:
|
|
1679
|
+
:param layout:
|
|
1680
|
+
:param _data:
|
|
1681
|
+
:param grid:
|
|
1682
|
+
:param _icon:
|
|
1683
|
+
:param _active_data:
|
|
1684
|
+
:param _active_propname:
|
|
1685
|
+
:param _index:
|
|
1678
1686
|
"""
|
|
1679
1687
|
...
|
|
1680
1688
|
|
|
@@ -1800,13 +1808,6 @@ class DATA_PT_volume_viewport_display_slicing(DataButtonsPanel, bpy_types._Gener
|
|
|
1800
1808
|
"""Returns the property from the path, raise an exception when not found."""
|
|
1801
1809
|
...
|
|
1802
1810
|
|
|
1803
|
-
def poll(self, context):
|
|
1804
|
-
"""
|
|
1805
|
-
|
|
1806
|
-
:param context:
|
|
1807
|
-
"""
|
|
1808
|
-
...
|
|
1809
|
-
|
|
1810
1811
|
def pop(self):
|
|
1811
1812
|
"""Remove and return the value of the custom property assigned to key or default
|
|
1812
1813
|
when not found (matches Python's dictionary function of the same name).
|