blender-python-stubs 5.0.1.1__tar.gz → 5.0.1.2__tar.gz

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.
Files changed (79) hide show
  1. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/PKG-INFO +1 -1
  2. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/bpy/types/__init__.pyi +52 -52
  3. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/pyproject.toml +1 -1
  4. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/.gitignore +0 -0
  5. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/.python-version +0 -0
  6. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/LICENSE +0 -0
  7. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/README.md +0 -0
  8. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/aud/__init__.pyi +0 -0
  9. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/aud/py.typed +0 -0
  10. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/bl_math/__init__.pyi +0 -0
  11. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/bl_math/py.typed +0 -0
  12. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/blf/__init__.pyi +0 -0
  13. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/blf/py.typed +0 -0
  14. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/bmesh/__init__.pyi +0 -0
  15. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/bmesh/geometry/__init__.pyi +0 -0
  16. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/bmesh/ops/__init__.pyi +0 -0
  17. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/bmesh/py.typed +0 -0
  18. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/bmesh/types/__init__.pyi +0 -0
  19. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/bmesh/utils/__init__.pyi +0 -0
  20. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/bpy/__init__.pyi +0 -0
  21. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/bpy/app/__init__.pyi +0 -0
  22. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/bpy/msgbus/__init__.pyi +0 -0
  23. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/bpy/ops/__init__.pyi +0 -0
  24. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/bpy/path/__init__.pyi +0 -0
  25. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/bpy/props/__init__.pyi +0 -0
  26. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/bpy/py.typed +0 -0
  27. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/bpy/utils/__init__.pyi +0 -0
  28. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/bpy/utils/previews/__init__.pyi +0 -0
  29. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/bpy/utils/toolsystem/__init__.pyi +0 -0
  30. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/bpy_extras/__init__.pyi +0 -0
  31. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/bpy_extras/anim_utils/__init__.pyi +0 -0
  32. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/bpy_extras/asset_utils/__init__.pyi +0 -0
  33. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/bpy_extras/bmesh_utils/__init__.pyi +0 -0
  34. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/bpy_extras/id_map_utils/__init__.pyi +0 -0
  35. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/bpy_extras/image_utils/__init__.pyi +0 -0
  36. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/bpy_extras/io_utils/__init__.pyi +0 -0
  37. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/bpy_extras/keyconfig_utils/__init__.pyi +0 -0
  38. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/bpy_extras/mesh_utils/__init__.pyi +0 -0
  39. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/bpy_extras/node_shader_utils/__init__.pyi +0 -0
  40. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/bpy_extras/node_utils/__init__.pyi +0 -0
  41. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/bpy_extras/object_utils/__init__.pyi +0 -0
  42. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/bpy_extras/py.typed +0 -0
  43. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/bpy_extras/view3d_utils/__init__.pyi +0 -0
  44. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/freestyle/__init__.pyi +0 -0
  45. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/freestyle/chainingiterators/__init__.pyi +0 -0
  46. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/freestyle/functions/__init__.pyi +0 -0
  47. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/freestyle/predicates/__init__.pyi +0 -0
  48. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/freestyle/py.typed +0 -0
  49. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/freestyle/shaders/__init__.pyi +0 -0
  50. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/freestyle/types/__init__.pyi +0 -0
  51. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/freestyle/utils/__init__.pyi +0 -0
  52. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/gpu/__init__.pyi +0 -0
  53. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/gpu/capabilities/__init__.pyi +0 -0
  54. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/gpu/compute/__init__.pyi +0 -0
  55. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/gpu/matrix/__init__.pyi +0 -0
  56. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/gpu/platform/__init__.pyi +0 -0
  57. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/gpu/py.typed +0 -0
  58. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/gpu/select/__init__.pyi +0 -0
  59. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/gpu/shader/__init__.pyi +0 -0
  60. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/gpu/state/__init__.pyi +0 -0
  61. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/gpu/texture/__init__.pyi +0 -0
  62. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/gpu/types/__init__.pyi +0 -0
  63. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/gpu_extras/__init__.pyi +0 -0
  64. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/gpu_extras/batch/__init__.pyi +0 -0
  65. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/gpu_extras/presets/__init__.pyi +0 -0
  66. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/gpu_extras/py.typed +0 -0
  67. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/idprop/__init__.pyi +0 -0
  68. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/idprop/py.typed +0 -0
  69. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/idprop/types/__init__.pyi +0 -0
  70. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/imbuf/__init__.pyi +0 -0
  71. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/imbuf/py.typed +0 -0
  72. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/imbuf/types/__init__.pyi +0 -0
  73. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/mathutils/__init__.pyi +0 -0
  74. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/mathutils/bvhtree/__init__.pyi +0 -0
  75. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/mathutils/geometry/__init__.pyi +0 -0
  76. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/mathutils/interpolate/__init__.pyi +0 -0
  77. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/mathutils/kdtree/__init__.pyi +0 -0
  78. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/mathutils/noise/__init__.pyi +0 -0
  79. {blender_python_stubs-5.0.1.1 → blender_python_stubs-5.0.1.2}/mathutils/py.typed +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: blender-python-stubs
3
- Version: 5.0.1.1
3
+ Version: 5.0.1.2
4
4
  Summary: Type stubs for Blender 5.0 Python API
5
5
  Project-URL: Homepage, https://git.autourdeminuit.com/autour_de_minuit/blender-python-stubs
6
6
  Project-URL: Issues, https://git.autourdeminuit.com/autour_de_minuit/blender-python-stubs/issues
@@ -443,7 +443,7 @@ class ID(bpy_struct):
443
443
  def animation_data_clear(self) -> None:
444
444
  """Clear animation on this ID"""
445
445
 
446
- def update_tag(self, refresh: str | None = None) -> None:
446
+ def update_tag(self, refresh: set[str] | None = None) -> None:
447
447
  """Tag the ID to update its display data, e.g. when calling :class:`Scene.update`"""
448
448
 
449
449
  def preview_ensure(self) -> ImagePreview:
@@ -1757,7 +1757,7 @@ class AssetShelf(bpy_struct):
1757
1757
  bl_space_type: str
1758
1758
  """The space where the asset shelf will show up in. Ignored for popup asset shelves which can be displayed in any space."""
1759
1759
 
1760
- bl_options: str
1760
+ bl_options: set[str]
1761
1761
  """Options for this asset shelf type"""
1762
1762
 
1763
1763
  bl_activate_operator: str
@@ -2071,7 +2071,7 @@ class KeyingSetInfo(bpy_struct):
2071
2071
  bl_description: str
2072
2072
  """A short description of the keying set"""
2073
2073
 
2074
- bl_options: str
2074
+ bl_options: set[str]
2075
2075
  """Keying Set options to use when inserting keyframes"""
2076
2076
 
2077
2077
  def poll(self, context: Context) -> bool:
@@ -2176,7 +2176,7 @@ class BakeSettings(bpy_struct):
2176
2176
  """Add transmission contribution"""
2177
2177
 
2178
2178
  @property
2179
- def pass_filter(self) -> str:
2179
+ def pass_filter(self) -> set[str]:
2180
2180
  """Passes to include in the active baking pass"""
2181
2181
  use_multires: bool
2182
2182
  """Bake directly from multires object"""
@@ -2203,9 +2203,9 @@ class BatchRenameAction(PropertyGroup):
2203
2203
 
2204
2204
  set_method: str
2205
2205
 
2206
- strip_chars: str
2206
+ strip_chars: set[str]
2207
2207
 
2208
- strip_part: str
2208
+ strip_part: set[str]
2209
2209
 
2210
2210
  replace_src: str
2211
2211
 
@@ -3296,7 +3296,7 @@ class BlendImportContext(bpy_struct):
3296
3296
  @property
3297
3297
  def import_items(self) -> BlendImportContextItems: ...
3298
3298
  @property
3299
- def options(self) -> str:
3299
+ def options(self) -> set[str]:
3300
3300
  """Options for this blendfile import operation"""
3301
3301
 
3302
3302
  @property
@@ -3323,7 +3323,7 @@ class BlendImportContextItem(bpy_struct):
3323
3323
  """How this item has been handled by the append operation. Only set if the data has been appended"""
3324
3324
 
3325
3325
  @property
3326
- def import_info(self) -> str:
3326
+ def import_info(self) -> set[str]:
3327
3327
  """Various status info about an item after it has been imported"""
3328
3328
 
3329
3329
  @property
@@ -4030,7 +4030,7 @@ class Property(bpy_struct):
4030
4030
  """The Blender version this is expected to be removed"""
4031
4031
 
4032
4032
  @property
4033
- def tags(self) -> str:
4033
+ def tags(self) -> set[str]:
4034
4034
  """Subset of tags (defined in parent struct) that are set for this property"""
4035
4035
 
4036
4036
  class BoolProperty(Property):
@@ -4083,7 +4083,7 @@ class BooleanModifier(Modifier):
4083
4083
  material_mode: str
4084
4084
  """Method for setting materials on the new faces"""
4085
4085
 
4086
- debug_options: str
4086
+ debug_options: set[str]
4087
4087
  """Debugging options, only when started with '-d'"""
4088
4088
 
4089
4089
  class StripModifier(bpy_struct):
@@ -5491,7 +5491,7 @@ class RenderEngine(bpy_struct):
5491
5491
  ) -> None:
5492
5492
  """Update memory usage statistics"""
5493
5493
 
5494
- def report(self, type: str, message: str) -> None:
5494
+ def report(self, type: set[str], message: str) -> None:
5495
5495
  """Report info, warning or error messages"""
5496
5496
 
5497
5497
  def error_set(self, message: str) -> None:
@@ -6272,7 +6272,7 @@ class ClothSolverResult(bpy_struct):
6272
6272
  """Result of cloth solver iteration"""
6273
6273
 
6274
6274
  @property
6275
- def status(self) -> str:
6275
+ def status(self) -> set[str]:
6276
6276
  """Status of the solver iteration"""
6277
6277
 
6278
6278
  @property
@@ -10224,16 +10224,16 @@ class DataTransferModifier(Modifier):
10224
10224
  use_poly_data: bool
10225
10225
  """Enable face data transfer"""
10226
10226
 
10227
- data_types_verts: str
10227
+ data_types_verts: set[str]
10228
10228
  """Which vertex data layers to transfer"""
10229
10229
 
10230
- data_types_edges: str
10230
+ data_types_edges: set[str]
10231
10231
  """Which edge data layers to transfer"""
10232
10232
 
10233
- data_types_loops: str
10233
+ data_types_loops: set[str]
10234
10234
  """Which face corner data layers to transfer"""
10235
10235
 
10236
- data_types_polys: str
10236
+ data_types_polys: set[str]
10237
10237
  """Which face data layers to transfer"""
10238
10238
 
10239
10239
  vert_mapping: str
@@ -10331,7 +10331,7 @@ class DecimateModifier(Modifier):
10331
10331
  use_dissolve_boundaries: bool
10332
10332
  """Dissolve all vertices in between face boundaries (planar only)"""
10333
10333
 
10334
- delimit: str
10334
+ delimit: set[str]
10335
10335
  """Limit merging geometry"""
10336
10336
 
10337
10337
  @property
@@ -11303,7 +11303,7 @@ class EnumProperty(Property):
11303
11303
  """Default value for this enum"""
11304
11304
 
11305
11305
  @property
11306
- def default_flag(self) -> str:
11306
+ def default_flag(self) -> set[str]:
11307
11307
  """Default value for this enum"""
11308
11308
 
11309
11309
  @property
@@ -11594,7 +11594,7 @@ class FCurveKeyframePoints(bpy_prop_collection[Keyframe]):
11594
11594
  self,
11595
11595
  frame: float,
11596
11596
  value: float,
11597
- options: str | None = None,
11597
+ options: set[str] | None = None,
11598
11598
  keyframe_type: str | None = None,
11599
11599
  ) -> Keyframe:
11600
11600
  """Add a keyframe point to a F-Curve"""
@@ -15021,7 +15021,7 @@ class GeometryNodeCurveHandleTypeSelection(GeometryNode):
15021
15021
 
15022
15022
  handle_type: str
15023
15023
 
15024
- mode: str
15024
+ mode: set[str]
15025
15025
  """Whether to check the type of left and right handles"""
15026
15026
 
15027
15027
  @override
@@ -15165,7 +15165,7 @@ class GeometryNodeCurveSetHandles(GeometryNode):
15165
15165
 
15166
15166
  handle_type: str
15167
15167
 
15168
- mode: str
15168
+ mode: set[str]
15169
15169
  """Whether to update left and right handles"""
15170
15170
 
15171
15171
  @override
@@ -19083,9 +19083,9 @@ class Gizmo(bpy_struct):
19083
19083
  def draw(self, context: Context) -> None: ...
19084
19084
  def draw_select(self, context: Context, select_id: int | None = None) -> None: ...
19085
19085
  def test_select(self, context: Context, location: bpy_prop_array[int]) -> int: ...
19086
- def modal(self, context: Context, event: Event, tweak: str) -> str: ...
19086
+ def modal(self, context: Context, event: Event, tweak: set[str]) -> set[str]: ...
19087
19087
  def setup(self) -> None: ...
19088
- def invoke(self, context: Context, event: Event) -> str: ...
19088
+ def invoke(self, context: Context, event: Event) -> set[str]: ...
19089
19089
  def exit(self, context: Context, cancel: bool) -> None: ...
19090
19090
  def select_refresh(self) -> None: ...
19091
19091
  def draw_preset_box(
@@ -19142,7 +19142,7 @@ class GizmoGroup(bpy_struct):
19142
19142
 
19143
19143
  bl_owner_id: str
19144
19144
 
19145
- bl_options: str
19145
+ bl_options: set[str]
19146
19146
  """Options for this operator type"""
19147
19147
 
19148
19148
  @property
@@ -21703,7 +21703,7 @@ class IDOverrideLibraryPropertyOperation(bpy_struct):
21703
21703
  """What override operation is performed"""
21704
21704
 
21705
21705
  @property
21706
- def flag(self) -> str:
21706
+ def flag(self) -> set[str]:
21707
21707
  """Status flags"""
21708
21708
 
21709
21709
  @property
@@ -22529,8 +22529,8 @@ class KeyConfigurations(bpy_prop_collection[KeyConfig]):
22529
22529
  idname: str,
22530
22530
  context: str | None = None,
22531
22531
  properties: OperatorProperties | None = None,
22532
- include: str | None = None,
22533
- exclude: str | None = None,
22532
+ include: set[str] | None = None,
22533
+ exclude: set[str] | None = None,
22534
22534
  ) -> tuple[KeyMap, KeyMapItem]:
22535
22535
  """find_item_from_operator"""
22536
22536
 
@@ -22722,8 +22722,8 @@ class KeyMapItems(bpy_prop_collection[KeyMapItem]):
22722
22722
  self,
22723
22723
  idname: str,
22724
22724
  properties: OperatorProperties | None = None,
22725
- include: str | None = None,
22726
- exclude: str | None = None,
22725
+ include: set[str] | None = None,
22726
+ exclude: set[str] | None = None,
22727
22727
  ) -> KeyMapItem:
22728
22728
  """find_from_operator"""
22729
22729
 
@@ -24842,13 +24842,13 @@ class Macro(bpy_struct):
24842
24842
 
24843
24843
  bl_undo_group: str
24844
24844
 
24845
- bl_options: str
24845
+ bl_options: set[str]
24846
24846
  """Options for this operator type"""
24847
24847
 
24848
24848
  bl_cursor_pending: str
24849
24849
  """Cursor to use when waiting for the user to select a location to activate the operator (when ``bl_options`` has ``DEPENDS_ON_CURSOR`` set)"""
24850
24850
 
24851
- def report(self, type: str, message: str) -> None:
24851
+ def report(self, type: set[str], message: str) -> None:
24852
24852
  """report"""
24853
24853
 
24854
24854
  @classmethod
@@ -25455,7 +25455,7 @@ class Menu(bpy_struct):
25455
25455
 
25456
25456
  bl_owner_id: str
25457
25457
 
25458
- bl_options: str
25458
+ bl_options: set[str]
25459
25459
  """Options for this menu type"""
25460
25460
 
25461
25461
  @classmethod
@@ -25991,7 +25991,7 @@ class MeshSequenceCacheModifier(Modifier):
25991
25991
  object_path: str
25992
25992
  """Path to the object in the Alembic archive used to lookup geometric data"""
25993
25993
 
25994
- read_data: str
25994
+ read_data: set[str]
25995
25995
  """Data to read from the cache"""
25996
25996
 
25997
25997
  use_vertex_interpolation: bool
@@ -31632,7 +31632,7 @@ class Operator(bpy_struct):
31632
31632
 
31633
31633
  bl_undo_group: str
31634
31634
 
31635
- bl_options: str
31635
+ bl_options: set[str]
31636
31636
  """Options for this operator type"""
31637
31637
 
31638
31638
  bl_cursor_pending: str
@@ -31646,7 +31646,7 @@ class Operator(bpy_struct):
31646
31646
 
31647
31647
  @property
31648
31648
  def macros(self) -> bpy_prop_collection[Macro]: ...
31649
- def report(self, type: str, message: str) -> None:
31649
+ def report(self, type: set[str], message: str) -> None:
31650
31650
  """report"""
31651
31651
 
31652
31652
  def is_repeat(self) -> bool:
@@ -31656,16 +31656,16 @@ class Operator(bpy_struct):
31656
31656
  def poll(cls, context: Context) -> bool:
31657
31657
  """Test if the operator can be called or not"""
31658
31658
 
31659
- def execute(self, context: Context) -> str:
31659
+ def execute(self, context: Context) -> set[str]:
31660
31660
  """Execute the operator"""
31661
31661
 
31662
31662
  def check(self, context: Context) -> bool:
31663
31663
  """Check the operator settings, return True to signal a change to redraw"""
31664
31664
 
31665
- def invoke(self, context: Context, event: Event) -> str:
31665
+ def invoke(self, context: Context, event: Event) -> set[str]:
31666
31666
  """Invoke the operator"""
31667
31667
 
31668
- def modal(self, context: Context, event: Event) -> str:
31668
+ def modal(self, context: Context, event: Event) -> set[str]:
31669
31669
  """Modal operator function"""
31670
31670
 
31671
31671
  def draw(self, context: Context) -> None:
@@ -31878,7 +31878,7 @@ class Panel(bpy_struct):
31878
31878
  bl_context: str
31879
31879
  """The context in which the panel belongs to. (TODO: explain the possible combinations bl_context/bl_region_type/bl_space_type)"""
31880
31880
 
31881
- bl_options: str
31881
+ bl_options: set[str]
31882
31882
  """Options for this panel type"""
31883
31883
 
31884
31884
  bl_parent_id: str
@@ -33734,7 +33734,7 @@ class PreferencesEdit(bpy_struct):
33734
33734
  use_auto_keying_warning: bool
33735
33735
  """Show warning indicators when transforming objects and bones if auto keying is enabled"""
33736
33736
 
33737
- key_insert_channels: str
33737
+ key_insert_channels: set[str]
33738
33738
  """Which channels to insert keys at when no keying set is active"""
33739
33739
 
33740
33740
  use_auto_keyframe_insert_needed: bool
@@ -45140,13 +45140,13 @@ class ToolSettings(bpy_struct):
45140
45140
  snap_angle_increment_3d_precision: float
45141
45141
  """Precision angle used for rotation increments in 3D editors"""
45142
45142
 
45143
- snap_elements: str
45143
+ snap_elements: set[str]
45144
45144
  """Type of element to snap to"""
45145
45145
 
45146
- snap_elements_base: str
45146
+ snap_elements_base: set[str]
45147
45147
  """Type of element for the "Snap Base" to snap to"""
45148
45148
 
45149
- snap_elements_individual: str
45149
+ snap_elements_individual: set[str]
45150
45150
  """Type of element for individual transformed elements to snap to"""
45151
45151
 
45152
45152
  snap_face_nearest_steps: int
@@ -45173,7 +45173,7 @@ class ToolSettings(bpy_struct):
45173
45173
  use_snap_playhead: bool
45174
45174
  """Snap playhead when scrubbing"""
45175
45175
 
45176
- snap_playhead_element: str
45176
+ snap_playhead_element: set[str]
45177
45177
  """Type of element to snap to"""
45178
45178
 
45179
45179
  snap_playhead_frame_step: int
@@ -45185,7 +45185,7 @@ class ToolSettings(bpy_struct):
45185
45185
  playhead_snap_distance: int
45186
45186
  """Maximum distance for snapping in pixels"""
45187
45187
 
45188
- snap_uv_element: str
45188
+ snap_uv_element: set[str]
45189
45189
  """Type of element to snap to"""
45190
45190
 
45191
45191
  snap_target: str
@@ -46945,7 +46945,7 @@ class VertexWeightProximityModifier(Modifier):
46945
46945
  proximity_mode: str
46946
46946
  """Which distances to target object to use"""
46947
46947
 
46948
- proximity_geometry: str
46948
+ proximity_geometry: set[str]
46949
46949
  """Use the shortest computed distance to target object's geometry as weight"""
46950
46950
 
46951
46951
  target: Object
@@ -48272,7 +48272,7 @@ class WindowManager(ID):
48272
48272
  addon_filter: str
48273
48273
  """Filter add-ons by category"""
48274
48274
 
48275
- addon_support: str
48275
+ addon_support: set[str]
48276
48276
  """Display support level"""
48277
48277
 
48278
48278
  poselib_previous_action: Action
@@ -48326,7 +48326,7 @@ class WindowManager(ID):
48326
48326
  """Terminate progress report"""
48327
48327
 
48328
48328
  @classmethod
48329
- def invoke_props_popup(cls, operator: Operator, event: Event) -> str:
48329
+ def invoke_props_popup(cls, operator: Operator, event: Event) -> set[str]:
48330
48330
  """Operator popup invoke (show operator properties and execute it automatically on changes)"""
48331
48331
 
48332
48332
  @classmethod
@@ -48339,7 +48339,7 @@ class WindowManager(ID):
48339
48339
  cancel_default: bool | None = None,
48340
48340
  text_ctxt: str | None = None,
48341
48341
  translate: bool | None = None,
48342
- ) -> str:
48342
+ ) -> set[str]:
48343
48343
  """Operator dialog (non-autoexec popup) invoke (show operator properties and only execute it on click on OK button)"""
48344
48344
 
48345
48345
  @classmethod
@@ -48347,7 +48347,7 @@ class WindowManager(ID):
48347
48347
  """Operator search popup invoke which searches values of the operator's :class:`Operator.bl_property` (which must be an EnumProperty), executing it on confirmation"""
48348
48348
 
48349
48349
  @classmethod
48350
- def invoke_popup(cls, operator: Operator, width: int | None = None) -> str:
48350
+ def invoke_popup(cls, operator: Operator, width: int | None = None) -> set[str]:
48351
48351
  """Operator popup invoke (only shows operator's properties, without executing it)"""
48352
48352
 
48353
48353
  @classmethod
@@ -48361,7 +48361,7 @@ class WindowManager(ID):
48361
48361
  icon: str | None = None,
48362
48362
  text_ctxt: str | None = None,
48363
48363
  translate: bool | None = None,
48364
- ) -> str:
48364
+ ) -> set[str]:
48365
48365
  """Operator confirmation popup (only to let user confirm the execution, no operator properties shown)"""
48366
48366
 
48367
48367
  @classmethod
@@ -48578,7 +48578,7 @@ class WorkSpaceTool(bpy_struct):
48578
48578
  data_block: str | None = None,
48579
48579
  operator: str | None = None,
48580
48580
  index: int | None = None,
48581
- options: str | None = None,
48581
+ options: set[str] | None = None,
48582
48582
  idname_fallback: str | None = None,
48583
48583
  keymap_fallback: str | None = None,
48584
48584
  ) -> None:
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "blender-python-stubs"
7
- version = "5.0.1.1"
7
+ version = "5.0.1.2"
8
8
  description = "Type stubs for Blender 5.0 Python API"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.11"