fake-bpy-module 20240404__py3-none-any.whl → 20240406__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.
- bl_operators/geometry_nodes/__init__.pyi +45 -45
- bl_operators/node/__init__.pyi +9 -9
- bl_ui/properties_data_curve/__init__.pyi +59 -59
- bl_ui/properties_data_mesh/__init__.pyi +96 -96
- bl_ui/properties_freestyle/__init__.pyi +10 -10
- bl_ui/properties_paint_common/__init__.pyi +205 -205
- bl_ui/properties_scene/__init__.pyi +12 -12
- bl_ui/properties_texture/__init__.pyi +12 -12
- bl_ui/space_image/__init__.pyi +893 -893
- bl_ui/space_userpref/__init__.pyi +2 -2
- bl_ui/space_view3d/__init__.pyi +1278 -1099
- bl_ui/space_view3d_toolbar/__init__.pyi +1201 -1201
- bpy/ops/curves/__init__.pyi +62 -0
- bpy/ops/export_scene/__init__.pyi +3 -3
- bpy/ops/nla/__init__.pyi +3 -3
- bpy/ops/sculpt/__init__.pyi +2 -2
- bpy/types/__init__.pyi +38677 -38619
- bpy/utils/previews/__init__.pyi +0 -45
- bpy_types/__init__.pyi +543 -543
- {fake_bpy_module-20240404.dist-info → fake_bpy_module-20240406.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240404.dist-info → fake_bpy_module-20240406.dist-info}/RECORD +23 -23
- {fake_bpy_module-20240404.dist-info → fake_bpy_module-20240406.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240404.dist-info → fake_bpy_module-20240406.dist-info}/top_level.txt +0 -0
bpy/utils/previews/__init__.pyi
CHANGED
|
@@ -3,51 +3,6 @@ import bpy.types
|
|
|
3
3
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
|
-
class ImagePreviewCollection:
|
|
7
|
-
"""Dictionary-like class of previews.This is a subclass of Python's built-in dict type,
|
|
8
|
-
used to store multiple image previews.
|
|
9
|
-
"""
|
|
10
|
-
|
|
11
|
-
def clear(self):
|
|
12
|
-
"""Clear all previews."""
|
|
13
|
-
...
|
|
14
|
-
|
|
15
|
-
def close(self):
|
|
16
|
-
"""Close the collection and clear all previews."""
|
|
17
|
-
...
|
|
18
|
-
|
|
19
|
-
def load(
|
|
20
|
-
self,
|
|
21
|
-
name: str,
|
|
22
|
-
filepath: typing.Union[str, bytes],
|
|
23
|
-
filetype: str,
|
|
24
|
-
force_reload: bool = False,
|
|
25
|
-
) -> bool:
|
|
26
|
-
"""Generate a new preview from given file path.
|
|
27
|
-
|
|
28
|
-
:param name: The name (unique id) identifying the preview.
|
|
29
|
-
:type name: str
|
|
30
|
-
:param filepath: The file path to generate the preview from.
|
|
31
|
-
:type filepath: typing.Union[str, bytes]
|
|
32
|
-
:param filetype: The type of file, needed to generate the preview in ['IMAGE', 'MOVIE', 'BLEND', 'FONT'].
|
|
33
|
-
:type filetype: str
|
|
34
|
-
:param force_reload: If True, force running thumbnail manager even if preview already exists in cache.
|
|
35
|
-
:type force_reload: bool
|
|
36
|
-
:return: The Preview matching given name, or a new empty one.
|
|
37
|
-
:rtype: bpy.types.ImagePreview
|
|
38
|
-
"""
|
|
39
|
-
...
|
|
40
|
-
|
|
41
|
-
def new(self, name: str) -> str:
|
|
42
|
-
"""Generate a new empty preview.
|
|
43
|
-
|
|
44
|
-
:param name: The name (unique id) identifying the preview.
|
|
45
|
-
:type name: str
|
|
46
|
-
:return: The Preview matching given name, or a new empty one.
|
|
47
|
-
:rtype: bpy.types.ImagePreview
|
|
48
|
-
"""
|
|
49
|
-
...
|
|
50
|
-
|
|
51
6
|
class ImagePreviewCollection:
|
|
52
7
|
""" """
|
|
53
8
|
|