fake-bpy-module 20240927__py3-none-any.whl → 20240929__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.

Files changed (87) hide show
  1. bl_ui/generic_ui_list/__init__.pyi +2 -2
  2. bl_ui/space_dopesheet/__init__.pyi +25 -0
  3. bl_ui/space_view3d/__init__.pyi +36 -0
  4. bpy/__init__.pyi +1 -1
  5. bpy/ops/action/__init__.pyi +76 -76
  6. bpy/ops/anim/__init__.pyi +144 -120
  7. bpy/ops/armature/__init__.pyi +96 -96
  8. bpy/ops/asset/__init__.pyi +32 -32
  9. bpy/ops/boid/__init__.pyi +16 -16
  10. bpy/ops/brush/__init__.pyi +26 -26
  11. bpy/ops/buttons/__init__.pyi +12 -12
  12. bpy/ops/cachefile/__init__.pyi +10 -10
  13. bpy/ops/camera/__init__.pyi +4 -4
  14. bpy/ops/clip/__init__.pyi +184 -184
  15. bpy/ops/cloth/__init__.pyi +2 -2
  16. bpy/ops/collection/__init__.pyi +18 -18
  17. bpy/ops/console/__init__.pyi +42 -42
  18. bpy/ops/constraint/__init__.pyi +36 -36
  19. bpy/ops/curve/__init__.pyi +102 -102
  20. bpy/ops/curves/__init__.pyi +54 -54
  21. bpy/ops/cycles/__init__.pyi +6 -6
  22. bpy/ops/dpaint/__init__.pyi +10 -10
  23. bpy/ops/ed/__init__.pyi +24 -24
  24. bpy/ops/export_anim/__init__.pyi +2 -2
  25. bpy/ops/export_scene/__init__.pyi +4 -4
  26. bpy/ops/extensions/__init__.pyi +68 -68
  27. bpy/ops/file/__init__.pyi +80 -80
  28. bpy/ops/fluid/__init__.pyi +28 -28
  29. bpy/ops/font/__init__.pyi +46 -46
  30. bpy/ops/geometry/__init__.pyi +20 -20
  31. bpy/ops/gizmogroup/__init__.pyi +4 -4
  32. bpy/ops/gpencil/__init__.pyi +284 -284
  33. bpy/ops/graph/__init__.pyi +130 -130
  34. bpy/ops/grease_pencil/__init__.pyi +220 -200
  35. bpy/ops/image/__init__.pyi +98 -98
  36. bpy/ops/import_anim/__init__.pyi +2 -2
  37. bpy/ops/import_curve/__init__.pyi +2 -2
  38. bpy/ops/import_scene/__init__.pyi +4 -4
  39. bpy/ops/info/__init__.pyi +14 -14
  40. bpy/ops/lattice/__init__.pyi +16 -16
  41. bpy/ops/marker/__init__.pyi +22 -22
  42. bpy/ops/mask/__init__.pyi +78 -78
  43. bpy/ops/material/__init__.pyi +6 -6
  44. bpy/ops/mball/__init__.pyi +16 -16
  45. bpy/ops/mesh/__init__.pyi +326 -326
  46. bpy/ops/nla/__init__.pyi +78 -78
  47. bpy/ops/node/__init__.pyi +230 -230
  48. bpy/ops/object/__init__.pyi +476 -476
  49. bpy/ops/outliner/__init__.pyi +142 -142
  50. bpy/ops/paint/__init__.pyi +108 -108
  51. bpy/ops/paintcurve/__init__.pyi +16 -16
  52. bpy/ops/palette/__init__.pyi +14 -14
  53. bpy/ops/particle/__init__.pyi +72 -72
  54. bpy/ops/pose/__init__.pyi +102 -102
  55. bpy/ops/poselib/__init__.pyi +18 -18
  56. bpy/ops/preferences/__init__.pyi +70 -70
  57. bpy/ops/ptcache/__init__.pyi +14 -14
  58. bpy/ops/render/__init__.pyi +26 -26
  59. bpy/ops/rigidbody/__init__.pyi +26 -26
  60. bpy/ops/scene/__init__.pyi +74 -74
  61. bpy/ops/screen/__init__.pyi +78 -78
  62. bpy/ops/script/__init__.pyi +6 -6
  63. bpy/ops/sculpt/__init__.pyi +74 -74
  64. bpy/ops/sculpt_curves/__init__.pyi +8 -8
  65. bpy/ops/sequencer/__init__.pyi +178 -178
  66. bpy/ops/sound/__init__.pyi +14 -14
  67. bpy/ops/spreadsheet/__init__.pyi +8 -8
  68. bpy/ops/surface/__init__.pyi +12 -12
  69. bpy/ops/text/__init__.pyi +86 -86
  70. bpy/ops/text_editor/__init__.pyi +2 -2
  71. bpy/ops/texture/__init__.pyi +8 -8
  72. bpy/ops/transform/__init__.pyi +54 -54
  73. bpy/ops/ui/__init__.pyi +68 -68
  74. bpy/ops/uilist/__init__.pyi +6 -6
  75. bpy/ops/uv/__init__.pyi +98 -98
  76. bpy/ops/view2d/__init__.pyi +28 -28
  77. bpy/ops/view3d/__init__.pyi +134 -134
  78. bpy/ops/wm/__init__.pyi +232 -232
  79. bpy/ops/workspace/__init__.pyi +14 -14
  80. bpy/ops/world/__init__.pyi +4 -4
  81. bpy/types/__init__.pyi +449 -226
  82. bpy/typing/__init__.pyi +1 -0
  83. bpy_extras/object_utils/__init__.pyi +4 -4
  84. {fake_bpy_module-20240927.dist-info → fake_bpy_module-20240929.dist-info}/METADATA +1 -1
  85. {fake_bpy_module-20240927.dist-info → fake_bpy_module-20240929.dist-info}/RECORD +87 -87
  86. {fake_bpy_module-20240927.dist-info → fake_bpy_module-20240929.dist-info}/WHEEL +0 -0
  87. {fake_bpy_module-20240927.dist-info → fake_bpy_module-20240929.dist-info}/top_level.txt +0 -0
bpy/types/__init__.pyi CHANGED
@@ -30645,6 +30645,8 @@ of the scene and only show nodes of the renderer they are designed for.
30645
30645
  * GeometryNodeMenuSwitch.output_template
30646
30646
  * GeometryNodeMergeByDistance.input_template
30647
30647
  * GeometryNodeMergeByDistance.output_template
30648
+ * GeometryNodeMergeLayers.input_template
30649
+ * GeometryNodeMergeLayers.output_template
30648
30650
  * GeometryNodeMeshBoolean.input_template
30649
30651
  * GeometryNodeMeshBoolean.output_template
30650
30652
  * GeometryNodeMeshCircle.input_template
@@ -61417,6 +61419,99 @@ print(positions_data)
61417
61419
  :columns: 2
61418
61420
 
61419
61421
 
61422
+ --------------------
61423
+
61424
+ * bpy_struct.id_data
61425
+ * Node.type
61426
+ * Node.location
61427
+ * Node.width
61428
+ * Node.height
61429
+ * Node.dimensions
61430
+ * Node.name
61431
+ * Node.label
61432
+ * Node.inputs
61433
+ * Node.outputs
61434
+ * Node.internal_links
61435
+ * Node.parent
61436
+ * Node.warning_propagation
61437
+ * Node.use_custom_color
61438
+ * Node.color
61439
+ * Node.select
61440
+ * Node.show_options
61441
+ * Node.show_preview
61442
+ * Node.hide
61443
+ * Node.mute
61444
+ * Node.show_texture
61445
+ * Node.bl_idname
61446
+ * Node.bl_label
61447
+ * Node.bl_description
61448
+ * Node.bl_icon
61449
+ * Node.bl_static_type
61450
+ * Node.bl_width_default
61451
+ * Node.bl_width_min
61452
+ * Node.bl_width_max
61453
+ * Node.bl_height_default
61454
+ * Node.bl_height_min
61455
+ * Node.bl_height_max
61456
+
61457
+ :columns: 2
61458
+
61459
+
61460
+ --------------------
61461
+
61462
+ * bpy_struct.as_pointer
61463
+ * bpy_struct.driver_add
61464
+ * bpy_struct.driver_remove
61465
+ * bpy_struct.get
61466
+ * bpy_struct.id_properties_clear
61467
+ * bpy_struct.id_properties_ensure
61468
+ * bpy_struct.id_properties_ui
61469
+ * bpy_struct.is_property_hidden
61470
+ * bpy_struct.is_property_overridable_library
61471
+ * bpy_struct.is_property_readonly
61472
+ * bpy_struct.is_property_set
61473
+ * bpy_struct.items
61474
+ * bpy_struct.keyframe_delete
61475
+ * bpy_struct.keyframe_insert
61476
+ * bpy_struct.keys
61477
+ * bpy_struct.path_from_id
61478
+ * bpy_struct.path_resolve
61479
+ * bpy_struct.pop
61480
+ * bpy_struct.property_overridable_library_set
61481
+ * bpy_struct.property_unset
61482
+ * bpy_struct.type_recast
61483
+ * bpy_struct.values
61484
+ * Node.socket_value_update
61485
+ * Node.is_registered_node_type
61486
+ * Node.poll
61487
+ * Node.poll_instance
61488
+ * Node.update
61489
+ * Node.insert_link
61490
+ * Node.init
61491
+ * Node.copy
61492
+ * Node.free
61493
+ * Node.draw_buttons
61494
+ * Node.draw_buttons_ext
61495
+ * Node.draw_label
61496
+ * Node.debug_zone_body_lazy_function_graph
61497
+ * Node.debug_zone_lazy_function_graph
61498
+ * Node.poll
61499
+ * Node.bl_rna_get_subclass
61500
+ * Node.bl_rna_get_subclass_py
61501
+ * NodeInternal.poll
61502
+ * NodeInternal.poll_instance
61503
+ * NodeInternal.update
61504
+ * NodeInternal.draw_buttons
61505
+ * NodeInternal.draw_buttons_ext
61506
+ * NodeInternal.bl_rna_get_subclass
61507
+ * NodeInternal.bl_rna_get_subclass_py
61508
+ * GeometryNode.poll
61509
+ * GeometryNode.bl_rna_get_subclass
61510
+ * GeometryNode.bl_rna_get_subclass_py
61511
+
61512
+ :columns: 2
61513
+
61514
+
61420
61515
  --------------------
61421
61516
 
61422
61517
  * bpy_struct.id_data
@@ -101898,12 +101993,12 @@ class bpy_struct(typing.Generic[_GenericType1]):
101898
101993
  class bpy_prop_collection[_GenericType1](typing.Generic[_GenericType1]):
101899
101994
  """built-in class used for all collections."""
101900
101995
 
101901
- def find(self, key: str | None) -> int:
101996
+ def find(self, key: str) -> int:
101902
101997
  """Returns the index of a key in a collection or -1 when not found
101903
101998
  (matches Python's string find function of the same name).
101904
101999
 
101905
102000
  :param key: The identifier for the collection member.
101906
- :type key: str | None
102001
+ :type key: str
101907
102002
  :return: index of the key.
101908
102003
  :rtype: int
101909
102004
  """
@@ -101943,13 +102038,13 @@ class bpy_prop_collection[_GenericType1](typing.Generic[_GenericType1]):
101943
102038
  """
101944
102039
 
101945
102040
  def get[_GenericType2](
101946
- self, key: str | None, default: _GenericType2 = None
102041
+ self, key: str, default: _GenericType2 = None
101947
102042
  ) -> _GenericType1 | _GenericType2:
101948
102043
  """Returns the value of the item assigned to key or default when not found
101949
102044
  (matches Python's dictionary function of the same name).
101950
102045
 
101951
102046
  :param key: The identifier for the collection member.
101952
- :type key: str | None
102047
+ :type key: str
101953
102048
  :param default: Optional argument for the value to return if
101954
102049
  key is not found.
101955
102050
  :type default: _GenericType2
@@ -101973,12 +102068,12 @@ class bpy_prop_collection[_GenericType1](typing.Generic[_GenericType1]):
101973
102068
  :rtype: list[str]
101974
102069
  """
101975
102070
 
101976
- def values(self) -> list[_GenericType1]:
102071
+ def values(self) -> list[_GenericType1 | None]:
101977
102072
  """Return the values of collection
101978
102073
  (matching Python's dict.values() functionality).
101979
102074
 
101980
102075
  :return: the members of this collection.
101981
- :rtype: list[_GenericType1]
102076
+ :rtype: list[_GenericType1 | None]
101982
102077
  """
101983
102078
 
101984
102079
  @typing.overload
@@ -102001,12 +102096,32 @@ class bpy_prop_collection[_GenericType1](typing.Generic[_GenericType1]):
102001
102096
  :rtype: tuple[_GenericType1, ...]
102002
102097
  """
102003
102098
 
102004
- def __setitem__(self, key: int, value: _GenericType1):
102099
+ def __setitem__(self, key: int | str, value: GenericType1 | None):
102100
+ """
102101
+
102102
+ :param key:
102103
+ :type key: int | str
102104
+ :param value:
102105
+ :type value: GenericType1 | None
102106
+ """
102107
+
102108
+ @typing.overload
102109
+ def __setitem__(self, key: int, value: _GenericType1 | None):
102005
102110
  """
102006
102111
 
102007
102112
  :param key:
102008
102113
  :type key: int
102009
102114
  :param value:
102115
+ :type value: _GenericType1 | None
102116
+ """
102117
+
102118
+ @typing.overload
102119
+ def __setitem__(self, key: str, value: _GenericType1):
102120
+ """
102121
+
102122
+ :param key:
102123
+ :type key: str
102124
+ :param value:
102010
102125
  :type value: _GenericType1
102011
102126
  """
102012
102127
 
@@ -102031,11 +102146,11 @@ class bpy_prop_collection[_GenericType1](typing.Generic[_GenericType1]):
102031
102146
  :rtype: int
102032
102147
  """
102033
102148
 
102034
- def __contains__(self, key: str | tuple[str, ...]) -> bool:
102149
+ def __contains__(self, key: str | tuple[str, ...] | _GenericType1) -> bool:
102035
102150
  """
102036
102151
 
102037
102152
  :param key:
102038
- :type key: str | tuple[str, ...]
102153
+ :type key: str | tuple[str, ...] | _GenericType1
102039
102154
  :return:
102040
102155
  :rtype: bool
102041
102156
  """
@@ -102963,7 +103078,7 @@ class AttributeGroupCurves(bpy_prop_collection[Attribute], bpy_struct):
102963
103078
  """
102964
103079
 
102965
103080
  active_index: int | None
102966
- """ Active attribute index
103081
+ """ Active attribute index or -1 when none are active
102967
103082
 
102968
103083
  :type: int | None
102969
103084
  """
@@ -103034,7 +103149,7 @@ class AttributeGroupGreasePencil(bpy_prop_collection[Attribute], bpy_struct):
103034
103149
  """
103035
103150
 
103036
103151
  active_index: int | None
103037
- """ Active attribute index
103152
+ """ Active attribute index or -1 when none are active
103038
103153
 
103039
103154
  :type: int | None
103040
103155
  """
@@ -103105,7 +103220,7 @@ class AttributeGroupGreasePencilDrawing(bpy_prop_collection[Attribute], bpy_stru
103105
103220
  """
103106
103221
 
103107
103222
  active_index: int | None
103108
- """ Active attribute index
103223
+ """ Active attribute index or -1 when none are active
103109
103224
 
103110
103225
  :type: int | None
103111
103226
  """
@@ -103194,7 +103309,7 @@ class AttributeGroupMesh(bpy_prop_collection[Attribute], bpy_struct):
103194
103309
  """
103195
103310
 
103196
103311
  active_index: int | None
103197
- """ Active attribute index
103312
+ """ Active attribute index or -1 when none are active
103198
103313
 
103199
103314
  :type: int | None
103200
103315
  """
@@ -103277,7 +103392,7 @@ class AttributeGroupPointCloud(bpy_prop_collection[Attribute], bpy_struct):
103277
103392
  """
103278
103393
 
103279
103394
  active_index: int | None
103280
- """ Active attribute index
103395
+ """ Active attribute index or -1 when none are active
103281
103396
 
103282
103397
  :type: int | None
103283
103398
  """
@@ -106863,11 +106978,11 @@ class IDMaterials(bpy_prop_collection[Material], bpy_struct):
106863
106978
  :type material: Material | None
106864
106979
  """
106865
106980
 
106866
- def pop(self, index: int | None = -1) -> Material:
106981
+ def pop(self, *, index: int = -1) -> Material:
106867
106982
  """Remove a material from the data-block
106868
106983
 
106869
106984
  :param index: Index of material to remove
106870
- :type index: int | None
106985
+ :type index: int
106871
106986
  :return: Material to remove
106872
106987
  :rtype: Material
106873
106988
  """
@@ -114051,11 +114166,11 @@ class AssetShelf(bpy_struct):
114051
114166
  """
114052
114167
 
114053
114168
  @classmethod
114054
- def poll(cls, context: Context) -> bool:
114169
+ def poll(cls, context: Context | None) -> bool:
114055
114170
  """If this method returns a non-null output, the asset shelf will be visible
114056
114171
 
114057
114172
  :param context:
114058
- :type context: Context
114173
+ :type context: Context | None
114059
114174
  :return:
114060
114175
  :rtype: bool
114061
114176
  """
@@ -114081,14 +114196,14 @@ class AssetShelf(bpy_struct):
114081
114196
  @classmethod
114082
114197
  def draw_context_menu(
114083
114198
  cls,
114084
- context: Context,
114199
+ context: Context | None,
114085
114200
  asset: AssetRepresentation | None,
114086
114201
  layout: UILayout | None,
114087
114202
  ):
114088
114203
  """Draw UI elements into the context menu UI layout displayed on right click
114089
114204
 
114090
114205
  :param context:
114091
- :type context: Context
114206
+ :type context: Context | None
114092
114207
  :param asset:
114093
114208
  :type asset: AssetRepresentation | None
114094
114209
  :param layout:
@@ -136874,11 +136989,11 @@ For Example: ".blend;.ble"
136874
136989
  """
136875
136990
 
136876
136991
  @classmethod
136877
- def poll_drop(cls, context: Context) -> bool:
136992
+ def poll_drop(cls, context: Context | None) -> bool:
136878
136993
  """If this method returns True, can be used to handle the drop of a drag-and-drop action
136879
136994
 
136880
136995
  :param context:
136881
- :type context: Context
136996
+ :type context: Context | None
136882
136997
  :return:
136883
136998
  :rtype: bool
136884
136999
  """
@@ -145592,10 +145707,10 @@ class GeometryNodeDualMesh(GeometryNode, NodeInternal, Node, bpy_struct):
145592
145707
  class GeometryNodeDuplicateElements(GeometryNode, NodeInternal, Node, bpy_struct):
145593
145708
  """Generate an arbitrary number copies of each selected input element"""
145594
145709
 
145595
- domain: typing.Literal["POINT", "EDGE", "FACE", "SPLINE", "INSTANCE"]
145710
+ domain: typing.Literal["POINT", "EDGE", "FACE", "SPLINE", "LAYER", "INSTANCE"]
145596
145711
  """ Which domain to duplicate
145597
145712
 
145598
- :type: typing.Literal['POINT','EDGE','FACE','SPLINE','INSTANCE']
145713
+ :type: typing.Literal['POINT','EDGE','FACE','SPLINE','LAYER','INSTANCE']
145599
145714
  """
145600
145715
 
145601
145716
  @classmethod
@@ -149525,6 +149640,65 @@ class GeometryNodeMergeByDistance(GeometryNode, NodeInternal, Node, bpy_struct):
149525
149640
  :rtype: typing.Any
149526
149641
  """
149527
149642
 
149643
+ class GeometryNodeMergeLayers(GeometryNode, NodeInternal, Node, bpy_struct):
149644
+ """Join groups of grease pencil layers into one"""
149645
+
149646
+ mode: typing.Literal["MERGE_BY_NAME", "MERGE_BY_ID"]
149647
+ """ Determines how to choose which layers are merged
149648
+
149649
+ :type: typing.Literal['MERGE_BY_NAME','MERGE_BY_ID']
149650
+ """
149651
+
149652
+ @classmethod
149653
+ def is_registered_node_type(cls) -> bool:
149654
+ """True if a registered node type
149655
+
149656
+ :return: Result
149657
+ :rtype: bool
149658
+ """
149659
+
149660
+ @classmethod
149661
+ def input_template(cls, index: int | None) -> NodeInternalSocketTemplate:
149662
+ """Input socket template
149663
+
149664
+ :param index: Index
149665
+ :type index: int | None
149666
+ :return: result
149667
+ :rtype: NodeInternalSocketTemplate
149668
+ """
149669
+
149670
+ @classmethod
149671
+ def output_template(cls, index: int | None) -> NodeInternalSocketTemplate:
149672
+ """Output socket template
149673
+
149674
+ :param index: Index
149675
+ :type index: int | None
149676
+ :return: result
149677
+ :rtype: NodeInternalSocketTemplate
149678
+ """
149679
+
149680
+ @classmethod
149681
+ def bl_rna_get_subclass(cls, id: str | None, default=None) -> Struct:
149682
+ """
149683
+
149684
+ :param id: The RNA type identifier.
149685
+ :type id: str | None
149686
+ :param default:
149687
+ :return: The RNA type or default when not found.
149688
+ :rtype: Struct
149689
+ """
149690
+
149691
+ @classmethod
149692
+ def bl_rna_get_subclass_py(cls, id: str | None, default=None) -> typing.Any:
149693
+ """
149694
+
149695
+ :param id: The RNA type identifier.
149696
+ :type id: str | None
149697
+ :param default:
149698
+ :return: The class or default when not found.
149699
+ :rtype: typing.Any
149700
+ """
149701
+
149528
149702
  class GeometryNodeMeshBoolean(GeometryNode, NodeInternal, Node, bpy_struct):
149529
149703
  """Cut, subtract, or join multiple mesh inputs"""
149530
149704
 
@@ -154250,6 +154424,12 @@ class GeometryNodeToolSetSelection(GeometryNode, NodeInternal, Node, bpy_struct)
154250
154424
  :type: bpy.typing.AttributeDomainPointEdgeFaceCurveItems
154251
154425
  """
154252
154426
 
154427
+ selection_type: typing.Literal["BOOLEAN", "FLOAT"]
154428
+ """
154429
+
154430
+ :type: typing.Literal['BOOLEAN','FLOAT']
154431
+ """
154432
+
154253
154433
  @classmethod
154254
154434
  def is_registered_node_type(cls) -> bool:
154255
154435
  """True if a registered node type
@@ -155254,29 +155434,29 @@ class Gizmo(bpy_struct):
155254
155434
  :type: bool
155255
155435
  """
155256
155436
 
155257
- def draw(self, context: Context):
155437
+ def draw(self, context: Context | None):
155258
155438
  """
155259
155439
 
155260
155440
  :param context:
155261
- :type context: Context
155441
+ :type context: Context | None
155262
155442
  """
155263
155443
 
155264
- def draw_select(self, context: Context, select_id: int | None = 0):
155444
+ def draw_select(self, context: Context | None, select_id: int | None = 0):
155265
155445
  """
155266
155446
 
155267
155447
  :param context:
155268
- :type context: Context
155448
+ :type context: Context | None
155269
155449
  :param select_id:
155270
155450
  :type select_id: int | None
155271
155451
  """
155272
155452
 
155273
155453
  def test_select(
155274
- self, context: Context, location: collections.abc.Iterable[int]
155454
+ self, context: Context | None, location: collections.abc.Iterable[int]
155275
155455
  ) -> int:
155276
155456
  """
155277
155457
 
155278
155458
  :param context:
155279
- :type context: Context
155459
+ :type context: Context | None
155280
155460
  :param location: Location, Region coordinates
155281
155461
  :type location: collections.abc.Iterable[int]
155282
155462
  :return: Use -1 to skip this gizmo
@@ -155285,14 +155465,14 @@ class Gizmo(bpy_struct):
155285
155465
 
155286
155466
  def modal(
155287
155467
  self,
155288
- context: Context,
155468
+ context: Context | None,
155289
155469
  event: Event,
155290
155470
  tweak: set[typing.Literal["PRECISE", "SNAP"]] | None,
155291
155471
  ) -> set[bpy.typing.OperatorReturnItems]:
155292
155472
  """
155293
155473
 
155294
155474
  :param context:
155295
- :type context: Context
155475
+ :type context: Context | None
155296
155476
  :param event:
155297
155477
  :type event: Event
155298
155478
  :param tweak: Tweak
@@ -155303,23 +155483,23 @@ class Gizmo(bpy_struct):
155303
155483
 
155304
155484
  def setup(self): ...
155305
155485
  def invoke(
155306
- self, context: Context, event: Event
155486
+ self, context: Context | None, event: Event
155307
155487
  ) -> set[bpy.typing.OperatorReturnItems]:
155308
155488
  """
155309
155489
 
155310
155490
  :param context:
155311
- :type context: Context
155491
+ :type context: Context | None
155312
155492
  :param event:
155313
155493
  :type event: Event
155314
155494
  :return: result
155315
155495
  :rtype: set[bpy.typing.OperatorReturnItems]
155316
155496
  """
155317
155497
 
155318
- def exit(self, context: Context, cancel: bool | None):
155498
+ def exit(self, context: Context | None, cancel: bool | None):
155319
155499
  """
155320
155500
 
155321
155501
  :param context:
155322
- :type context: Context
155502
+ :type context: Context | None
155323
155503
  :param cancel: Cancel, otherwise confirm
155324
155504
  :type cancel: bool | None
155325
155505
  """
@@ -155569,11 +155749,11 @@ class GizmoGroup(bpy_struct):
155569
155749
  """
155570
155750
 
155571
155751
  @classmethod
155572
- def poll(cls, context: Context) -> bool:
155752
+ def poll(cls, context: Context | None) -> bool:
155573
155753
  """Test if the gizmo group can be called or not
155574
155754
 
155575
155755
  :param context:
155576
- :type context: Context
155756
+ :type context: Context | None
155577
155757
  :return:
155578
155758
  :rtype: bool
155579
155759
  """
@@ -155588,32 +155768,32 @@ class GizmoGroup(bpy_struct):
155588
155768
  :rtype: KeyMap
155589
155769
  """
155590
155770
 
155591
- def setup(self, context: Context):
155771
+ def setup(self, context: Context | None):
155592
155772
  """Create gizmos function for the gizmo group
155593
155773
 
155594
155774
  :param context:
155595
- :type context: Context
155775
+ :type context: Context | None
155596
155776
  """
155597
155777
 
155598
- def refresh(self, context: Context):
155778
+ def refresh(self, context: Context | None):
155599
155779
  """Refresh data (called on common state changes such as selection)
155600
155780
 
155601
155781
  :param context:
155602
- :type context: Context
155782
+ :type context: Context | None
155603
155783
  """
155604
155784
 
155605
- def draw_prepare(self, context: Context):
155785
+ def draw_prepare(self, context: Context | None):
155606
155786
  """Run before each redraw
155607
155787
 
155608
155788
  :param context:
155609
- :type context: Context
155789
+ :type context: Context | None
155610
155790
  """
155611
155791
 
155612
- def invoke_prepare(self, context: Context, gizmo: Gizmo):
155792
+ def invoke_prepare(self, context: Context | None, gizmo: Gizmo):
155613
155793
  """Run before invoke
155614
155794
 
155615
155795
  :param context:
155616
- :type context: Context
155796
+ :type context: Context | None
155617
155797
  :param gizmo:
155618
155798
  :type gizmo: Gizmo
155619
155799
  """
@@ -160728,11 +160908,11 @@ class Header(bpy_struct):
160728
160908
  :type: UILayout
160729
160909
  """
160730
160910
 
160731
- def draw(self, context: Context):
160911
+ def draw(self, context: Context | None):
160732
160912
  """Draw UI elements into the header UI layout
160733
160913
 
160734
160914
  :param context:
160735
- :type context: Context
160915
+ :type context: Context | None
160736
160916
  """
160737
160917
 
160738
160918
  @classmethod
@@ -164091,29 +164271,29 @@ class KeyingSetInfo(bpy_struct):
164091
164271
  :type: set[bpy.typing.KeyingFlagItems]
164092
164272
  """
164093
164273
 
164094
- def poll(self, context: Context) -> bool:
164274
+ def poll(self, context: Context | None) -> bool:
164095
164275
  """Test if Keying Set can be used or not
164096
164276
 
164097
164277
  :param context:
164098
- :type context: Context
164278
+ :type context: Context | None
164099
164279
  :return:
164100
164280
  :rtype: bool
164101
164281
  """
164102
164282
 
164103
- def iterator(self, context: Context, ks: KeyingSet | None):
164283
+ def iterator(self, context: Context | None, ks: KeyingSet | None):
164104
164284
  """Call generate() on the structs which have properties to be keyframed
164105
164285
 
164106
164286
  :param context:
164107
- :type context: Context
164287
+ :type context: Context | None
164108
164288
  :param ks:
164109
164289
  :type ks: KeyingSet | None
164110
164290
  """
164111
164291
 
164112
- def generate(self, context: Context, ks: KeyingSet | None, data: typing.Any):
164292
+ def generate(self, context: Context | None, ks: KeyingSet | None, data: typing.Any):
164113
164293
  """Add Paths to the Keying Set to keyframe the properties of the given data
164114
164294
 
164115
164295
  :param context:
164116
- :type context: Context
164296
+ :type context: Context | None
164117
164297
  :param ks:
164118
164298
  :type ks: KeyingSet | None
164119
164299
  :param data:
@@ -169763,20 +169943,20 @@ class Macro(bpy_struct):
169763
169943
  """
169764
169944
 
169765
169945
  @classmethod
169766
- def poll(cls, context: Context) -> bool:
169946
+ def poll(cls, context: Context | None) -> bool:
169767
169947
  """Test if the operator can be called or not
169768
169948
 
169769
169949
  :param context:
169770
- :type context: Context
169950
+ :type context: Context | None
169771
169951
  :return:
169772
169952
  :rtype: bool
169773
169953
  """
169774
169954
 
169775
- def draw(self, context: Context):
169955
+ def draw(self, context: Context | None):
169776
169956
  """Draw function for the operator
169777
169957
 
169778
169958
  :param context:
169779
- :type context: Context
169959
+ :type context: Context | None
169780
169960
  """
169781
169961
 
169782
169962
  @classmethod
@@ -171193,20 +171373,20 @@ class Menu(bpy_struct):
171193
171373
  """
171194
171374
 
171195
171375
  @classmethod
171196
- def poll(cls, context: Context) -> bool:
171376
+ def poll(cls, context: Context | None) -> bool:
171197
171377
  """If this method returns a non-null output, then the menu can be drawn
171198
171378
 
171199
171379
  :param context:
171200
- :type context: Context
171380
+ :type context: Context | None
171201
171381
  :return:
171202
171382
  :rtype: bool
171203
171383
  """
171204
171384
 
171205
- def draw(self, context: Context):
171385
+ def draw(self, context: Context | None):
171206
171386
  """Draw UI elements into the menu UI layout
171207
171387
 
171208
171388
  :param context:
171209
- :type context: Context
171389
+ :type context: Context | None
171210
171390
  """
171211
171391
 
171212
171392
  @classmethod
@@ -176229,11 +176409,11 @@ class Node(bpy_struct):
176229
176409
  :type: float
176230
176410
  """
176231
176411
 
176232
- def socket_value_update(self, context: Context):
176412
+ def socket_value_update(self, context: Context | None):
176233
176413
  """Update after property changes
176234
176414
 
176235
176415
  :param context:
176236
- :type context: Context
176416
+ :type context: Context | None
176237
176417
  """
176238
176418
 
176239
176419
  @classmethod
@@ -176273,11 +176453,11 @@ class Node(bpy_struct):
176273
176453
  :type link: NodeLink
176274
176454
  """
176275
176455
 
176276
- def init(self, context: Context):
176456
+ def init(self, context: Context | None):
176277
176457
  """Initialize a new instance of this node
176278
176458
 
176279
176459
  :param context:
176280
- :type context: Context
176460
+ :type context: Context | None
176281
176461
  """
176282
176462
 
176283
176463
  def copy(self, node: typing_extensions.Self):
@@ -176290,20 +176470,20 @@ class Node(bpy_struct):
176290
176470
  def free(self):
176291
176471
  """Clean up node on removal"""
176292
176472
 
176293
- def draw_buttons(self, context: Context, layout: UILayout):
176473
+ def draw_buttons(self, context: Context | None, layout: UILayout):
176294
176474
  """Draw node buttons
176295
176475
 
176296
176476
  :param context:
176297
- :type context: Context
176477
+ :type context: Context | None
176298
176478
  :param layout: Layout, Layout in the UI
176299
176479
  :type layout: UILayout
176300
176480
  """
176301
176481
 
176302
- def draw_buttons_ext(self, context: Context, layout: UILayout):
176482
+ def draw_buttons_ext(self, context: Context | None, layout: UILayout):
176303
176483
  """Draw node buttons in the sidebar
176304
176484
 
176305
176485
  :param context:
176306
- :type context: Context
176486
+ :type context: Context | None
176307
176487
  :param layout: Layout, Layout in the UI
176308
176488
  :type layout: UILayout
176309
176489
  """
@@ -176799,20 +176979,20 @@ class NodeInternal(Node, bpy_struct):
176799
176979
  def update(self):
176800
176980
  """Update on node graph topology changes (adding or removing nodes and links)"""
176801
176981
 
176802
- def draw_buttons(self, context: Context, layout: UILayout):
176982
+ def draw_buttons(self, context: Context | None, layout: UILayout):
176803
176983
  """Draw node buttons
176804
176984
 
176805
176985
  :param context:
176806
- :type context: Context
176986
+ :type context: Context | None
176807
176987
  :param layout: Layout, Layout in the UI
176808
176988
  :type layout: UILayout
176809
176989
  """
176810
176990
 
176811
- def draw_buttons_ext(self, context: Context, layout: UILayout):
176991
+ def draw_buttons_ext(self, context: Context | None, layout: UILayout):
176812
176992
  """Draw node buttons in the sidebar
176813
176993
 
176814
176994
  :param context:
176815
- :type context: Context
176995
+ :type context: Context | None
176816
176996
  :param layout: Layout, Layout in the UI
176817
176997
  :type layout: UILayout
176818
176998
  """
@@ -177229,11 +177409,11 @@ class NodeSocket(bpy_struct):
177229
177409
  links: typing.Any
177230
177410
  """ List of node links from or to this socket.(readonly)"""
177231
177411
 
177232
- def draw(self, context: Context, layout: UILayout, node: Node, text: str):
177412
+ def draw(self, context: Context | None, layout: UILayout, node: Node, text: str):
177233
177413
  """Draw socket
177234
177414
 
177235
177415
  :param context:
177236
- :type context: Context
177416
+ :type context: Context | None
177237
177417
  :param layout: Layout, Layout in the UI
177238
177418
  :type layout: UILayout
177239
177419
  :param node: Node, Node the socket belongs to
@@ -177242,11 +177422,11 @@ class NodeSocket(bpy_struct):
177242
177422
  :type text: str
177243
177423
  """
177244
177424
 
177245
- def draw_color(self, context: Context, node: Node) -> bpy_prop_array[float]:
177425
+ def draw_color(self, context: Context | None, node: Node) -> bpy_prop_array[float]:
177246
177426
  """Color of the socket icon
177247
177427
 
177248
177428
  :param context:
177249
- :type context: Context
177429
+ :type context: Context | None
177250
177430
  :param node: Node, Node the socket belongs to
177251
177431
  :type node: Node
177252
177432
  :return: Color
@@ -178153,11 +178333,11 @@ class NodeSocketStandard(NodeSocket, bpy_struct):
178153
178333
  links: typing.Any
178154
178334
  """ List of node links from or to this socket.(readonly)"""
178155
178335
 
178156
- def draw(self, context: Context, layout: UILayout, node: Node, text: str):
178336
+ def draw(self, context: Context | None, layout: UILayout, node: Node, text: str):
178157
178337
  """Draw socket
178158
178338
 
178159
178339
  :param context:
178160
- :type context: Context
178340
+ :type context: Context | None
178161
178341
  :param layout: Layout, Layout in the UI
178162
178342
  :type layout: UILayout
178163
178343
  :param node: Node, Node the socket belongs to
@@ -178166,11 +178346,11 @@ class NodeSocketStandard(NodeSocket, bpy_struct):
178166
178346
  :type text: str
178167
178347
  """
178168
178348
 
178169
- def draw_color(self, context: Context, node: Node) -> bpy_prop_array[float]:
178349
+ def draw_color(self, context: Context | None, node: Node) -> bpy_prop_array[float]:
178170
178350
  """Color of the socket icon
178171
178351
 
178172
178352
  :param context:
178173
- :type context: Context
178353
+ :type context: Context | None
178174
178354
  :param node: Node, Node the socket belongs to
178175
178355
  :type node: Node
178176
178356
  :return: Color
@@ -178679,11 +178859,11 @@ class NodeTree(ID, bpy_struct):
178679
178859
  :type: mathutils.Vector
178680
178860
  """
178681
178861
 
178682
- def interface_update(self, context: Context):
178862
+ def interface_update(self, context: Context | None):
178683
178863
  """Updated node group interface
178684
178864
 
178685
178865
  :param context:
178686
- :type context: Context
178866
+ :type context: Context | None
178687
178867
  """
178688
178868
 
178689
178869
  def contains_tree(self, sub_tree: typing_extensions.Self) -> bool:
@@ -178696,11 +178876,11 @@ class NodeTree(ID, bpy_struct):
178696
178876
  """
178697
178877
 
178698
178878
  @classmethod
178699
- def poll(cls, context: Context) -> bool:
178879
+ def poll(cls, context: Context | None) -> bool:
178700
178880
  """Check visibility in the editor
178701
178881
 
178702
178882
  :param context:
178703
- :type context: Context
178883
+ :type context: Context | None
178704
178884
  :return:
178705
178885
  :rtype: bool
178706
178886
  """
@@ -178709,11 +178889,11 @@ class NodeTree(ID, bpy_struct):
178709
178889
  """Update on editor changes"""
178710
178890
 
178711
178891
  @classmethod
178712
- def get_from_context(cls, context: Context):
178892
+ def get_from_context(cls, context: Context | None):
178713
178893
  """Get a node tree from the context
178714
178894
 
178715
178895
  :param context:
178716
- :type context: Context
178896
+ :type context: Context | None
178717
178897
  :return: result_1, Active node tree from context, `NodeTree`
178718
178898
 
178719
178899
  result_2, ID data-block that owns the node tree, `ID`
@@ -179087,11 +179267,11 @@ class NodeTreeInterfaceSocket(NodeTreeInterfaceItem, bpy_struct):
179087
179267
  :type: str
179088
179268
  """
179089
179269
 
179090
- def draw(self, context: Context, layout: UILayout):
179270
+ def draw(self, context: Context | None, layout: UILayout):
179091
179271
  """Draw properties of the socket interface
179092
179272
 
179093
179273
  :param context:
179094
- :type context: Context
179274
+ :type context: Context | None
179095
179275
  :param layout: Layout, Layout in the UI
179096
179276
  :type layout: UILayout
179097
179277
  """
@@ -179149,11 +179329,11 @@ class NodeTreeInterfaceSocketBool(
179149
179329
  :type: bool
179150
179330
  """
179151
179331
 
179152
- def draw(self, context: Context, layout: UILayout):
179332
+ def draw(self, context: Context | None, layout: UILayout):
179153
179333
  """Draw interface socket settings
179154
179334
 
179155
179335
  :param context:
179156
- :type context: Context
179336
+ :type context: Context | None
179157
179337
  :param layout: Layout, Layout in the UI
179158
179338
  :type layout: UILayout
179159
179339
  """
@@ -179211,11 +179391,11 @@ class NodeTreeInterfaceSocketCollection(
179211
179391
  :type: Collection | None
179212
179392
  """
179213
179393
 
179214
- def draw(self, context: Context, layout: UILayout):
179394
+ def draw(self, context: Context | None, layout: UILayout):
179215
179395
  """Draw interface socket settings
179216
179396
 
179217
179397
  :param context:
179218
- :type context: Context
179398
+ :type context: Context | None
179219
179399
  :param layout: Layout, Layout in the UI
179220
179400
  :type layout: UILayout
179221
179401
  """
@@ -179273,11 +179453,11 @@ class NodeTreeInterfaceSocketColor(
179273
179453
  :type: bpy_prop_array[float]
179274
179454
  """
179275
179455
 
179276
- def draw(self, context: Context, layout: UILayout):
179456
+ def draw(self, context: Context | None, layout: UILayout):
179277
179457
  """Draw interface socket settings
179278
179458
 
179279
179459
  :param context:
179280
- :type context: Context
179460
+ :type context: Context | None
179281
179461
  :param layout: Layout, Layout in the UI
179282
179462
  :type layout: UILayout
179283
179463
  """
@@ -179353,11 +179533,11 @@ class NodeTreeInterfaceSocketFloat(
179353
179533
  :type: str
179354
179534
  """
179355
179535
 
179356
- def draw(self, context: Context, layout: UILayout):
179536
+ def draw(self, context: Context | None, layout: UILayout):
179357
179537
  """Draw interface socket settings
179358
179538
 
179359
179539
  :param context:
179360
- :type context: Context
179540
+ :type context: Context | None
179361
179541
  :param layout: Layout, Layout in the UI
179362
179542
  :type layout: UILayout
179363
179543
  """
@@ -179433,11 +179613,11 @@ class NodeTreeInterfaceSocketFloatAngle(
179433
179613
  :type: str
179434
179614
  """
179435
179615
 
179436
- def draw(self, context: Context, layout: UILayout):
179616
+ def draw(self, context: Context | None, layout: UILayout):
179437
179617
  """Draw interface socket settings
179438
179618
 
179439
179619
  :param context:
179440
- :type context: Context
179620
+ :type context: Context | None
179441
179621
  :param layout: Layout, Layout in the UI
179442
179622
  :type layout: UILayout
179443
179623
  """
@@ -179513,11 +179693,11 @@ class NodeTreeInterfaceSocketFloatColorTemperature(
179513
179693
  :type: str
179514
179694
  """
179515
179695
 
179516
- def draw(self, context: Context, layout: UILayout):
179696
+ def draw(self, context: Context | None, layout: UILayout):
179517
179697
  """Draw interface socket settings
179518
179698
 
179519
179699
  :param context:
179520
- :type context: Context
179700
+ :type context: Context | None
179521
179701
  :param layout: Layout, Layout in the UI
179522
179702
  :type layout: UILayout
179523
179703
  """
@@ -179593,11 +179773,11 @@ class NodeTreeInterfaceSocketFloatDistance(
179593
179773
  :type: str
179594
179774
  """
179595
179775
 
179596
- def draw(self, context: Context, layout: UILayout):
179776
+ def draw(self, context: Context | None, layout: UILayout):
179597
179777
  """Draw interface socket settings
179598
179778
 
179599
179779
  :param context:
179600
- :type context: Context
179780
+ :type context: Context | None
179601
179781
  :param layout: Layout, Layout in the UI
179602
179782
  :type layout: UILayout
179603
179783
  """
@@ -179673,11 +179853,11 @@ class NodeTreeInterfaceSocketFloatFactor(
179673
179853
  :type: str
179674
179854
  """
179675
179855
 
179676
- def draw(self, context: Context, layout: UILayout):
179856
+ def draw(self, context: Context | None, layout: UILayout):
179677
179857
  """Draw interface socket settings
179678
179858
 
179679
179859
  :param context:
179680
- :type context: Context
179860
+ :type context: Context | None
179681
179861
  :param layout: Layout, Layout in the UI
179682
179862
  :type layout: UILayout
179683
179863
  """
@@ -179753,11 +179933,11 @@ class NodeTreeInterfaceSocketFloatFrequency(
179753
179933
  :type: str
179754
179934
  """
179755
179935
 
179756
- def draw(self, context: Context, layout: UILayout):
179936
+ def draw(self, context: Context | None, layout: UILayout):
179757
179937
  """Draw interface socket settings
179758
179938
 
179759
179939
  :param context:
179760
- :type context: Context
179940
+ :type context: Context | None
179761
179941
  :param layout: Layout, Layout in the UI
179762
179942
  :type layout: UILayout
179763
179943
  """
@@ -179833,11 +180013,11 @@ class NodeTreeInterfaceSocketFloatPercentage(
179833
180013
  :type: str
179834
180014
  """
179835
180015
 
179836
- def draw(self, context: Context, layout: UILayout):
180016
+ def draw(self, context: Context | None, layout: UILayout):
179837
180017
  """Draw interface socket settings
179838
180018
 
179839
180019
  :param context:
179840
- :type context: Context
180020
+ :type context: Context | None
179841
180021
  :param layout: Layout, Layout in the UI
179842
180022
  :type layout: UILayout
179843
180023
  """
@@ -179913,11 +180093,11 @@ class NodeTreeInterfaceSocketFloatTime(
179913
180093
  :type: str
179914
180094
  """
179915
180095
 
179916
- def draw(self, context: Context, layout: UILayout):
180096
+ def draw(self, context: Context | None, layout: UILayout):
179917
180097
  """Draw interface socket settings
179918
180098
 
179919
180099
  :param context:
179920
- :type context: Context
180100
+ :type context: Context | None
179921
180101
  :param layout: Layout, Layout in the UI
179922
180102
  :type layout: UILayout
179923
180103
  """
@@ -179993,11 +180173,11 @@ class NodeTreeInterfaceSocketFloatTimeAbsolute(
179993
180173
  :type: str
179994
180174
  """
179995
180175
 
179996
- def draw(self, context: Context, layout: UILayout):
180176
+ def draw(self, context: Context | None, layout: UILayout):
179997
180177
  """Draw interface socket settings
179998
180178
 
179999
180179
  :param context:
180000
- :type context: Context
180180
+ :type context: Context | None
180001
180181
  :param layout: Layout, Layout in the UI
180002
180182
  :type layout: UILayout
180003
180183
  """
@@ -180073,11 +180253,11 @@ class NodeTreeInterfaceSocketFloatUnsigned(
180073
180253
  :type: str
180074
180254
  """
180075
180255
 
180076
- def draw(self, context: Context, layout: UILayout):
180256
+ def draw(self, context: Context | None, layout: UILayout):
180077
180257
  """Draw interface socket settings
180078
180258
 
180079
180259
  :param context:
180080
- :type context: Context
180260
+ :type context: Context | None
180081
180261
  :param layout: Layout, Layout in the UI
180082
180262
  :type layout: UILayout
180083
180263
  """
@@ -180153,11 +180333,11 @@ class NodeTreeInterfaceSocketFloatWavelength(
180153
180333
  :type: str
180154
180334
  """
180155
180335
 
180156
- def draw(self, context: Context, layout: UILayout):
180336
+ def draw(self, context: Context | None, layout: UILayout):
180157
180337
  """Draw interface socket settings
180158
180338
 
180159
180339
  :param context:
180160
- :type context: Context
180340
+ :type context: Context | None
180161
180341
  :param layout: Layout, Layout in the UI
180162
180342
  :type layout: UILayout
180163
180343
  """
@@ -180209,11 +180389,11 @@ class NodeTreeInterfaceSocketGeometry(
180209
180389
  ):
180210
180390
  """Geometry socket of a node"""
180211
180391
 
180212
- def draw(self, context: Context, layout: UILayout):
180392
+ def draw(self, context: Context | None, layout: UILayout):
180213
180393
  """Draw interface socket settings
180214
180394
 
180215
180395
  :param context:
180216
- :type context: Context
180396
+ :type context: Context | None
180217
180397
  :param layout: Layout, Layout in the UI
180218
180398
  :type layout: UILayout
180219
180399
  """
@@ -180271,11 +180451,11 @@ class NodeTreeInterfaceSocketImage(
180271
180451
  :type: Image | None
180272
180452
  """
180273
180453
 
180274
- def draw(self, context: Context, layout: UILayout):
180454
+ def draw(self, context: Context | None, layout: UILayout):
180275
180455
  """Draw interface socket settings
180276
180456
 
180277
180457
  :param context:
180278
- :type context: Context
180458
+ :type context: Context | None
180279
180459
  :param layout: Layout, Layout in the UI
180280
180460
  :type layout: UILayout
180281
180461
  """
@@ -180351,11 +180531,11 @@ class NodeTreeInterfaceSocketInt(
180351
180531
  :type: str
180352
180532
  """
180353
180533
 
180354
- def draw(self, context: Context, layout: UILayout):
180534
+ def draw(self, context: Context | None, layout: UILayout):
180355
180535
  """Draw interface socket settings
180356
180536
 
180357
180537
  :param context:
180358
- :type context: Context
180538
+ :type context: Context | None
180359
180539
  :param layout: Layout, Layout in the UI
180360
180540
  :type layout: UILayout
180361
180541
  """
@@ -180431,11 +180611,11 @@ class NodeTreeInterfaceSocketIntFactor(
180431
180611
  :type: str
180432
180612
  """
180433
180613
 
180434
- def draw(self, context: Context, layout: UILayout):
180614
+ def draw(self, context: Context | None, layout: UILayout):
180435
180615
  """Draw interface socket settings
180436
180616
 
180437
180617
  :param context:
180438
- :type context: Context
180618
+ :type context: Context | None
180439
180619
  :param layout: Layout, Layout in the UI
180440
180620
  :type layout: UILayout
180441
180621
  """
@@ -180511,11 +180691,11 @@ class NodeTreeInterfaceSocketIntPercentage(
180511
180691
  :type: str
180512
180692
  """
180513
180693
 
180514
- def draw(self, context: Context, layout: UILayout):
180694
+ def draw(self, context: Context | None, layout: UILayout):
180515
180695
  """Draw interface socket settings
180516
180696
 
180517
180697
  :param context:
180518
- :type context: Context
180698
+ :type context: Context | None
180519
180699
  :param layout: Layout, Layout in the UI
180520
180700
  :type layout: UILayout
180521
180701
  """
@@ -180591,11 +180771,11 @@ class NodeTreeInterfaceSocketIntUnsigned(
180591
180771
  :type: str
180592
180772
  """
180593
180773
 
180594
- def draw(self, context: Context, layout: UILayout):
180774
+ def draw(self, context: Context | None, layout: UILayout):
180595
180775
  """Draw interface socket settings
180596
180776
 
180597
180777
  :param context:
180598
- :type context: Context
180778
+ :type context: Context | None
180599
180779
  :param layout: Layout, Layout in the UI
180600
180780
  :type layout: UILayout
180601
180781
  """
@@ -180653,11 +180833,11 @@ class NodeTreeInterfaceSocketMaterial(
180653
180833
  :type: Material | None
180654
180834
  """
180655
180835
 
180656
- def draw(self, context: Context, layout: UILayout):
180836
+ def draw(self, context: Context | None, layout: UILayout):
180657
180837
  """Draw interface socket settings
180658
180838
 
180659
180839
  :param context:
180660
- :type context: Context
180840
+ :type context: Context | None
180661
180841
  :param layout: Layout, Layout in the UI
180662
180842
  :type layout: UILayout
180663
180843
  """
@@ -180709,11 +180889,11 @@ class NodeTreeInterfaceSocketMatrix(
180709
180889
  ):
180710
180890
  """Matrix value socket of a node"""
180711
180891
 
180712
- def draw(self, context: Context, layout: UILayout):
180892
+ def draw(self, context: Context | None, layout: UILayout):
180713
180893
  """Draw interface socket settings
180714
180894
 
180715
180895
  :param context:
180716
- :type context: Context
180896
+ :type context: Context | None
180717
180897
  :param layout: Layout, Layout in the UI
180718
180898
  :type layout: UILayout
180719
180899
  """
@@ -180771,11 +180951,11 @@ class NodeTreeInterfaceSocketMenu(
180771
180951
  :type: str
180772
180952
  """
180773
180953
 
180774
- def draw(self, context: Context, layout: UILayout):
180954
+ def draw(self, context: Context | None, layout: UILayout):
180775
180955
  """Draw interface socket settings
180776
180956
 
180777
180957
  :param context:
180778
- :type context: Context
180958
+ :type context: Context | None
180779
180959
  :param layout: Layout, Layout in the UI
180780
180960
  :type layout: UILayout
180781
180961
  """
@@ -180833,11 +181013,11 @@ class NodeTreeInterfaceSocketObject(
180833
181013
  :type: Object | None
180834
181014
  """
180835
181015
 
180836
- def draw(self, context: Context, layout: UILayout):
181016
+ def draw(self, context: Context | None, layout: UILayout):
180837
181017
  """Draw interface socket settings
180838
181018
 
180839
181019
  :param context:
180840
- :type context: Context
181020
+ :type context: Context | None
180841
181021
  :param layout: Layout, Layout in the UI
180842
181022
  :type layout: UILayout
180843
181023
  """
@@ -180895,11 +181075,11 @@ class NodeTreeInterfaceSocketRotation(
180895
181075
  :type: mathutils.Euler
180896
181076
  """
180897
181077
 
180898
- def draw(self, context: Context, layout: UILayout):
181078
+ def draw(self, context: Context | None, layout: UILayout):
180899
181079
  """Draw interface socket settings
180900
181080
 
180901
181081
  :param context:
180902
- :type context: Context
181082
+ :type context: Context | None
180903
181083
  :param layout: Layout, Layout in the UI
180904
181084
  :type layout: UILayout
180905
181085
  """
@@ -180951,11 +181131,11 @@ class NodeTreeInterfaceSocketShader(
180951
181131
  ):
180952
181132
  """Shader socket of a node"""
180953
181133
 
180954
- def draw(self, context: Context, layout: UILayout):
181134
+ def draw(self, context: Context | None, layout: UILayout):
180955
181135
  """Draw interface socket settings
180956
181136
 
180957
181137
  :param context:
180958
- :type context: Context
181138
+ :type context: Context | None
180959
181139
  :param layout: Layout, Layout in the UI
180960
181140
  :type layout: UILayout
180961
181141
  """
@@ -181019,11 +181199,11 @@ class NodeTreeInterfaceSocketString(
181019
181199
  :type: str
181020
181200
  """
181021
181201
 
181022
- def draw(self, context: Context, layout: UILayout):
181202
+ def draw(self, context: Context | None, layout: UILayout):
181023
181203
  """Draw interface socket settings
181024
181204
 
181025
181205
  :param context:
181026
- :type context: Context
181206
+ :type context: Context | None
181027
181207
  :param layout: Layout, Layout in the UI
181028
181208
  :type layout: UILayout
181029
181209
  """
@@ -181087,11 +181267,11 @@ class NodeTreeInterfaceSocketStringFilePath(
181087
181267
  :type: str
181088
181268
  """
181089
181269
 
181090
- def draw(self, context: Context, layout: UILayout):
181270
+ def draw(self, context: Context | None, layout: UILayout):
181091
181271
  """Draw interface socket settings
181092
181272
 
181093
181273
  :param context:
181094
- :type context: Context
181274
+ :type context: Context | None
181095
181275
  :param layout: Layout, Layout in the UI
181096
181276
  :type layout: UILayout
181097
181277
  """
@@ -181149,11 +181329,11 @@ class NodeTreeInterfaceSocketTexture(
181149
181329
  :type: Texture | None
181150
181330
  """
181151
181331
 
181152
- def draw(self, context: Context, layout: UILayout):
181332
+ def draw(self, context: Context | None, layout: UILayout):
181153
181333
  """Draw interface socket settings
181154
181334
 
181155
181335
  :param context:
181156
- :type context: Context
181336
+ :type context: Context | None
181157
181337
  :param layout: Layout, Layout in the UI
181158
181338
  :type layout: UILayout
181159
181339
  """
@@ -181229,11 +181409,11 @@ class NodeTreeInterfaceSocketVector(
181229
181409
  :type: str
181230
181410
  """
181231
181411
 
181232
- def draw(self, context: Context, layout: UILayout):
181412
+ def draw(self, context: Context | None, layout: UILayout):
181233
181413
  """Draw interface socket settings
181234
181414
 
181235
181415
  :param context:
181236
- :type context: Context
181416
+ :type context: Context | None
181237
181417
  :param layout: Layout, Layout in the UI
181238
181418
  :type layout: UILayout
181239
181419
  """
@@ -181309,11 +181489,11 @@ class NodeTreeInterfaceSocketVectorAcceleration(
181309
181489
  :type: str
181310
181490
  """
181311
181491
 
181312
- def draw(self, context: Context, layout: UILayout):
181492
+ def draw(self, context: Context | None, layout: UILayout):
181313
181493
  """Draw interface socket settings
181314
181494
 
181315
181495
  :param context:
181316
- :type context: Context
181496
+ :type context: Context | None
181317
181497
  :param layout: Layout, Layout in the UI
181318
181498
  :type layout: UILayout
181319
181499
  """
@@ -181389,11 +181569,11 @@ class NodeTreeInterfaceSocketVectorDirection(
181389
181569
  :type: str
181390
181570
  """
181391
181571
 
181392
- def draw(self, context: Context, layout: UILayout):
181572
+ def draw(self, context: Context | None, layout: UILayout):
181393
181573
  """Draw interface socket settings
181394
181574
 
181395
181575
  :param context:
181396
- :type context: Context
181576
+ :type context: Context | None
181397
181577
  :param layout: Layout, Layout in the UI
181398
181578
  :type layout: UILayout
181399
181579
  """
@@ -181469,11 +181649,11 @@ class NodeTreeInterfaceSocketVectorEuler(
181469
181649
  :type: str
181470
181650
  """
181471
181651
 
181472
- def draw(self, context: Context, layout: UILayout):
181652
+ def draw(self, context: Context | None, layout: UILayout):
181473
181653
  """Draw interface socket settings
181474
181654
 
181475
181655
  :param context:
181476
- :type context: Context
181656
+ :type context: Context | None
181477
181657
  :param layout: Layout, Layout in the UI
181478
181658
  :type layout: UILayout
181479
181659
  """
@@ -181549,11 +181729,11 @@ class NodeTreeInterfaceSocketVectorTranslation(
181549
181729
  :type: str
181550
181730
  """
181551
181731
 
181552
- def draw(self, context: Context, layout: UILayout):
181732
+ def draw(self, context: Context | None, layout: UILayout):
181553
181733
  """Draw interface socket settings
181554
181734
 
181555
181735
  :param context:
181556
- :type context: Context
181736
+ :type context: Context | None
181557
181737
  :param layout: Layout, Layout in the UI
181558
181738
  :type layout: UILayout
181559
181739
  """
@@ -181629,11 +181809,11 @@ class NodeTreeInterfaceSocketVectorVelocity(
181629
181809
  :type: str
181630
181810
  """
181631
181811
 
181632
- def draw(self, context: Context, layout: UILayout):
181812
+ def draw(self, context: Context | None, layout: UILayout):
181633
181813
  """Draw interface socket settings
181634
181814
 
181635
181815
  :param context:
181636
- :type context: Context
181816
+ :type context: Context | None
181637
181817
  :param layout: Layout, Layout in the UI
181638
181818
  :type layout: UILayout
181639
181819
  """
@@ -181709,11 +181889,11 @@ class NodeTreeInterfaceSocketVectorXYZ(
181709
181889
  :type: str
181710
181890
  """
181711
181891
 
181712
- def draw(self, context: Context, layout: UILayout):
181892
+ def draw(self, context: Context | None, layout: UILayout):
181713
181893
  """Draw interface socket settings
181714
181894
 
181715
181895
  :param context:
181716
- :type context: Context
181896
+ :type context: Context | None
181717
181897
  :param layout: Layout, Layout in the UI
181718
181898
  :type layout: UILayout
181719
181899
  """
@@ -183901,40 +184081,40 @@ expanding an operator into a menu.
183901
184081
  """
183902
184082
 
183903
184083
  @classmethod
183904
- def poll(cls, context: Context) -> bool:
184084
+ def poll(cls, context: Context | None) -> bool:
183905
184085
  """Test if the operator can be called or not
183906
184086
 
183907
184087
  :param context:
183908
- :type context: Context
184088
+ :type context: Context | None
183909
184089
  :return:
183910
184090
  :rtype: bool
183911
184091
  """
183912
184092
 
183913
- def execute(self, context: Context) -> set[bpy.typing.OperatorReturnItems]:
184093
+ def execute(self, context: Context | None) -> set[bpy.typing.OperatorReturnItems]:
183914
184094
  """Execute the operator
183915
184095
 
183916
184096
  :param context:
183917
- :type context: Context
184097
+ :type context: Context | None
183918
184098
  :return: result
183919
184099
  :rtype: set[bpy.typing.OperatorReturnItems]
183920
184100
  """
183921
184101
 
183922
- def check(self, context: Context) -> bool:
184102
+ def check(self, context: Context | None) -> bool:
183923
184103
  """Check the operator settings, return True to signal a change to redraw
183924
184104
 
183925
184105
  :param context:
183926
- :type context: Context
184106
+ :type context: Context | None
183927
184107
  :return: result
183928
184108
  :rtype: bool
183929
184109
  """
183930
184110
 
183931
184111
  def invoke(
183932
- self, context: Context, event: Event
184112
+ self, context: Context | None, event: Event
183933
184113
  ) -> set[bpy.typing.OperatorReturnItems]:
183934
184114
  """Invoke the operator
183935
184115
 
183936
184116
  :param context:
183937
- :type context: Context
184117
+ :type context: Context | None
183938
184118
  :param event:
183939
184119
  :type event: Event
183940
184120
  :return: result
@@ -183942,38 +184122,40 @@ expanding an operator into a menu.
183942
184122
  """
183943
184123
 
183944
184124
  def modal(
183945
- self, context: Context, event: Event
184125
+ self, context: Context | None, event: Event
183946
184126
  ) -> set[bpy.typing.OperatorReturnItems]:
183947
184127
  """Modal operator function
183948
184128
 
183949
184129
  :param context:
183950
- :type context: Context
184130
+ :type context: Context | None
183951
184131
  :param event:
183952
184132
  :type event: Event
183953
184133
  :return: result
183954
184134
  :rtype: set[bpy.typing.OperatorReturnItems]
183955
184135
  """
183956
184136
 
183957
- def draw(self, context: Context):
184137
+ def draw(self, context: Context | None):
183958
184138
  """Draw function for the operator
183959
184139
 
183960
184140
  :param context:
183961
- :type context: Context
184141
+ :type context: Context | None
183962
184142
  """
183963
184143
 
183964
- def cancel(self, context: Context):
184144
+ def cancel(self, context: Context | None):
183965
184145
  """Called when the operator is canceled
183966
184146
 
183967
184147
  :param context:
183968
- :type context: Context
184148
+ :type context: Context | None
183969
184149
  """
183970
184150
 
183971
184151
  @classmethod
183972
- def description(cls, context: Context, properties: OperatorProperties) -> str:
184152
+ def description(
184153
+ cls, context: Context | None, properties: OperatorProperties
184154
+ ) -> str:
183973
184155
  """Compute a description string that depends on parameters
183974
184156
 
183975
184157
  :param context:
183976
- :type context: Context
184158
+ :type context: Context | None
183977
184159
  :param properties:
183978
184160
  :type properties: OperatorProperties
183979
184161
  :return: result
@@ -184932,34 +185114,34 @@ class Panel(bpy_struct):
184932
185114
  """
184933
185115
 
184934
185116
  @classmethod
184935
- def poll(cls, context: Context) -> bool:
185117
+ def poll(cls, context: Context | None) -> bool:
184936
185118
  """If this method returns a non-null output, then the panel can be drawn
184937
185119
 
184938
185120
  :param context:
184939
- :type context: Context
185121
+ :type context: Context | None
184940
185122
  :return:
184941
185123
  :rtype: bool
184942
185124
  """
184943
185125
 
184944
- def draw(self, context: Context):
185126
+ def draw(self, context: Context | None):
184945
185127
  """Draw UI elements into the panel UI layout
184946
185128
 
184947
185129
  :param context:
184948
- :type context: Context
185130
+ :type context: Context | None
184949
185131
  """
184950
185132
 
184951
- def draw_header(self, context: Context):
185133
+ def draw_header(self, context: Context | None):
184952
185134
  """Draw UI elements into the panel's header UI layout
184953
185135
 
184954
185136
  :param context:
184955
- :type context: Context
185137
+ :type context: Context | None
184956
185138
  """
184957
185139
 
184958
- def draw_header_preset(self, context: Context):
185140
+ def draw_header_preset(self, context: Context | None):
184959
185141
  """Draw UI elements for presets in the panel's header
184960
185142
 
184961
185143
  :param context:
184962
- :type context: Context
185144
+ :type context: Context | None
184963
185145
  """
184964
185146
 
184965
185147
  @classmethod
@@ -191796,11 +191978,11 @@ class RenderEngine(bpy_struct):
191796
191978
  def render_frame_finish(self):
191797
191979
  """Perform finishing operations after all view layers in a frame were rendered"""
191798
191980
 
191799
- def draw(self, context: Context, depsgraph: Depsgraph | None):
191981
+ def draw(self, context: Context | None, depsgraph: Depsgraph | None):
191800
191982
  """Draw render image
191801
191983
 
191802
191984
  :param context:
191803
- :type context: Context
191985
+ :type context: Context | None
191804
191986
  :param depsgraph:
191805
191987
  :type depsgraph: Depsgraph | None
191806
191988
  """
@@ -191830,20 +192012,20 @@ class RenderEngine(bpy_struct):
191830
192012
  :type height: int | None
191831
192013
  """
191832
192014
 
191833
- def view_update(self, context: Context, depsgraph: Depsgraph | None):
192015
+ def view_update(self, context: Context | None, depsgraph: Depsgraph | None):
191834
192016
  """Update on data changes for viewport render
191835
192017
 
191836
192018
  :param context:
191837
- :type context: Context
192019
+ :type context: Context | None
191838
192020
  :param depsgraph:
191839
192021
  :type depsgraph: Depsgraph | None
191840
192022
  """
191841
192023
 
191842
- def view_draw(self, context: Context, depsgraph: Depsgraph | None):
192024
+ def view_draw(self, context: Context | None, depsgraph: Depsgraph | None):
191843
192025
  """Draw viewport render
191844
192026
 
191845
192027
  :param context:
191846
- :type context: Context
192028
+ :type context: Context | None
191847
192029
  :param depsgraph:
191848
192030
  :type depsgraph: Depsgraph | None
191849
192031
  """
@@ -222231,7 +222413,7 @@ class UIList(bpy_struct):
222231
222413
 
222232
222414
  def draw_item(
222233
222415
  self,
222234
- context: Context,
222416
+ context: Context | None,
222235
222417
  layout: UILayout,
222236
222418
  data: typing.Any | None,
222237
222419
  item: typing.Any | None,
@@ -222244,7 +222426,7 @@ class UIList(bpy_struct):
222244
222426
  """Draw an item in the list (NOTE: when you define your own draw_item function, you may want to check given 'item' is of the right type...)
222245
222427
 
222246
222428
  :param context:
222247
- :type context: Context
222429
+ :type context: Context | None
222248
222430
  :param layout: Layout to draw the item
222249
222431
  :type layout: UILayout
222250
222432
  :param data: Data from which to take Collection property
@@ -222263,20 +222445,22 @@ class UIList(bpy_struct):
222263
222445
  :type flt_flag: int | None
222264
222446
  """
222265
222447
 
222266
- def draw_filter(self, context: Context, layout: UILayout):
222448
+ def draw_filter(self, context: Context | None, layout: UILayout):
222267
222449
  """Draw filtering options
222268
222450
 
222269
222451
  :param context:
222270
- :type context: Context
222452
+ :type context: Context | None
222271
222453
  :param layout: Layout to draw the item
222272
222454
  :type layout: UILayout
222273
222455
  """
222274
222456
 
222275
- def filter_items(self, context: Context, data: typing.Any | None, property: str):
222457
+ def filter_items(
222458
+ self, context: Context | None, data: typing.Any | None, property: str
222459
+ ):
222276
222460
  """Filter and/or re-order items of the collection (output filter results in filter_flags, and reorder results in filter_neworder arrays)
222277
222461
 
222278
222462
  :param context:
222279
- :type context: Context
222463
+ :type context: Context | None
222280
222464
  :param data: Data from which to take Collection property
222281
222465
  :type data: typing.Any | None
222282
222466
  :param property: Identifier of property in data, for the collection
@@ -224760,12 +224944,36 @@ class View3DOverlay(bpy_struct):
224760
224944
  :type: float
224761
224945
  """
224762
224946
 
224947
+ gpencil_grid_color: mathutils.Color
224948
+ """ Canvas grid color
224949
+
224950
+ :type: mathutils.Color
224951
+ """
224952
+
224953
+ gpencil_grid_offset: bpy_prop_array[float]
224954
+ """ Canvas grid offset
224955
+
224956
+ :type: bpy_prop_array[float]
224957
+ """
224958
+
224763
224959
  gpencil_grid_opacity: float
224764
224960
  """ Canvas grid opacity
224765
224961
 
224766
224962
  :type: float
224767
224963
  """
224768
224964
 
224965
+ gpencil_grid_scale: mathutils.Vector
224966
+ """ Canvas grid scale
224967
+
224968
+ :type: mathutils.Vector
224969
+ """
224970
+
224971
+ gpencil_grid_subdivisions: int
224972
+ """ Canvas grid subdivisions
224973
+
224974
+ :type: int
224975
+ """
224976
+
224769
224977
  gpencil_vertex_paint_opacity: float
224770
224978
  """ Vertex Paint mix factor
224771
224979
 
@@ -229330,29 +229538,29 @@ class XrSessionState(bpy_struct):
229330
229538
  """
229331
229539
 
229332
229540
  @classmethod
229333
- def is_running(cls, context: Context) -> bool:
229541
+ def is_running(cls, context: Context | None) -> bool:
229334
229542
  """Query if the VR session is currently running
229335
229543
 
229336
229544
  :param context:
229337
- :type context: Context
229545
+ :type context: Context | None
229338
229546
  :return: Result
229339
229547
  :rtype: bool
229340
229548
  """
229341
229549
 
229342
229550
  @classmethod
229343
- def reset_to_base_pose(cls, context: Context):
229551
+ def reset_to_base_pose(cls, context: Context | None):
229344
229552
  """Force resetting of position and rotation deltas
229345
229553
 
229346
229554
  :param context:
229347
- :type context: Context
229555
+ :type context: Context | None
229348
229556
  """
229349
229557
 
229350
229558
  @classmethod
229351
- def action_set_create(cls, context: Context, actionmap: XrActionMap) -> bool:
229559
+ def action_set_create(cls, context: Context | None, actionmap: XrActionMap) -> bool:
229352
229560
  """Create a VR action set
229353
229561
 
229354
229562
  :param context:
229355
- :type context: Context
229563
+ :type context: Context | None
229356
229564
  :param actionmap:
229357
229565
  :type actionmap: XrActionMap
229358
229566
  :return: Result
@@ -229361,12 +229569,15 @@ class XrSessionState(bpy_struct):
229361
229569
 
229362
229570
  @classmethod
229363
229571
  def action_create(
229364
- cls, context: Context, actionmap: XrActionMap, actionmap_item: XrActionMapItem
229572
+ cls,
229573
+ context: Context | None,
229574
+ actionmap: XrActionMap,
229575
+ actionmap_item: XrActionMapItem,
229365
229576
  ) -> bool:
229366
229577
  """Create a VR action
229367
229578
 
229368
229579
  :param context:
229369
- :type context: Context
229580
+ :type context: Context | None
229370
229581
  :param actionmap:
229371
229582
  :type actionmap: XrActionMap
229372
229583
  :param actionmap_item:
@@ -229378,7 +229589,7 @@ class XrSessionState(bpy_struct):
229378
229589
  @classmethod
229379
229590
  def action_binding_create(
229380
229591
  cls,
229381
- context: Context,
229592
+ context: Context | None,
229382
229593
  actionmap: XrActionMap,
229383
229594
  actionmap_item: XrActionMapItem,
229384
229595
  actionmap_binding: XrActionMapBinding,
@@ -229386,7 +229597,7 @@ class XrSessionState(bpy_struct):
229386
229597
  """Create a VR action binding
229387
229598
 
229388
229599
  :param context:
229389
- :type context: Context
229600
+ :type context: Context | None
229390
229601
  :param actionmap:
229391
229602
  :type actionmap: XrActionMap
229392
229603
  :param actionmap_item:
@@ -229398,11 +229609,11 @@ class XrSessionState(bpy_struct):
229398
229609
  """
229399
229610
 
229400
229611
  @classmethod
229401
- def active_action_set_set(cls, context: Context, action_set: str) -> bool:
229612
+ def active_action_set_set(cls, context: Context | None, action_set: str) -> bool:
229402
229613
  """Set the active VR action set
229403
229614
 
229404
229615
  :param context:
229405
- :type context: Context
229616
+ :type context: Context | None
229406
229617
  :param action_set: Action Set, Action set name
229407
229618
  :type action_set: str
229408
229619
  :return: Result
@@ -229411,12 +229622,12 @@ class XrSessionState(bpy_struct):
229411
229622
 
229412
229623
  @classmethod
229413
229624
  def controller_pose_actions_set(
229414
- cls, context: Context, action_set: str, grip_action: str, aim_action: str
229625
+ cls, context: Context | None, action_set: str, grip_action: str, aim_action: str
229415
229626
  ) -> bool:
229416
229627
  """Set the actions that determine the VR controller poses
229417
229628
 
229418
229629
  :param context:
229419
- :type context: Context
229630
+ :type context: Context | None
229420
229631
  :param action_set: Action Set, Action set name
229421
229632
  :type action_set: str
229422
229633
  :param grip_action: Grip Action, Name of the action representing the controller grips
@@ -229429,12 +229640,16 @@ class XrSessionState(bpy_struct):
229429
229640
 
229430
229641
  @classmethod
229431
229642
  def action_state_get(
229432
- cls, context: Context, action_set_name: str, action_name: str, user_path: str
229643
+ cls,
229644
+ context: Context | None,
229645
+ action_set_name: str,
229646
+ action_name: str,
229647
+ user_path: str,
229433
229648
  ) -> bpy_prop_array[float]:
229434
229649
  """Get the current state of a VR action
229435
229650
 
229436
229651
  :param context:
229437
- :type context: Context
229652
+ :type context: Context | None
229438
229653
  :param action_set_name: Action Set, Action set name
229439
229654
  :type action_set_name: str
229440
229655
  :param action_name: Action, Action name
@@ -229448,7 +229663,7 @@ class XrSessionState(bpy_struct):
229448
229663
  @classmethod
229449
229664
  def haptic_action_apply(
229450
229665
  cls,
229451
- context: Context,
229666
+ context: Context | None,
229452
229667
  action_set_name: str,
229453
229668
  action_name: str,
229454
229669
  user_path: str,
@@ -229459,7 +229674,7 @@ class XrSessionState(bpy_struct):
229459
229674
  """Apply a VR haptic action
229460
229675
 
229461
229676
  :param context:
229462
- :type context: Context
229677
+ :type context: Context | None
229463
229678
  :param action_set_name: Action Set, Action set name
229464
229679
  :type action_set_name: str
229465
229680
  :param action_name: Action, Action name
@@ -229478,12 +229693,16 @@ class XrSessionState(bpy_struct):
229478
229693
 
229479
229694
  @classmethod
229480
229695
  def haptic_action_stop(
229481
- cls, context: Context, action_set_name: str, action_name: str, user_path: str
229696
+ cls,
229697
+ context: Context | None,
229698
+ action_set_name: str,
229699
+ action_name: str,
229700
+ user_path: str,
229482
229701
  ):
229483
229702
  """Stop a VR haptic action
229484
229703
 
229485
229704
  :param context:
229486
- :type context: Context
229705
+ :type context: Context | None
229487
229706
  :param action_set_name: Action Set, Action set name
229488
229707
  :type action_set_name: str
229489
229708
  :param action_name: Action, Action name
@@ -229494,12 +229713,12 @@ class XrSessionState(bpy_struct):
229494
229713
 
229495
229714
  @classmethod
229496
229715
  def controller_grip_location_get(
229497
- cls, context: Context, index: int | None
229716
+ cls, context: Context | None, index: int | None
229498
229717
  ) -> mathutils.Vector:
229499
229718
  """Get the last known controller grip location in world space
229500
229719
 
229501
229720
  :param context:
229502
- :type context: Context
229721
+ :type context: Context | None
229503
229722
  :param index: Index, Controller index
229504
229723
  :type index: int | None
229505
229724
  :return: Location, Controller grip location
@@ -229508,12 +229727,12 @@ class XrSessionState(bpy_struct):
229508
229727
 
229509
229728
  @classmethod
229510
229729
  def controller_grip_rotation_get(
229511
- cls, context: Context, index: int | None
229730
+ cls, context: Context | None, index: int | None
229512
229731
  ) -> mathutils.Quaternion:
229513
229732
  """Get the last known controller grip rotation (quaternion) in world space
229514
229733
 
229515
229734
  :param context:
229516
- :type context: Context
229735
+ :type context: Context | None
229517
229736
  :param index: Index, Controller index
229518
229737
  :type index: int | None
229519
229738
  :return: Rotation, Controller grip quaternion rotation
@@ -229522,12 +229741,12 @@ class XrSessionState(bpy_struct):
229522
229741
 
229523
229742
  @classmethod
229524
229743
  def controller_aim_location_get(
229525
- cls, context: Context, index: int | None
229744
+ cls, context: Context | None, index: int | None
229526
229745
  ) -> mathutils.Vector:
229527
229746
  """Get the last known controller aim location in world space
229528
229747
 
229529
229748
  :param context:
229530
- :type context: Context
229749
+ :type context: Context | None
229531
229750
  :param index: Index, Controller index
229532
229751
  :type index: int | None
229533
229752
  :return: Location, Controller aim location
@@ -229536,12 +229755,12 @@ class XrSessionState(bpy_struct):
229536
229755
 
229537
229756
  @classmethod
229538
229757
  def controller_aim_rotation_get(
229539
- cls, context: Context, index: int | None
229758
+ cls, context: Context | None, index: int | None
229540
229759
  ) -> mathutils.Quaternion:
229541
229760
  """Get the last known controller aim rotation (quaternion) in world space
229542
229761
 
229543
229762
  :param context:
229544
- :type context: Context
229763
+ :type context: Context | None
229545
229764
  :param index: Index, Controller index
229546
229765
  :type index: int | None
229547
229766
  :return: Rotation, Controller aim quaternion rotation
@@ -230278,6 +230497,8 @@ DATA_UL_bone_collections: bl_ui.properties_data_armature.DATA_UL_bone_collection
230278
230497
 
230279
230498
  DOPESHEET_HT_header: bl_ui.space_dopesheet.DOPESHEET_HT_header
230280
230499
 
230500
+ DOPESHEET_MT_action: bl_ui.space_dopesheet.DOPESHEET_MT_action
230501
+
230281
230502
  DOPESHEET_MT_channel: bl_ui.space_dopesheet.DOPESHEET_MT_channel
230282
230503
 
230283
230504
  DOPESHEET_MT_channel_context_menu: bl_ui.space_dopesheet.DOPESHEET_MT_channel_context_menu
@@ -232828,6 +233049,8 @@ VIEW3D_PT_overlay_geometry: bl_ui.space_view3d.VIEW3D_PT_overlay_geometry
232828
233049
 
232829
233050
  VIEW3D_PT_overlay_gpencil_options: bl_ui.space_view3d.VIEW3D_PT_overlay_gpencil_options
232830
233051
 
233052
+ VIEW3D_PT_overlay_grease_pencil_canvas_options: bl_ui.space_view3d.VIEW3D_PT_overlay_grease_pencil_canvas_options
233053
+
232831
233054
  VIEW3D_PT_overlay_grease_pencil_options: bl_ui.space_view3d.VIEW3D_PT_overlay_grease_pencil_options
232832
233055
 
232833
233056
  VIEW3D_PT_overlay_guides: bl_ui.space_view3d.VIEW3D_PT_overlay_guides