fake-bpy-module-latest 20260122__py3-none-any.whl → 20260201__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.
@@ -7,7 +7,7 @@ class AssetLibraryMeta:
7
7
  """AssetLibraryMeta(api_versions: dict[str, str], name: str, contact: Contact)"""
8
8
 
9
9
  class Contact:
10
- """Contact(name: str, url: Optional[str] = None, email: Optional[str] = None)"""
10
+ """Contact(name: str, url: str | None = None, email: str | None = None)"""
11
11
 
12
12
  email: typing.Any
13
13
  url: typing.Any
@@ -12,7 +12,7 @@ def mutex_lock_and_open(file_path, mode) -> None:
12
12
  """Obtain an exclusive lock on a file.Create a file on disk, and immediately lock it for exclusive use by this
13
13
  process.
14
14
 
15
- :return: If the file was opened & locked succesfully, a tuple (file,
15
+ :return: If the file was opened & locked successfully, a tuple (file,
16
16
  unlocker) is returned. Otherwise returns None. The caller should call
17
17
  unlocker(file) to unlock the mutex.
18
18
  """
@@ -530,6 +530,13 @@ class NODE_OT_swap_node(NodeSwapOperator, _bpy_types.Operator):
530
530
  :param context:
531
531
  """
532
532
 
533
+ @staticmethod
534
+ def get_node_sockets(node) -> None:
535
+ """
536
+
537
+ :param node:
538
+ """
539
+
533
540
  @staticmethod
534
541
  def get_zone_pair(tree, node) -> None:
535
542
  """
@@ -538,6 +545,13 @@ class NODE_OT_swap_node(NodeSwapOperator, _bpy_types.Operator):
538
545
  :param node:
539
546
  """
540
547
 
548
+ def transfer_node_sockets(self, old_node, new_node) -> None:
549
+ """
550
+
551
+ :param old_node:
552
+ :param new_node:
553
+ """
554
+
541
555
  class NODE_OT_swap_zone(NodeSwapOperator, ZoneOperator, _bpy_types.Operator):
542
556
  bl_idname: typing.Any
543
557
  bl_label: typing.Any
@@ -32,11 +32,12 @@ class NodeMenu(_bpy_types.Menu):
32
32
  """
33
33
 
34
34
  @classmethod
35
- def color_mix_node(cls, context, layout) -> None:
35
+ def color_mix_node(cls, context, layout, search_weight=0.0) -> None:
36
36
  """The Mix Color node, with its different blend modes available while in search.
37
37
 
38
38
  :param context:
39
39
  :param layout:
40
+ :param search_weight:
40
41
  """
41
42
 
42
43
  @classmethod
@@ -283,7 +284,7 @@ class SwapNodeMenu(NodeMenu):
283
284
  """
284
285
 
285
286
  def add_closure_zone(layout, label) -> None: ...
286
- def add_color_mix_node(context, layout) -> None: ...
287
+ def add_color_mix_node(context, layout, search_weight=0.0) -> None: ...
287
288
  def add_empty_group(layout) -> None: ...
288
289
  def add_foreach_geometry_element_zone(layout, label) -> None: ...
289
290
  def add_node_type(
bpy/app/__init__.pyi CHANGED
@@ -203,11 +203,11 @@ module: bool
203
203
  """
204
204
 
205
205
  ocio: typing.Any
206
- """ Constant value bpy.app.ocio(supported=True, version=(2, 4, 2), version_string= 2, 4, 2)
206
+ """ Constant value bpy.app.ocio(supported=True, version=(2, 5, 0), version_string= 2, 5, 0)
207
207
  """
208
208
 
209
209
  oiio: typing.Any
210
- """ Constant value bpy.app.oiio(supported=True, version=(3, 0, 9), version_string= 3, 0, 9)
210
+ """ Constant value bpy.app.oiio(supported=True, version=(3, 1, 7), version_string= 3, 1, 7)
211
211
  """
212
212
 
213
213
  online_access: bool
@@ -219,11 +219,11 @@ online_access_override: bool
219
219
  """
220
220
 
221
221
  opensubdiv: typing.Any
222
- """ Constant value bpy.app.opensubdiv(supported=True, version=(3, 6, 0), version_string= 3, 6, 0)
222
+ """ Constant value bpy.app.opensubdiv(supported=True, version=(3, 7, 0), version_string= 3, 7, 0)
223
223
  """
224
224
 
225
225
  openvdb: typing.Any
226
- """ Constant value bpy.app.openvdb(supported=True, version=(12, 0, 0), version_string=12, 0, 0)
226
+ """ Constant value bpy.app.openvdb(supported=True, version=(13, 0, 0), version_string=13, 0, 0)
227
227
  """
228
228
 
229
229
  portable: bool
@@ -173,7 +173,7 @@ def package_theme_disable(
173
173
  pkg_id: str = "",
174
174
  repo_index: int | None = -1,
175
175
  ) -> None:
176
- """Turn off this theme
176
+ """Reset to the default theme if this theme is active
177
177
 
178
178
  :param pkg_id: Package ID
179
179
  :param repo_index: Repo Index
@@ -187,7 +187,7 @@ def package_theme_enable(
187
187
  pkg_id: str = "",
188
188
  repo_index: int | None = -1,
189
189
  ) -> None:
190
- """Turn off this theme
190
+ """Turn on this theme
191
191
 
192
192
  :param pkg_id: Package ID
193
193
  :param repo_index: Repo Index
@@ -230,9 +230,9 @@ def package_upgrade_all(
230
230
  *,
231
231
  use_active_only: bool | None = False,
232
232
  ) -> None:
233
- """Upgrade all the extensions to their latest version for all the remote repositories
233
+ """Upgrade installed extensions to their latest version from remote repositories
234
234
 
235
- :param use_active_only: Active Only, Only sync the active repository
235
+ :param use_active_only: Active Only, Only upgrade the active repository
236
236
  """
237
237
 
238
238
  def repo_enable_from_drop(
@@ -261,7 +261,7 @@ def repo_refresh_all(
261
261
  *,
262
262
  use_active_only: bool | None = False,
263
263
  ) -> None:
264
- """Scan extension & legacy add-ons for changes to modules & meta-data (similar to restarting). Any issues are reported as warnings
264
+ """Refresh extension & legacy add-ons, reloading modules & meta-data (similar to restarting)
265
265
 
266
266
  :param use_active_only: Active Only, Only refresh the active repository
267
267
  """
@@ -66,8 +66,8 @@ def brush_stroke(
66
66
  *,
67
67
  stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
68
68
  | None = None,
69
- mode: typing.Literal["NORMAL", "INVERT", "SMOOTH", "ERASE", "MASK"]
70
- | None = "NORMAL",
69
+ mode: typing.Literal["NORMAL", "INVERT"] | None = "NORMAL",
70
+ brush_toggle: typing.Literal["None", "SMOOTH", "ERASE", "MASK"] | None = "None",
71
71
  pen_flip: bool | None = False,
72
72
  ) -> None:
73
73
  """Draw a new stroke in the active Grease Pencil object
@@ -80,15 +80,19 @@ def brush_stroke(
80
80
 
81
81
  INVERT
82
82
  Invert -- Invert action of brush for duration of stroke.
83
+ :param brush_toggle: Temporary Brush Toggle Type, Brush to use for duration of stroke
84
+
85
+ None
86
+ None -- Apply brush normally.
83
87
 
84
88
  SMOOTH
85
- Smooth -- Switch brush to smooth mode for duration of stroke.
89
+ Smooth -- Switch to smooth brush for duration of stroke.
86
90
 
87
91
  ERASE
88
- Erase -- Switch brush to erase mode for duration of stroke.
92
+ Erase -- Switch to erase brush for duration of stroke.
89
93
 
90
94
  MASK
91
- Mask -- Switch brush to mask mode for duration of stroke.
95
+ Mask -- Switch to mask brush for duration of stroke.
92
96
  :param pen_flip: Pen Flip, Whether a tablets eraser mode is being used
93
97
  """
94
98
 
@@ -1046,8 +1050,8 @@ def sculpt_paint(
1046
1050
  *,
1047
1051
  stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
1048
1052
  | None = None,
1049
- mode: typing.Literal["NORMAL", "INVERT", "SMOOTH", "ERASE", "MASK"]
1050
- | None = "NORMAL",
1053
+ mode: typing.Literal["NORMAL", "INVERT"] | None = "NORMAL",
1054
+ brush_toggle: typing.Literal["None", "SMOOTH", "ERASE", "MASK"] | None = "None",
1051
1055
  pen_flip: bool | None = False,
1052
1056
  ) -> None:
1053
1057
  """Sculpt strokes in the active Grease Pencil object
@@ -1060,15 +1064,19 @@ def sculpt_paint(
1060
1064
 
1061
1065
  INVERT
1062
1066
  Invert -- Invert action of brush for duration of stroke.
1067
+ :param brush_toggle: Temporary Brush Toggle Type, Brush to use for duration of stroke
1068
+
1069
+ None
1070
+ None -- Apply brush normally.
1063
1071
 
1064
1072
  SMOOTH
1065
- Smooth -- Switch brush to smooth mode for duration of stroke.
1073
+ Smooth -- Switch to smooth brush for duration of stroke.
1066
1074
 
1067
1075
  ERASE
1068
- Erase -- Switch brush to erase mode for duration of stroke.
1076
+ Erase -- Switch to erase brush for duration of stroke.
1069
1077
 
1070
1078
  MASK
1071
- Mask -- Switch brush to mask mode for duration of stroke.
1079
+ Mask -- Switch to mask brush for duration of stroke.
1072
1080
  :param pen_flip: Pen Flip, Whether a tablets eraser mode is being used
1073
1081
  """
1074
1082
 
@@ -1608,8 +1616,8 @@ def vertex_brush_stroke(
1608
1616
  *,
1609
1617
  stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
1610
1618
  | None = None,
1611
- mode: typing.Literal["NORMAL", "INVERT", "SMOOTH", "ERASE", "MASK"]
1612
- | None = "NORMAL",
1619
+ mode: typing.Literal["NORMAL", "INVERT"] | None = "NORMAL",
1620
+ brush_toggle: typing.Literal["None", "SMOOTH", "ERASE", "MASK"] | None = "None",
1613
1621
  pen_flip: bool | None = False,
1614
1622
  ) -> None:
1615
1623
  """Draw on vertex colors in the active Grease Pencil object
@@ -1622,15 +1630,19 @@ def vertex_brush_stroke(
1622
1630
 
1623
1631
  INVERT
1624
1632
  Invert -- Invert action of brush for duration of stroke.
1633
+ :param brush_toggle: Temporary Brush Toggle Type, Brush to use for duration of stroke
1634
+
1635
+ None
1636
+ None -- Apply brush normally.
1625
1637
 
1626
1638
  SMOOTH
1627
- Smooth -- Switch brush to smooth mode for duration of stroke.
1639
+ Smooth -- Switch to smooth brush for duration of stroke.
1628
1640
 
1629
1641
  ERASE
1630
- Erase -- Switch brush to erase mode for duration of stroke.
1642
+ Erase -- Switch to erase brush for duration of stroke.
1631
1643
 
1632
1644
  MASK
1633
- Mask -- Switch brush to mask mode for duration of stroke.
1645
+ Mask -- Switch to mask brush for duration of stroke.
1634
1646
  :param pen_flip: Pen Flip, Whether a tablets eraser mode is being used
1635
1647
  """
1636
1648
 
@@ -1762,8 +1774,8 @@ def weight_brush_stroke(
1762
1774
  *,
1763
1775
  stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
1764
1776
  | None = None,
1765
- mode: typing.Literal["NORMAL", "INVERT", "SMOOTH", "ERASE", "MASK"]
1766
- | None = "NORMAL",
1777
+ mode: typing.Literal["NORMAL", "INVERT"] | None = "NORMAL",
1778
+ brush_toggle: typing.Literal["None", "SMOOTH", "ERASE", "MASK"] | None = "None",
1767
1779
  pen_flip: bool | None = False,
1768
1780
  ) -> None:
1769
1781
  """Draw weight on stroke points in the active Grease Pencil object
@@ -1776,15 +1788,19 @@ def weight_brush_stroke(
1776
1788
 
1777
1789
  INVERT
1778
1790
  Invert -- Invert action of brush for duration of stroke.
1791
+ :param brush_toggle: Temporary Brush Toggle Type, Brush to use for duration of stroke
1792
+
1793
+ None
1794
+ None -- Apply brush normally.
1779
1795
 
1780
1796
  SMOOTH
1781
- Smooth -- Switch brush to smooth mode for duration of stroke.
1797
+ Smooth -- Switch to smooth brush for duration of stroke.
1782
1798
 
1783
1799
  ERASE
1784
- Erase -- Switch brush to erase mode for duration of stroke.
1800
+ Erase -- Switch to erase brush for duration of stroke.
1785
1801
 
1786
1802
  MASK
1787
- Mask -- Switch brush to mask mode for duration of stroke.
1803
+ Mask -- Switch to mask brush for duration of stroke.
1788
1804
  :param pen_flip: Pen Flip, Whether a tablets eraser mode is being used
1789
1805
  """
1790
1806
 
bpy/ops/mesh/__init__.pyi CHANGED
@@ -593,17 +593,22 @@ def edgering_select(
593
593
  undo: bool | None = None,
594
594
  /,
595
595
  *,
596
+ delimit_edge_ring: set[bpy.stub_internal.rna_enums.MeshWalkDelimitEdgeRingItems]
597
+ | None = {"NGONS"},
596
598
  extend: bool | None = False,
597
599
  deselect: bool | None = False,
598
600
  toggle: bool | None = False,
599
- ring: bool | None = True,
601
+ object_index: int | None = -1,
602
+ edge_index: int | None = -1,
603
+ vert_index: int | None = -1,
604
+ face_index: int | None = -1,
600
605
  ) -> None:
601
606
  """Select an edge ring
602
607
 
603
- :param extend: Extend, Extend the selection
608
+ :param delimit_edge_ring: Edge Ring Delimit, Delimit edge ring selection
609
+ :param extend: Extend Select, Extend the selection
604
610
  :param deselect: Deselect, Remove from the selection
605
611
  :param toggle: Toggle Select, Toggle the selection
606
- :param ring: Select Ring, Select ring
607
612
  """
608
613
 
609
614
  def edges_select_sharp(
@@ -1075,34 +1080,30 @@ def knife_tool(
1075
1080
  :param wait_for_input: Wait for Input
1076
1081
  """
1077
1082
 
1078
- def loop_multi_select(
1079
- execution_context: int | str | None = None,
1080
- undo: bool | None = None,
1081
- /,
1082
- *,
1083
- ring: bool | None = False,
1084
- ) -> None:
1085
- """Select a loop of connected edges by connection type
1086
-
1087
- :param ring: Ring
1088
- """
1089
-
1090
1083
  def loop_select(
1091
1084
  execution_context: int | str | None = None,
1092
1085
  undo: bool | None = None,
1093
1086
  /,
1094
1087
  *,
1088
+ delimit_edge_loop: set[bpy.stub_internal.rna_enums.MeshWalkDelimitEdgeLoopItems]
1089
+ | None = {"NGONS", "OUTER_CORNERS"},
1090
+ delimit_face_loop: set[bpy.stub_internal.rna_enums.MeshWalkDelimitFaceLoopItems]
1091
+ | None = {},
1095
1092
  extend: bool | None = False,
1096
1093
  deselect: bool | None = False,
1097
1094
  toggle: bool | None = False,
1098
- ring: bool | None = False,
1095
+ object_index: int | None = -1,
1096
+ edge_index: int | None = -1,
1097
+ vert_index: int | None = -1,
1098
+ face_index: int | None = -1,
1099
1099
  ) -> None:
1100
1100
  """Select a loop of connected edges
1101
1101
 
1102
+ :param delimit_edge_loop: Boundary Delimit, Delimit edge loop selection
1103
+ :param delimit_face_loop: Face Loop Delimit, Delimit face loop selection
1102
1104
  :param extend: Extend Select, Extend the selection
1103
1105
  :param deselect: Deselect, Remove from the selection
1104
1106
  :param toggle: Toggle Select, Toggle the selection
1105
- :param ring: Select Ring, Select ring
1106
1107
  """
1107
1108
 
1108
1109
  def loop_to_region(
@@ -2299,6 +2300,32 @@ def select_by_pole_count(
2299
2300
  :param exclude_nonmanifold: Exclude Non Manifold, Exclude non-manifold poles
2300
2301
  """
2301
2302
 
2303
+ def select_edge_loop_multi(
2304
+ execution_context: int | str | None = None,
2305
+ undo: bool | None = None,
2306
+ /,
2307
+ *,
2308
+ delimit_edge_loop: set[bpy.stub_internal.rna_enums.MeshWalkDelimitEdgeLoopItems]
2309
+ | None = {"NGONS", "OUTER_CORNERS"},
2310
+ ) -> None:
2311
+ """Select loops of connected edges from each selected edge
2312
+
2313
+ :param delimit_edge_loop: Boundary Delimit, Delimit edge loop selection
2314
+ """
2315
+
2316
+ def select_edge_ring_multi(
2317
+ execution_context: int | str | None = None,
2318
+ undo: bool | None = None,
2319
+ /,
2320
+ *,
2321
+ delimit_edge_ring: set[bpy.stub_internal.rna_enums.MeshWalkDelimitEdgeRingItems]
2322
+ | None = {"NGONS"},
2323
+ ) -> None:
2324
+ """Select rings of connected edges from each selected edge
2325
+
2326
+ :param delimit_edge_ring: Edge Ring Delimit, Delimit edge ring selection
2327
+ """
2328
+
2302
2329
  def select_face_by_sides(
2303
2330
  execution_context: int | str | None = None,
2304
2331
  undo: bool | None = None,
bpy/ops/node/__init__.pyi CHANGED
@@ -708,6 +708,20 @@ def delete(
708
708
  ) -> None:
709
709
  """Remove selected nodes"""
710
710
 
711
+ def delete_copy_reconnect(
712
+ execution_context: int | str | None = None,
713
+ undo: bool | None = None,
714
+ /,
715
+ *,
716
+ NODE_OT_clipboard_copy: clipboard_copy | None = None,
717
+ NODE_OT_delete_reconnect: delete_reconnect | None = None,
718
+ ) -> None:
719
+ """Copy nodes to clipboard, remove and reconnect them.
720
+
721
+ :param NODE_OT_clipboard_copy: Copy to Clipboard, Copy the selected nodes to the internal clipboard
722
+ :param NODE_OT_delete_reconnect: Delete with Reconnect, Remove nodes and reconnect nodes as if deletion was muted
723
+ """
724
+
711
725
  def delete_reconnect(
712
726
  execution_context: int | str | None = None,
713
727
  undo: bool | None = None,
@@ -655,7 +655,7 @@ def data_transfer(
655
655
  "SMOOTH",
656
656
  "FREESTYLE_FACE",
657
657
  ]
658
- | None = "",
658
+ | None = "VGROUP_WEIGHTS",
659
659
  use_create: bool | None = True,
660
660
  vert_mapping: bpy.stub_internal.rna_enums.DtMethodVertexItems | None = "NEAREST",
661
661
  edge_mapping: bpy.stub_internal.rna_enums.DtMethodEdgeItems | None = "NEAREST",
@@ -413,14 +413,14 @@ def id_remap(
413
413
  /,
414
414
  *,
415
415
  id_type: bpy.stub_internal.rna_enums.IdTypeItems | None = "OBJECT",
416
- old_id: str | None = "",
417
- new_id: str | None = "",
416
+ old_id: int | None = 0,
417
+ new_id: int | None = 0,
418
418
  ) -> None:
419
419
  """Undocumented, consider contributing.
420
420
 
421
421
  :param id_type: ID Type
422
- :param old_id: Old ID, Old ID to replace
423
- :param new_id: New ID, New ID to remap all selected IDs users to
422
+ :param old_id: Old ID, Old IDs session uid to remap data from
423
+ :param new_id: New ID, New IDs session uid to remap all selected IDs users to
424
424
  """
425
425
 
426
426
  def item_activate(
@@ -381,8 +381,8 @@ def image_paint(
381
381
  *,
382
382
  stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
383
383
  | None = None,
384
- mode: typing.Literal["NORMAL", "INVERT", "SMOOTH", "ERASE", "MASK"]
385
- | None = "NORMAL",
384
+ mode: typing.Literal["NORMAL", "INVERT"] | None = "NORMAL",
385
+ brush_toggle: typing.Literal["None", "SMOOTH", "ERASE", "MASK"] | None = "None",
386
386
  pen_flip: bool | None = False,
387
387
  ) -> None:
388
388
  """Paint a stroke into the image
@@ -395,15 +395,19 @@ def image_paint(
395
395
 
396
396
  INVERT
397
397
  Invert -- Invert action of brush for duration of stroke.
398
+ :param brush_toggle: Temporary Brush Toggle Type, Brush to use for duration of stroke
399
+
400
+ None
401
+ None -- Apply brush normally.
398
402
 
399
403
  SMOOTH
400
- Smooth -- Switch brush to smooth mode for duration of stroke.
404
+ Smooth -- Switch to smooth brush for duration of stroke.
401
405
 
402
406
  ERASE
403
- Erase -- Switch brush to erase mode for duration of stroke.
407
+ Erase -- Switch to erase brush for duration of stroke.
404
408
 
405
409
  MASK
406
- Mask -- Switch brush to mask mode for duration of stroke.
410
+ Mask -- Switch to mask brush for duration of stroke.
407
411
  :param pen_flip: Pen Flip, Whether a tablets eraser mode is being used
408
412
  """
409
413
 
@@ -810,8 +814,8 @@ def vertex_paint(
810
814
  *,
811
815
  stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
812
816
  | None = None,
813
- mode: typing.Literal["NORMAL", "INVERT", "SMOOTH", "ERASE", "MASK"]
814
- | None = "NORMAL",
817
+ mode: typing.Literal["NORMAL", "INVERT"] | None = "NORMAL",
818
+ brush_toggle: typing.Literal["None", "SMOOTH", "ERASE", "MASK"] | None = "None",
815
819
  pen_flip: bool | None = False,
816
820
  override_location: bool | None = False,
817
821
  ) -> None:
@@ -825,15 +829,19 @@ def vertex_paint(
825
829
 
826
830
  INVERT
827
831
  Invert -- Invert action of brush for duration of stroke.
832
+ :param brush_toggle: Temporary Brush Toggle Type, Brush to use for duration of stroke
833
+
834
+ None
835
+ None -- Apply brush normally.
828
836
 
829
837
  SMOOTH
830
- Smooth -- Switch brush to smooth mode for duration of stroke.
838
+ Smooth -- Switch to smooth brush for duration of stroke.
831
839
 
832
840
  ERASE
833
- Erase -- Switch brush to erase mode for duration of stroke.
841
+ Erase -- Switch to erase brush for duration of stroke.
834
842
 
835
843
  MASK
836
- Mask -- Switch brush to mask mode for duration of stroke.
844
+ Mask -- Switch to mask brush for duration of stroke.
837
845
  :param pen_flip: Pen Flip, Whether a tablets eraser mode is being used
838
846
  :param override_location: Override Location, Override the given "location" array by recalculating object space positions from the provided "mouse_event" positions
839
847
  """
@@ -923,8 +931,8 @@ def weight_paint(
923
931
  *,
924
932
  stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
925
933
  | None = None,
926
- mode: typing.Literal["NORMAL", "INVERT", "SMOOTH", "ERASE", "MASK"]
927
- | None = "NORMAL",
934
+ mode: typing.Literal["NORMAL", "INVERT"] | None = "NORMAL",
935
+ brush_toggle: typing.Literal["None", "SMOOTH", "ERASE", "MASK"] | None = "None",
928
936
  pen_flip: bool | None = False,
929
937
  override_location: bool | None = False,
930
938
  ) -> None:
@@ -938,15 +946,19 @@ def weight_paint(
938
946
 
939
947
  INVERT
940
948
  Invert -- Invert action of brush for duration of stroke.
949
+ :param brush_toggle: Temporary Brush Toggle Type, Brush to use for duration of stroke
950
+
951
+ None
952
+ None -- Apply brush normally.
941
953
 
942
954
  SMOOTH
943
- Smooth -- Switch brush to smooth mode for duration of stroke.
955
+ Smooth -- Switch to smooth brush for duration of stroke.
944
956
 
945
957
  ERASE
946
- Erase -- Switch brush to erase mode for duration of stroke.
958
+ Erase -- Switch to erase brush for duration of stroke.
947
959
 
948
960
  MASK
949
- Mask -- Switch brush to mask mode for duration of stroke.
961
+ Mask -- Switch to mask brush for duration of stroke.
950
962
  :param pen_flip: Pen Flip, Whether a tablets eraser mode is being used
951
963
  :param override_location: Override Location, Override the given "location" array by recalculating object space positions from the provided "mouse_event" positions
952
964
  """
bpy/ops/pose/__init__.pyi CHANGED
@@ -195,7 +195,7 @@ def constraint_add(
195
195
  undo: bool | None = None,
196
196
  /,
197
197
  *,
198
- type: bpy.stub_internal.rna_enums.ConstraintTypeItems | None = "",
198
+ type: bpy.stub_internal.rna_enums.ConstraintTypeItems | None = "CHILD_OF",
199
199
  ) -> None:
200
200
  """Add a constraint to the active bone
201
201
 
@@ -207,7 +207,7 @@ def constraint_add_with_targets(
207
207
  undo: bool | None = None,
208
208
  /,
209
209
  *,
210
- type: bpy.stub_internal.rna_enums.ConstraintTypeItems | None = "",
210
+ type: bpy.stub_internal.rna_enums.ConstraintTypeItems | None = "CHILD_OF",
211
211
  ) -> None:
212
212
  """Add a constraint to the active bone, with target (where applicable) set to the selected Objects/Bones
213
213
 
@@ -12,8 +12,8 @@ def brush_stroke(
12
12
  *,
13
13
  stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
14
14
  | None = None,
15
- mode: typing.Literal["NORMAL", "INVERT", "SMOOTH", "ERASE", "MASK"]
16
- | None = "NORMAL",
15
+ mode: typing.Literal["NORMAL", "INVERT"] | None = "NORMAL",
16
+ brush_toggle: typing.Literal["None", "SMOOTH", "ERASE", "MASK"] | None = "None",
17
17
  pen_flip: bool | None = False,
18
18
  override_location: bool | None = False,
19
19
  ignore_background_click: bool | None = False,
@@ -28,15 +28,19 @@ def brush_stroke(
28
28
 
29
29
  INVERT
30
30
  Invert -- Invert action of brush for duration of stroke.
31
+ :param brush_toggle: Temporary Brush Toggle Type, Brush to use for duration of stroke
32
+
33
+ None
34
+ None -- Apply brush normally.
31
35
 
32
36
  SMOOTH
33
- Smooth -- Switch brush to smooth mode for duration of stroke.
37
+ Smooth -- Switch to smooth brush for duration of stroke.
34
38
 
35
39
  ERASE
36
- Erase -- Switch brush to erase mode for duration of stroke.
40
+ Erase -- Switch to erase brush for duration of stroke.
37
41
 
38
42
  MASK
39
- Mask -- Switch brush to mask mode for duration of stroke.
43
+ Mask -- Switch to mask brush for duration of stroke.
40
44
  :param pen_flip: Pen Flip, Whether a tablets eraser mode is being used
41
45
  :param override_location: Override Location, Override the given "location" array by recalculating object space positions from the provided "mouse_event" positions
42
46
  :param ignore_background_click: Ignore Background Click, Clicks on the background do not start the stroke
@@ -269,6 +273,7 @@ def face_set_change_visibility(
269
273
  /,
270
274
  *,
271
275
  mode: typing.Literal["TOGGLE", "SHOW_ACTIVE", "HIDE_ACTIVE"] | None = "TOGGLE",
276
+ active_face_set: int | None = 0,
272
277
  ) -> None:
273
278
  """Change the visibility of the face sets of the sculpt
274
279
 
@@ -282,6 +287,7 @@ def face_set_change_visibility(
282
287
 
283
288
  HIDE_ACTIVE
284
289
  Hide Active Face Set -- Hide the active face set.
290
+ :param active_face_set: Active Face Set
285
291
  """
286
292
 
287
293
  def face_set_edit(
@@ -11,8 +11,8 @@ def brush_stroke(
11
11
  *,
12
12
  stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
13
13
  | None = None,
14
- mode: typing.Literal["NORMAL", "INVERT", "SMOOTH", "ERASE", "MASK"]
15
- | None = "NORMAL",
14
+ mode: typing.Literal["NORMAL", "INVERT"] | None = "NORMAL",
15
+ brush_toggle: typing.Literal["None", "SMOOTH", "ERASE", "MASK"] | None = "None",
16
16
  pen_flip: bool | None = False,
17
17
  ) -> None:
18
18
  """Sculpt curves using a brush
@@ -25,15 +25,19 @@ def brush_stroke(
25
25
 
26
26
  INVERT
27
27
  Invert -- Invert action of brush for duration of stroke.
28
+ :param brush_toggle: Temporary Brush Toggle Type, Brush to use for duration of stroke
29
+
30
+ None
31
+ None -- Apply brush normally.
28
32
 
29
33
  SMOOTH
30
- Smooth -- Switch brush to smooth mode for duration of stroke.
34
+ Smooth -- Switch to smooth brush for duration of stroke.
31
35
 
32
36
  ERASE
33
- Erase -- Switch brush to erase mode for duration of stroke.
37
+ Erase -- Switch to erase brush for duration of stroke.
34
38
 
35
39
  MASK
36
- Mask -- Switch brush to mask mode for duration of stroke.
40
+ Mask -- Switch to mask brush for duration of stroke.
37
41
  :param pen_flip: Pen Flip, Whether a tablets eraser mode is being used
38
42
  """
39
43
 
@@ -1135,12 +1135,10 @@ def retiming_segment_speed_set(
1135
1135
  /,
1136
1136
  *,
1137
1137
  speed: float | None = 100.0,
1138
- keep_retiming: bool | None = True,
1139
1138
  ) -> None:
1140
1139
  """Set speed of retimed segment
1141
1140
 
1142
1141
  :param speed: Speed, New speed of retimed segment
1143
- :param keep_retiming: Preserve Current Retiming, Keep speed of other segments unchanged, change strip length instead
1144
1142
  """
1145
1143
 
1146
1144
  def retiming_show(