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

@@ -222,6 +222,44 @@ class NODE_OT_interface_item_duplicate(NodeInterfaceOperator, bpy.types.Operator
222
222
  :param context:
223
223
  """
224
224
 
225
+ class NODE_OT_interface_item_make_panel_toggle(
226
+ NodeInterfaceOperator, bpy.types.Operator
227
+ ):
228
+ """Make the active boolean socket a toggle for its parent panel"""
229
+
230
+ bl_idname: typing.Any
231
+ bl_label: typing.Any
232
+ bl_options: typing.Any
233
+ bl_rna: typing.Any
234
+ id_data: typing.Any
235
+
236
+ def bl_rna_get_subclass(self) -> bpy.types.Struct:
237
+ """
238
+
239
+ :return: The RNA type or default when not found.
240
+ :rtype: bpy.types.Struct
241
+ """
242
+
243
+ def bl_rna_get_subclass_py(self) -> typing.Any:
244
+ """
245
+
246
+ :return: The class or default when not found.
247
+ :rtype: typing.Any
248
+ """
249
+
250
+ def execute(self, context):
251
+ """
252
+
253
+ :param context:
254
+ """
255
+
256
+ @classmethod
257
+ def poll(cls, context):
258
+ """
259
+
260
+ :param context:
261
+ """
262
+
225
263
  class NODE_OT_interface_item_new(NodeInterfaceOperator, bpy.types.Operator):
226
264
  """Add a new item to the interface"""
227
265
 
@@ -258,6 +296,13 @@ class NODE_OT_interface_item_new(NodeInterfaceOperator, bpy.types.Operator):
258
296
  :param tree:
259
297
  """
260
298
 
299
+ def get_items(self, _self, context):
300
+ """
301
+
302
+ :param _self:
303
+ :param context:
304
+ """
305
+
261
306
  class NODE_OT_interface_item_remove(NodeInterfaceOperator, bpy.types.Operator):
262
307
  """Remove active item from the interface"""
263
308
 
@@ -287,6 +332,44 @@ class NODE_OT_interface_item_remove(NodeInterfaceOperator, bpy.types.Operator):
287
332
  :param context:
288
333
  """
289
334
 
335
+ class NODE_OT_interface_item_unlink_panel_toggle(
336
+ NodeInterfaceOperator, bpy.types.Operator
337
+ ):
338
+ """Make the panel toggle a stand-alone socket"""
339
+
340
+ bl_idname: typing.Any
341
+ bl_label: typing.Any
342
+ bl_options: typing.Any
343
+ bl_rna: typing.Any
344
+ id_data: typing.Any
345
+
346
+ def bl_rna_get_subclass(self) -> bpy.types.Struct:
347
+ """
348
+
349
+ :return: The RNA type or default when not found.
350
+ :rtype: bpy.types.Struct
351
+ """
352
+
353
+ def bl_rna_get_subclass_py(self) -> typing.Any:
354
+ """
355
+
356
+ :return: The class or default when not found.
357
+ :rtype: typing.Any
358
+ """
359
+
360
+ def execute(self, context):
361
+ """
362
+
363
+ :param context:
364
+ """
365
+
366
+ @classmethod
367
+ def poll(cls, context):
368
+ """
369
+
370
+ :param context:
371
+ """
372
+
290
373
  class NODE_OT_tree_path_parent(bpy.types.Operator):
291
374
  """Go to parent node tree"""
292
375
 
@@ -230,10 +230,10 @@ class NODE_MT_node_tree_interface_context_menu(bpy.types.Menu):
230
230
  :rtype: typing.Any
231
231
  """
232
232
 
233
- def draw(self, _context):
233
+ def draw(self, context):
234
234
  """
235
235
 
236
- :param _context:
236
+ :param context:
237
237
  """
238
238
 
239
239
  class NODE_MT_select(bpy.types.Menu):
@@ -706,6 +706,42 @@ class NODE_PT_node_tree_interface(bpy.types.Panel):
706
706
  :param context:
707
707
  """
708
708
 
709
+ class NODE_PT_node_tree_interface_panel_toggle(bpy.types.Panel):
710
+ bl_category: typing.Any
711
+ bl_label: typing.Any
712
+ bl_parent_id: typing.Any
713
+ bl_region_type: typing.Any
714
+ bl_rna: typing.Any
715
+ bl_space_type: typing.Any
716
+ id_data: typing.Any
717
+
718
+ def bl_rna_get_subclass(self) -> bpy.types.Struct:
719
+ """
720
+
721
+ :return: The RNA type or default when not found.
722
+ :rtype: bpy.types.Struct
723
+ """
724
+
725
+ def bl_rna_get_subclass_py(self) -> typing.Any:
726
+ """
727
+
728
+ :return: The class or default when not found.
729
+ :rtype: typing.Any
730
+ """
731
+
732
+ def draw(self, context):
733
+ """
734
+
735
+ :param context:
736
+ """
737
+
738
+ @classmethod
739
+ def poll(cls, context):
740
+ """
741
+
742
+ :param context:
743
+ """
744
+
709
745
  class NODE_PT_node_tree_properties(bpy.types.Panel):
710
746
  bl_category: typing.Any
711
747
  bl_label: typing.Any
@@ -290,8 +290,9 @@ def gltf(
290
290
  export_materials: typing.Literal["EXPORT", "PLACEHOLDER", "NONE"] | None = "EXPORT",
291
291
  export_unused_images: bool | None = False,
292
292
  export_unused_textures: bool | None = False,
293
- export_vertex_color: typing.Literal["MATERIAL", "ACTIVE", "NONE"]
293
+ export_vertex_color: typing.Literal["MATERIAL", "ACTIVE", "NAME", "NONE"]
294
294
  | None = "MATERIAL",
295
+ export_vertex_color_name: str = "Color",
295
296
  export_all_vertex_colors: bool | None = True,
296
297
  export_active_vertex_color_when_no_material: bool | None = True,
297
298
  export_attributes: bool | None = False,
@@ -508,9 +509,14 @@ def gltf(
508
509
  ACTIVE
509
510
  Active -- Export active vertex color.
510
511
 
512
+ NAME
513
+ Name -- Export vertex color with this name.
514
+
511
515
  NONE
512
516
  None -- Do not export vertex color.
513
- :type export_vertex_color: typing.Literal['MATERIAL','ACTIVE','NONE'] | None
517
+ :type export_vertex_color: typing.Literal['MATERIAL','ACTIVE','NAME','NONE'] | None
518
+ :param export_vertex_color_name: Vertex Color Name, Name of vertex color to export
519
+ :type export_vertex_color_name: str
514
520
  :param export_all_vertex_colors: Export All Vertex Colors, Export all vertex colors, even if not used by any material. If no Vertex Color is used in the mesh materials, a fake COLOR_0 will be created, in order to keep material unchanged
515
521
  :type export_all_vertex_colors: bool | None
516
522
  :param export_active_vertex_color_when_no_material: Export Active Vertex Color When No Material, When there is no material on object, export active vertex color
bpy/ops/node/__init__.pyi CHANGED
@@ -990,19 +990,28 @@ def interface_item_duplicate(
990
990
  :type undo: bool | None
991
991
  """
992
992
 
993
+ def interface_item_make_panel_toggle(
994
+ execution_context: int | str | None = None, undo: bool | None = None
995
+ ):
996
+ """Make the active boolean socket a toggle for its parent panel
997
+
998
+ :type execution_context: int | str | None
999
+ :type undo: bool | None
1000
+ """
1001
+
993
1002
  def interface_item_new(
994
1003
  execution_context: int | str | None = None,
995
1004
  undo: bool | None = None,
996
1005
  /,
997
1006
  *,
998
- item_type: typing.Literal["INPUT", "OUTPUT", "PANEL"] | None = "INPUT",
1007
+ item_type: str | None = "",
999
1008
  ):
1000
1009
  """Add a new item to the interface
1001
1010
 
1002
1011
  :type execution_context: int | str | None
1003
1012
  :type undo: bool | None
1004
1013
  :param item_type: Item Type, Type of the item to create
1005
- :type item_type: typing.Literal['INPUT','OUTPUT','PANEL'] | None
1014
+ :type item_type: str | None
1006
1015
  """
1007
1016
 
1008
1017
  def interface_item_remove(
@@ -1014,6 +1023,15 @@ def interface_item_remove(
1014
1023
  :type undo: bool | None
1015
1024
  """
1016
1025
 
1026
+ def interface_item_unlink_panel_toggle(
1027
+ execution_context: int | str | None = None, undo: bool | None = None
1028
+ ):
1029
+ """Make the panel toggle a stand-alone socket
1030
+
1031
+ :type execution_context: int | str | None
1032
+ :type undo: bool | None
1033
+ """
1034
+
1017
1035
  def join(execution_context: int | str | None = None, undo: bool | None = None):
1018
1036
  """Attach selected nodes to a new common frame
1019
1037
 
bpy/types/__init__.pyi CHANGED
@@ -806,6 +806,7 @@
806
806
  * NodeTreeInterfaceSocket.hide_in_modifier
807
807
  * NodeTreeInterfaceSocket.force_non_field
808
808
  * NodeTreeInterfaceSocket.is_inspect_output
809
+ * NodeTreeInterfaceSocket.is_panel_toggle
809
810
  * NodeTreeInterfaceSocket.layer_selection_field
810
811
  * NodeTreeInterfaceSocket.attribute_domain
811
812
  * NodeTreeInterfaceSocket.default_attribute_name
@@ -2128,6 +2129,7 @@
2128
2129
  * NodeTreeInterfaceSocket.hide_in_modifier
2129
2130
  * NodeTreeInterfaceSocket.force_non_field
2130
2131
  * NodeTreeInterfaceSocket.is_inspect_output
2132
+ * NodeTreeInterfaceSocket.is_panel_toggle
2131
2133
  * NodeTreeInterfaceSocket.layer_selection_field
2132
2134
  * NodeTreeInterfaceSocket.attribute_domain
2133
2135
  * NodeTreeInterfaceSocket.default_attribute_name
@@ -2488,6 +2490,7 @@
2488
2490
  * NodeTreeInterfaceSocket.hide_in_modifier
2489
2491
  * NodeTreeInterfaceSocket.force_non_field
2490
2492
  * NodeTreeInterfaceSocket.is_inspect_output
2493
+ * NodeTreeInterfaceSocket.is_panel_toggle
2491
2494
  * NodeTreeInterfaceSocket.layer_selection_field
2492
2495
  * NodeTreeInterfaceSocket.attribute_domain
2493
2496
  * NodeTreeInterfaceSocket.default_attribute_name
@@ -4600,6 +4603,7 @@ This example script prints the vertices and UVs for each polygon, assumes the ac
4600
4603
  * NodeTreeInterfaceSocket.hide_in_modifier
4601
4604
  * NodeTreeInterfaceSocket.force_non_field
4602
4605
  * NodeTreeInterfaceSocket.is_inspect_output
4606
+ * NodeTreeInterfaceSocket.is_panel_toggle
4603
4607
  * NodeTreeInterfaceSocket.layer_selection_field
4604
4608
  * NodeTreeInterfaceSocket.attribute_domain
4605
4609
  * NodeTreeInterfaceSocket.default_attribute_name
@@ -6221,6 +6225,7 @@ Shared Enum Types <bpy_types_enum_items/index>
6221
6225
  * NodeTreeInterfaceSocket.hide_in_modifier
6222
6226
  * NodeTreeInterfaceSocket.force_non_field
6223
6227
  * NodeTreeInterfaceSocket.is_inspect_output
6228
+ * NodeTreeInterfaceSocket.is_panel_toggle
6224
6229
  * NodeTreeInterfaceSocket.layer_selection_field
6225
6230
  * NodeTreeInterfaceSocket.attribute_domain
6226
6231
  * NodeTreeInterfaceSocket.default_attribute_name
@@ -13624,6 +13629,7 @@ Executing the operator will then print all values.
13624
13629
  * NodeTreeInterfaceSocket.hide_in_modifier
13625
13630
  * NodeTreeInterfaceSocket.force_non_field
13626
13631
  * NodeTreeInterfaceSocket.is_inspect_output
13632
+ * NodeTreeInterfaceSocket.is_panel_toggle
13627
13633
  * NodeTreeInterfaceSocket.layer_selection_field
13628
13634
  * NodeTreeInterfaceSocket.attribute_domain
13629
13635
  * NodeTreeInterfaceSocket.default_attribute_name
@@ -16842,6 +16848,7 @@ Executing the operator will then print all values.
16842
16848
  * NodeTreeInterfaceSocket.hide_in_modifier
16843
16849
  * NodeTreeInterfaceSocket.force_non_field
16844
16850
  * NodeTreeInterfaceSocket.is_inspect_output
16851
+ * NodeTreeInterfaceSocket.is_panel_toggle
16845
16852
  * NodeTreeInterfaceSocket.layer_selection_field
16846
16853
  * NodeTreeInterfaceSocket.attribute_domain
16847
16854
  * NodeTreeInterfaceSocket.default_attribute_name
@@ -19521,6 +19528,7 @@ Executing the operator will then print all values.
19521
19528
  * NodeTreeInterfaceSocket.hide_in_modifier
19522
19529
  * NodeTreeInterfaceSocket.force_non_field
19523
19530
  * NodeTreeInterfaceSocket.is_inspect_output
19531
+ * NodeTreeInterfaceSocket.is_panel_toggle
19524
19532
  * NodeTreeInterfaceSocket.layer_selection_field
19525
19533
  * NodeTreeInterfaceSocket.attribute_domain
19526
19534
  * NodeTreeInterfaceSocket.default_attribute_name
@@ -20340,6 +20348,7 @@ The USDHookExample
20340
20348
  * NodeTreeInterfaceSocket.hide_in_modifier
20341
20349
  * NodeTreeInterfaceSocket.force_non_field
20342
20350
  * NodeTreeInterfaceSocket.is_inspect_output
20351
+ * NodeTreeInterfaceSocket.is_panel_toggle
20343
20352
  * NodeTreeInterfaceSocket.layer_selection_field
20344
20353
  * NodeTreeInterfaceSocket.attribute_domain
20345
20354
  * NodeTreeInterfaceSocket.default_attribute_name
@@ -20401,6 +20410,7 @@ The USDHookExample
20401
20410
  * NodeTreeInterfaceSocket.hide_in_modifier
20402
20411
  * NodeTreeInterfaceSocket.force_non_field
20403
20412
  * NodeTreeInterfaceSocket.is_inspect_output
20413
+ * NodeTreeInterfaceSocket.is_panel_toggle
20404
20414
  * NodeTreeInterfaceSocket.layer_selection_field
20405
20415
  * NodeTreeInterfaceSocket.attribute_domain
20406
20416
  * NodeTreeInterfaceSocket.default_attribute_name
@@ -21401,6 +21411,7 @@ The USDHookExample
21401
21411
  * NodeTreeInterfaceSocket.hide_in_modifier
21402
21412
  * NodeTreeInterfaceSocket.force_non_field
21403
21413
  * NodeTreeInterfaceSocket.is_inspect_output
21414
+ * NodeTreeInterfaceSocket.is_panel_toggle
21404
21415
  * NodeTreeInterfaceSocket.layer_selection_field
21405
21416
  * NodeTreeInterfaceSocket.attribute_domain
21406
21417
  * NodeTreeInterfaceSocket.default_attribute_name
@@ -25388,6 +25399,7 @@ The USDHookExample
25388
25399
  * NodeTreeInterfaceSocket.hide_in_modifier
25389
25400
  * NodeTreeInterfaceSocket.force_non_field
25390
25401
  * NodeTreeInterfaceSocket.is_inspect_output
25402
+ * NodeTreeInterfaceSocket.is_panel_toggle
25391
25403
  * NodeTreeInterfaceSocket.layer_selection_field
25392
25404
  * NodeTreeInterfaceSocket.attribute_domain
25393
25405
  * NodeTreeInterfaceSocket.default_attribute_name
@@ -31882,6 +31894,7 @@ example of how to create/use filtering/reordering callbacks.
31882
31894
  * NodeTreeInterfaceSocket.hide_in_modifier
31883
31895
  * NodeTreeInterfaceSocket.force_non_field
31884
31896
  * NodeTreeInterfaceSocket.is_inspect_output
31897
+ * NodeTreeInterfaceSocket.is_panel_toggle
31885
31898
  * NodeTreeInterfaceSocket.layer_selection_field
31886
31899
  * NodeTreeInterfaceSocket.attribute_domain
31887
31900
  * NodeTreeInterfaceSocket.default_attribute_name
@@ -31943,6 +31956,7 @@ example of how to create/use filtering/reordering callbacks.
31943
31956
  * NodeTreeInterfaceSocket.hide_in_modifier
31944
31957
  * NodeTreeInterfaceSocket.force_non_field
31945
31958
  * NodeTreeInterfaceSocket.is_inspect_output
31959
+ * NodeTreeInterfaceSocket.is_panel_toggle
31946
31960
  * NodeTreeInterfaceSocket.layer_selection_field
31947
31961
  * NodeTreeInterfaceSocket.attribute_domain
31948
31962
  * NodeTreeInterfaceSocket.default_attribute_name
@@ -37568,6 +37582,7 @@ database.
37568
37582
  * NodeTreeInterfaceSocket.hide_in_modifier
37569
37583
  * NodeTreeInterfaceSocket.force_non_field
37570
37584
  * NodeTreeInterfaceSocket.is_inspect_output
37585
+ * NodeTreeInterfaceSocket.is_panel_toggle
37571
37586
  * NodeTreeInterfaceSocket.layer_selection_field
37572
37587
  * NodeTreeInterfaceSocket.attribute_domain
37573
37588
  * NodeTreeInterfaceSocket.default_attribute_name
@@ -43422,6 +43437,7 @@ print(positions_data)
43422
43437
  * NodeTreeInterfaceSocket.hide_in_modifier
43423
43438
  * NodeTreeInterfaceSocket.force_non_field
43424
43439
  * NodeTreeInterfaceSocket.is_inspect_output
43440
+ * NodeTreeInterfaceSocket.is_panel_toggle
43425
43441
  * NodeTreeInterfaceSocket.layer_selection_field
43426
43442
  * NodeTreeInterfaceSocket.attribute_domain
43427
43443
  * NodeTreeInterfaceSocket.default_attribute_name
@@ -44169,6 +44185,7 @@ print(positions_data)
44169
44185
  * NodeTreeInterfaceSocket.hide_in_modifier
44170
44186
  * NodeTreeInterfaceSocket.force_non_field
44171
44187
  * NodeTreeInterfaceSocket.is_inspect_output
44188
+ * NodeTreeInterfaceSocket.is_panel_toggle
44172
44189
  * NodeTreeInterfaceSocket.layer_selection_field
44173
44190
  * NodeTreeInterfaceSocket.attribute_domain
44174
44191
  * NodeTreeInterfaceSocket.default_attribute_name
@@ -47379,6 +47396,7 @@ object, placing it into a view layer, selecting it and making it active.
47379
47396
  * NodeTreeInterfaceSocket.hide_in_modifier
47380
47397
  * NodeTreeInterfaceSocket.force_non_field
47381
47398
  * NodeTreeInterfaceSocket.is_inspect_output
47399
+ * NodeTreeInterfaceSocket.is_panel_toggle
47382
47400
  * NodeTreeInterfaceSocket.layer_selection_field
47383
47401
  * NodeTreeInterfaceSocket.attribute_domain
47384
47402
  * NodeTreeInterfaceSocket.default_attribute_name
@@ -48356,6 +48374,7 @@ object, placing it into a view layer, selecting it and making it active.
48356
48374
  * NodeTreeInterfaceSocket.hide_in_modifier
48357
48375
  * NodeTreeInterfaceSocket.force_non_field
48358
48376
  * NodeTreeInterfaceSocket.is_inspect_output
48377
+ * NodeTreeInterfaceSocket.is_panel_toggle
48359
48378
  * NodeTreeInterfaceSocket.layer_selection_field
48360
48379
  * NodeTreeInterfaceSocket.attribute_domain
48361
48380
  * NodeTreeInterfaceSocket.default_attribute_name
@@ -48990,6 +49009,7 @@ object, placing it into a view layer, selecting it and making it active.
48990
49009
  * NodeTreeInterfaceSocket.hide_in_modifier
48991
49010
  * NodeTreeInterfaceSocket.force_non_field
48992
49011
  * NodeTreeInterfaceSocket.is_inspect_output
49012
+ * NodeTreeInterfaceSocket.is_panel_toggle
48993
49013
  * NodeTreeInterfaceSocket.layer_selection_field
48994
49014
  * NodeTreeInterfaceSocket.attribute_domain
48995
49015
  * NodeTreeInterfaceSocket.default_attribute_name
@@ -51270,6 +51290,7 @@ object, placing it into a view layer, selecting it and making it active.
51270
51290
  * NodeTreeInterfaceSocket.hide_in_modifier
51271
51291
  * NodeTreeInterfaceSocket.force_non_field
51272
51292
  * NodeTreeInterfaceSocket.is_inspect_output
51293
+ * NodeTreeInterfaceSocket.is_panel_toggle
51273
51294
  * NodeTreeInterfaceSocket.layer_selection_field
51274
51295
  * NodeTreeInterfaceSocket.attribute_domain
51275
51296
  * NodeTreeInterfaceSocket.default_attribute_name
@@ -52179,6 +52200,7 @@ Menu.poll function.
52179
52200
  * NodeTreeInterfaceSocket.hide_in_modifier
52180
52201
  * NodeTreeInterfaceSocket.force_non_field
52181
52202
  * NodeTreeInterfaceSocket.is_inspect_output
52203
+ * NodeTreeInterfaceSocket.is_panel_toggle
52182
52204
  * NodeTreeInterfaceSocket.layer_selection_field
52183
52205
  * NodeTreeInterfaceSocket.attribute_domain
52184
52206
  * NodeTreeInterfaceSocket.default_attribute_name
@@ -57677,6 +57699,7 @@ Menu.poll function.
57677
57699
  * NodeTreeInterfaceSocket.hide_in_modifier
57678
57700
  * NodeTreeInterfaceSocket.force_non_field
57679
57701
  * NodeTreeInterfaceSocket.is_inspect_output
57702
+ * NodeTreeInterfaceSocket.is_panel_toggle
57680
57703
  * NodeTreeInterfaceSocket.layer_selection_field
57681
57704
  * NodeTreeInterfaceSocket.attribute_domain
57682
57705
  * NodeTreeInterfaceSocket.default_attribute_name
@@ -66230,6 +66253,7 @@ Base class for integrating USD Hydra based renderers.
66230
66253
  * NodeTreeInterfaceSocket.hide_in_modifier
66231
66254
  * NodeTreeInterfaceSocket.force_non_field
66232
66255
  * NodeTreeInterfaceSocket.is_inspect_output
66256
+ * NodeTreeInterfaceSocket.is_panel_toggle
66233
66257
  * NodeTreeInterfaceSocket.layer_selection_field
66234
66258
  * NodeTreeInterfaceSocket.attribute_domain
66235
66259
  * NodeTreeInterfaceSocket.default_attribute_name
@@ -70216,6 +70240,7 @@ from a search field, this can be done using bpy.types.Operator.invoke_search_pop
70216
70240
  * NodeTreeInterfaceSocket.hide_in_modifier
70217
70241
  * NodeTreeInterfaceSocket.force_non_field
70218
70242
  * NodeTreeInterfaceSocket.is_inspect_output
70243
+ * NodeTreeInterfaceSocket.is_panel_toggle
70219
70244
  * NodeTreeInterfaceSocket.layer_selection_field
70220
70245
  * NodeTreeInterfaceSocket.attribute_domain
70221
70246
  * NodeTreeInterfaceSocket.default_attribute_name
@@ -72420,6 +72445,7 @@ from a search field, this can be done using bpy.types.Operator.invoke_search_pop
72420
72445
  * NodeTreeInterfaceSocket.hide_in_modifier
72421
72446
  * NodeTreeInterfaceSocket.force_non_field
72422
72447
  * NodeTreeInterfaceSocket.is_inspect_output
72448
+ * NodeTreeInterfaceSocket.is_panel_toggle
72423
72449
  * NodeTreeInterfaceSocket.layer_selection_field
72424
72450
  * NodeTreeInterfaceSocket.attribute_domain
72425
72451
  * NodeTreeInterfaceSocket.default_attribute_name
@@ -73200,6 +73226,7 @@ from a search field, this can be done using bpy.types.Operator.invoke_search_pop
73200
73226
  * NodeTreeInterfaceSocket.hide_in_modifier
73201
73227
  * NodeTreeInterfaceSocket.force_non_field
73202
73228
  * NodeTreeInterfaceSocket.is_inspect_output
73229
+ * NodeTreeInterfaceSocket.is_panel_toggle
73203
73230
  * NodeTreeInterfaceSocket.layer_selection_field
73204
73231
  * NodeTreeInterfaceSocket.attribute_domain
73205
73232
  * NodeTreeInterfaceSocket.default_attribute_name
@@ -73818,6 +73845,7 @@ from a search field, this can be done using bpy.types.Operator.invoke_search_pop
73818
73845
  * NodeTreeInterfaceSocket.hide_in_modifier
73819
73846
  * NodeTreeInterfaceSocket.force_non_field
73820
73847
  * NodeTreeInterfaceSocket.is_inspect_output
73848
+ * NodeTreeInterfaceSocket.is_panel_toggle
73821
73849
  * NodeTreeInterfaceSocket.layer_selection_field
73822
73850
  * NodeTreeInterfaceSocket.attribute_domain
73823
73851
  * NodeTreeInterfaceSocket.default_attribute_name
@@ -76099,6 +76127,7 @@ from a search field, this can be done using bpy.types.Operator.invoke_search_pop
76099
76127
  * NodeTreeInterfaceSocket.hide_in_modifier
76100
76128
  * NodeTreeInterfaceSocket.force_non_field
76101
76129
  * NodeTreeInterfaceSocket.is_inspect_output
76130
+ * NodeTreeInterfaceSocket.is_panel_toggle
76102
76131
  * NodeTreeInterfaceSocket.layer_selection_field
76103
76132
  * NodeTreeInterfaceSocket.attribute_domain
76104
76133
  * NodeTreeInterfaceSocket.default_attribute_name
@@ -78450,6 +78479,7 @@ of the scene and only show nodes of the renderer they are designed for.
78450
78479
  * NodeTreeInterfaceSocket.hide_in_modifier
78451
78480
  * NodeTreeInterfaceSocket.force_non_field
78452
78481
  * NodeTreeInterfaceSocket.is_inspect_output
78482
+ * NodeTreeInterfaceSocket.is_panel_toggle
78453
78483
  * NodeTreeInterfaceSocket.layer_selection_field
78454
78484
  * NodeTreeInterfaceSocket.attribute_domain
78455
78485
  * NodeTreeInterfaceSocket.default_attribute_name
@@ -88068,6 +88098,7 @@ of the scene and only show nodes of the renderer they are designed for.
88068
88098
  * NodeTreeInterfaceSocket.hide_in_modifier
88069
88099
  * NodeTreeInterfaceSocket.force_non_field
88070
88100
  * NodeTreeInterfaceSocket.is_inspect_output
88101
+ * NodeTreeInterfaceSocket.is_panel_toggle
88071
88102
  * NodeTreeInterfaceSocket.layer_selection_field
88072
88103
  * NodeTreeInterfaceSocket.attribute_domain
88073
88104
  * NodeTreeInterfaceSocket.default_attribute_name
@@ -92243,6 +92274,7 @@ of the scene and only show nodes of the renderer they are designed for.
92243
92274
  * NodeTreeInterfaceSocket.hide_in_modifier
92244
92275
  * NodeTreeInterfaceSocket.force_non_field
92245
92276
  * NodeTreeInterfaceSocket.is_inspect_output
92277
+ * NodeTreeInterfaceSocket.is_panel_toggle
92246
92278
  * NodeTreeInterfaceSocket.layer_selection_field
92247
92279
  * NodeTreeInterfaceSocket.attribute_domain
92248
92280
  * NodeTreeInterfaceSocket.default_attribute_name
@@ -92779,6 +92811,7 @@ of the scene and only show nodes of the renderer they are designed for.
92779
92811
  * NodeTreeInterfaceSocket.hide_in_modifier
92780
92812
  * NodeTreeInterfaceSocket.force_non_field
92781
92813
  * NodeTreeInterfaceSocket.is_inspect_output
92814
+ * NodeTreeInterfaceSocket.is_panel_toggle
92782
92815
  * NodeTreeInterfaceSocket.layer_selection_field
92783
92816
  * NodeTreeInterfaceSocket.attribute_domain
92784
92817
  * NodeTreeInterfaceSocket.default_attribute_name
@@ -95368,6 +95401,7 @@ of the scene and only show nodes of the renderer they are designed for.
95368
95401
  * NodeTreeInterfaceSocket.hide_in_modifier
95369
95402
  * NodeTreeInterfaceSocket.force_non_field
95370
95403
  * NodeTreeInterfaceSocket.is_inspect_output
95404
+ * NodeTreeInterfaceSocket.is_panel_toggle
95371
95405
  * NodeTreeInterfaceSocket.layer_selection_field
95372
95406
  * NodeTreeInterfaceSocket.attribute_domain
95373
95407
  * NodeTreeInterfaceSocket.default_attribute_name
@@ -102021,6 +102055,7 @@ of the scene and only show nodes of the renderer they are designed for.
102021
102055
  * NodeTreeInterfaceSocket.hide_in_modifier
102022
102056
  * NodeTreeInterfaceSocket.force_non_field
102023
102057
  * NodeTreeInterfaceSocket.is_inspect_output
102058
+ * NodeTreeInterfaceSocket.is_panel_toggle
102024
102059
  * NodeTreeInterfaceSocket.layer_selection_field
102025
102060
  * NodeTreeInterfaceSocket.attribute_domain
102026
102061
  * NodeTreeInterfaceSocket.default_attribute_name
@@ -103351,6 +103386,7 @@ of the scene and only show nodes of the renderer they are designed for.
103351
103386
  * NodeTreeInterfaceSocket.hide_in_modifier
103352
103387
  * NodeTreeInterfaceSocket.force_non_field
103353
103388
  * NodeTreeInterfaceSocket.is_inspect_output
103389
+ * NodeTreeInterfaceSocket.is_panel_toggle
103354
103390
  * NodeTreeInterfaceSocket.layer_selection_field
103355
103391
  * NodeTreeInterfaceSocket.attribute_domain
103356
103392
  * NodeTreeInterfaceSocket.default_attribute_name
@@ -162125,6 +162161,12 @@ class GreasePencilLayer(GreasePencilTreeNode, bpy_struct):
162125
162161
  class GreasePencilLayerGroup(GreasePencilTreeNode, bpy_struct):
162126
162162
  """Group of Grease Pencil layers"""
162127
162163
 
162164
+ channel_color: mathutils.Color
162165
+ """
162166
+
162167
+ :type: mathutils.Color
162168
+ """
162169
+
162128
162170
  color_tag: typing.Literal[
162129
162171
  "NONE",
162130
162172
  "COLOR1",
@@ -184057,6 +184099,12 @@ class NodeTreeInterfaceSocket(NodeTreeInterfaceItem, bpy_struct):
184057
184099
  :type: bool
184058
184100
  """
184059
184101
 
184102
+ is_panel_toggle: bool
184103
+ """ This socket is meant to be used as the toggle in its panel header
184104
+
184105
+ :type: bool
184106
+ """
184107
+
184060
184108
  layer_selection_field: bool
184061
184109
  """ Take Grease Pencil Layer or Layer Group as selection field
184062
184110
 
@@ -232397,7 +232445,7 @@ class WindowManager(ID, bpy_struct):
232397
232445
 
232398
232446
  @classmethod
232399
232447
  def fileselect_add(cls, operator: Operator | None):
232400
- """Opens a file selector with an operator. The string properties 'filepath', 'filename', 'directory' and a 'files' collection are assigned when present in the operator.
232448
+ """Opens a file selector with an operator. The string properties 'filepath', 'filename', 'directory' and a 'files' collection are assigned when present in the operator. If 'filter_glob' property is present in the operator and it's not empty, it will be used as a file filter (example value: '.zip;.py;*.exe').
232401
232449
 
232402
232450
  :param operator: Operator to call
232403
232451
  :type operator: Operator | None
@@ -235823,10 +235871,14 @@ NODE_OT_connect_to_output: bl_operators.connect_to_output.NODE_OT_connect_to_out
235823
235871
 
235824
235872
  NODE_OT_interface_item_duplicate: bl_operators.node.NODE_OT_interface_item_duplicate
235825
235873
 
235874
+ NODE_OT_interface_item_make_panel_toggle: bl_operators.node.NODE_OT_interface_item_make_panel_toggle
235875
+
235826
235876
  NODE_OT_interface_item_new: bl_operators.node.NODE_OT_interface_item_new
235827
235877
 
235828
235878
  NODE_OT_interface_item_remove: bl_operators.node.NODE_OT_interface_item_remove
235829
235879
 
235880
+ NODE_OT_interface_item_unlink_panel_toggle: bl_operators.node.NODE_OT_interface_item_unlink_panel_toggle
235881
+
235830
235882
  NODE_OT_tree_path_parent: bl_operators.node.NODE_OT_tree_path_parent
235831
235883
 
235832
235884
  NODE_OT_viewer_shortcut_get: bl_operators.node.NODE_OT_viewer_shortcut_get
@@ -235857,6 +235909,8 @@ NODE_PT_node_color_presets: bl_ui.space_node.NODE_PT_node_color_presets
235857
235909
 
235858
235910
  NODE_PT_node_tree_interface: bl_ui.space_node.NODE_PT_node_tree_interface
235859
235911
 
235912
+ NODE_PT_node_tree_interface_panel_toggle: bl_ui.space_node.NODE_PT_node_tree_interface_panel_toggle
235913
+
235860
235914
  NODE_PT_node_tree_properties: bl_ui.space_node.NODE_PT_node_tree_properties
235861
235915
 
235862
235916
  NODE_PT_overlay: bl_ui.space_node.NODE_PT_overlay
@@ -64,6 +64,13 @@ class KeyframesCo:
64
64
  :type action_group_name: str
65
65
  """
66
66
 
67
+ def action_get_channelbag_for_slot(action, slot):
68
+ """Returns the first channelbag found for the slot.
69
+ In case there are multiple layers or strips they are iterated until a
70
+ channelbag for that slot is found. In case no matching channelbag is found, returns None.
71
+
72
+ """
73
+
67
74
  def bake_action(
68
75
  obj: bpy.types.Object, *, action: None | bpy.types.Action, frames: int, bake_options
69
76
  ) -> None | bpy.types.Action:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: fake-bpy-module
3
- Version: 20250227
3
+ Version: 20250301
4
4
  Summary: Collection of the fake Blender Python API module for the code completion.
5
5
  Author: nutti
6
6
  Author-email: nutti.metro@gmail.com
@@ -70,7 +70,7 @@ bl_operators/grease_pencil/__init__.pyi,sha256=fUiQmkLd1ovbPvBlb1fwdoZoiOBxcs5aT
70
70
  bl_operators/image/__init__.pyi,sha256=WsudrMr0Ef4hRlUDWhGx3l-gaPK0PiyHOnXhPrJJ8qg,3463
71
71
  bl_operators/image_as_planes/__init__.pyi,sha256=dEZy-rwdFkyX8VRVww_GDcU_ofN4uLgnlKQ_oEAvcMs,4583
72
72
  bl_operators/mesh/__init__.pyi,sha256=dB9wyEAXjEZGZ7ZMRR5A3cwQz98h0KTuw1whsNpiXX0,2439
73
- bl_operators/node/__init__.pyi,sha256=16RKuAg9pZhb1MFkBK2qOQBvxShBAJauL5MjZpNkTVg,10343
73
+ bl_operators/node/__init__.pyi,sha256=tHA8yhEy4MdOV6fNtrmo6ycd2wEPH8686ZOTS02RmI0,12044
74
74
  bl_operators/node_editor/__init__.pyi,sha256=nXKuGcFgA7viFPwVoXogOT1iClUnXhtrK_rZTTXJ2Go,136
75
75
  bl_operators/node_editor/node_functions/__init__.pyi,sha256=uzcBbSwlb5DW9oIq02bfJBH9_kFPmX4IndfpSjtCDak,554
76
76
  bl_operators/object/__init__.pyi,sha256=7YgHs6s-gQpnjD007N0zCO3-kF2hOb_pEax5RbMisU4,11543
@@ -161,7 +161,7 @@ bl_ui/space_graph/__init__.pyi,sha256=1oqUbvSNboHycXYH0DBPz4Lib6JsgkCTXfDcamabzF
161
161
  bl_ui/space_image/__init__.pyi,sha256=13zst-dxO43epREh_rOTL3I5FDKxB9IrgaBteFnE2NE,45235
162
162
  bl_ui/space_info/__init__.pyi,sha256=ukwr4M_jVQH2U1wo4jTie5RK8kf3wfEBHnTIV8dvKxM,3312
163
163
  bl_ui/space_nla/__init__.pyi,sha256=rHI5YccrddEIyXIv7ojfdoS5H5-8W3t9CD86W0DZWTw,9562
164
- bl_ui/space_node/__init__.pyi,sha256=9xb1Bb2KOGVFrVXe87jeKgwAG9L218qn9gSeFre3vJw,18006
164
+ bl_ui/space_node/__init__.pyi,sha256=ifKNLaAQtFwsoOvJGSfXu1jdjM78PQjKZWGpIBuFzN8,18764
165
165
  bl_ui/space_outliner/__init__.pyi,sha256=1MicqfpCaTGAgzzbrtzGhknJwP5S5QjjqXpI9fUv16I,8117
166
166
  bl_ui/space_properties/__init__.pyi,sha256=8XL7_69ni6CTbZUmAUnda74qZk3aV_rmJvhqNjr0j0k,2735
167
167
  bl_ui/space_sequencer/__init__.pyi,sha256=ettdiLGyVaDLJAa_xHinQ0yI3vivJidb38fkS0imn-Q,55280
@@ -220,7 +220,7 @@ bpy/ops/cycles/__init__.pyi,sha256=wpr-6dy_yQc7R4mF-e3sPK67nR2X6hMnbLevI6xHozk,1
220
220
  bpy/ops/dpaint/__init__.pyi,sha256=9c4iWq0b5rd_bwy132hZ0puT1b6MYsQFD9Gsuy9IFR8,1582
221
221
  bpy/ops/ed/__init__.pyi,sha256=ToAbK51M0V5uEjpG4ENeXLfzqqzt0RBPpqD7-cP_ddI,7129
222
222
  bpy/ops/export_anim/__init__.pyi,sha256=vMJtrDBdESAFGNAyzK3vKVdjfhzjbaS5I3qqGFZatS4,2054
223
- bpy/ops/export_scene/__init__.pyi,sha256=axGogcRuTRnUNFCmS_fvRIcAoQ2OHWsyM2ez8h9gla4,40093
223
+ bpy/ops/export_scene/__init__.pyi,sha256=iK1RPwtd1Evq4XgOf7ok1COjFtSMI295kRNtXKT9f-k,40346
224
224
  bpy/ops/extensions/__init__.pyi,sha256=183EgEMf6wixP1ChHM6ePGKBUjPx8OCLUBN8IhjL19E,12309
225
225
  bpy/ops/file/__init__.pyi,sha256=RcQ7PXPKaFvA5XNsUbGrovqFjvjlvJ3LsEdp8k9MkCM,19287
226
226
  bpy/ops/fluid/__init__.pyi,sha256=lJDfm8cfRkm9S42vutMzeAeZBezIPIheRrMVaYpr4cY,3218
@@ -242,7 +242,7 @@ bpy/ops/material/__init__.pyi,sha256=4Xm8cTXZ8L1NkYiLaYrwWA0p_paciXXBCk9MNnxsgJg
242
242
  bpy/ops/mball/__init__.pyi,sha256=vKET4S-NZrDAf4r1XUXjyyW8Ry5bdna9EeQlV3HMo5Y,4182
243
243
  bpy/ops/mesh/__init__.pyi,sha256=JxF40_1aTup030iKyTdKOMajm67wsEOKcmKc4XcQCdQ,132623
244
244
  bpy/ops/nla/__init__.pyi,sha256=6C8Gm7ZOBATflqUymRCXljSEKN_oE1MvqVMpR05eVIM,18172
245
- bpy/ops/node/__init__.pyi,sha256=kx6oK5BRh-rPAdh9XpG_za5Z6nqvQO8-o_t5PFFxVqM,54179
245
+ bpy/ops/node/__init__.pyi,sha256=6wLYI3BNOM-irnJv-mR0-GUMCzMf1M4ksfi40QEoZlE,54614
246
246
  bpy/ops/object/__init__.pyi,sha256=Zt3MscJ8NCH9UeZkZOu69GWI2C0y_iYNfGNYOhfWTBw,168316
247
247
  bpy/ops/outliner/__init__.pyi,sha256=MnOyASVckw3cVMUICszbNrPEfchfFB1Ny2drSnrScvI,27770
248
248
  bpy/ops/paint/__init__.pyi,sha256=U-uMYTkGLmcnkI9RsWRnsbqDLJuLaWPk-5ue5rnoQwg,37692
@@ -279,13 +279,13 @@ bpy/ops/workspace/__init__.pyi,sha256=hXSSQZl7IwVFrxMveYrlSKGWY7BjrsV-cKagPzhuT0
279
279
  bpy/ops/world/__init__.pyi,sha256=9OhY87-WRRLor-4GQJhDiDJG3M9W5s9yFo9x45Iiycs,628
280
280
  bpy/path/__init__.pyi,sha256=p309InrX9QRoqh0vMXKzNHQIYef9A51c9J4LYU5THxQ,5511
281
281
  bpy/props/__init__.pyi,sha256=QR_11bCyEyK-Q85yZhNDW6BsqHVq73C9IL_qShksqQU,35264
282
- bpy/types/__init__.pyi,sha256=fVDeyAezH9rS3zAV95aWPlHPkHt_k6wP9XzN_mbeW84,5477449
282
+ bpy/types/__init__.pyi,sha256=xbH5XIsMIfg-elX68T_gXy3SctydvQZRX3Emm_BEBP4,5479618
283
283
  bpy/utils/__init__.pyi,sha256=sTpVkInNYv883pb3TyZzGLQbn468mQHzz_sUG9UMp6M,14936
284
284
  bpy/utils/previews/__init__.pyi,sha256=RF4ii5Rs-FetM_ZmC0GCpMSiin5evppVj62-CmKK76s,2307
285
285
  bpy/utils/units/__init__.pyi,sha256=dc9ZViPAqOap5ZsFfWoI0d6bHdri3pWWiVeRxAaZr-U,2672
286
286
  bpy_extras/__init__.pyi,sha256=Vish0mn6IfEYsdv9gWh6VDSpzvOwYavpgAC_PleMtFE,995
287
287
  bpy_extras/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
288
- bpy_extras/anim_utils/__init__.pyi,sha256=8EW658jim4RAYF27omp8Jj7vrUYBtI6EInGjMivsJqM,4237
288
+ bpy_extras/anim_utils/__init__.pyi,sha256=zbvucyRAXUSKmFbz7mhka4YES0aijhcLCdaYHQF8Icc,4521
289
289
  bpy_extras/asset_utils/__init__.pyi,sha256=aM9iiUUy5PcxHY5lz-UxfvLzAc9bH5Y-z3kRRB9IzvY,221
290
290
  bpy_extras/bmesh_utils/__init__.pyi,sha256=I7DtTN9PNvl7i2RdeKafzWeLZ5lbUd6CZ66p2FZ2K14,505
291
291
  bpy_extras/id_map_utils/__init__.pyi,sha256=pMW0Mum2FA4DrO0YHd2wmPOnNe44bgmZVGs67xszhGA,477
@@ -314,7 +314,7 @@ freestyle/functions/__init__.pyi,sha256=RGdlJWbBctqKBR3p81MsXBk9OWdTuvEoOfBXvxjf
314
314
  freestyle/predicates/__init__.pyi,sha256=Liq_1krkT25RfeNPeEgvKWkLnWtHCuO9-7vXX3lE71E,13488
315
315
  freestyle/shaders/__init__.pyi,sha256=imuo4jXkwaN4dazDARvErEGdn9XuMGlWIKGpnqd3Po0,24041
316
316
  freestyle/types/__init__.pyi,sha256=zCVqLakrYPiSTlYVHLg-455C9aPCEo-eeO-0A1fYFYs,100227
317
- freestyle/utils/__init__.pyi,sha256=k2JFp4C3DUpnkVgR1B32ZDux08pAcsceSuWBnIEHD9A,5135
317
+ freestyle/utils/__init__.pyi,sha256=ub0HsAFKN7jMbNu3fuP9OpaOSHywBpSckuXSexz0Bos,5135
318
318
  freestyle/utils/ContextFunctions/__init__.pyi,sha256=YvDLJXMxKbbqBS0so4MnfuSN1g4wNAFOXbpW7_g4AR0,3472
319
319
  gpu/__init__.pyi,sha256=80Udrv8AAvblVeWgcU709t4PmsX3ShvU2TaWj7qv0uk,8026
320
320
  gpu/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -328,7 +328,7 @@ gpu/texture/__init__.pyi,sha256=eXL-ZQU-gsMFo_Yv6ShF_YjBQ-yPDLRZno-T3P59nhE,668
328
328
  gpu/types/__init__.pyi,sha256=wv4qnmZ16QT1VUYeF2EMYiRPI_xIa2yCqrzrA_Ukac4,27950
329
329
  gpu_extras/__init__.pyi,sha256=XscwC-5DTPC0yc2HB_XMgvX61rT5Qs5RaImqNwR6c40,240
330
330
  gpu_extras/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
331
- gpu_extras/batch/__init__.pyi,sha256=P0KwOXu_4yBZvCupG7WJ08TQ6yvocr5NZLAhJK_qLtQ,1305
331
+ gpu_extras/batch/__init__.pyi,sha256=0z8rIEm4SFuC-rUGyoOMU0L6i_TsaW5nJN9cGR6u40Y,1306
332
332
  gpu_extras/presets/__init__.pyi,sha256=9MrG1r0CUOxBYWyp_vZSYxs47oElIxca1uMyuFPLKdw,1674
333
333
  graphviz_export/__init__.pyi,sha256=_breciGLRC6qTh-HOor-Ufn_fI5HXnoQego6mmvTAIQ,242
334
334
  graphviz_export/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -361,7 +361,7 @@ rna_prop_ui/__init__.pyi,sha256=o3yE2C_BSi2O_ZJM_Jao06i6seWMRNQcZaI6keKjpFE,1308
361
361
  rna_prop_ui/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
362
362
  rna_xml/__init__.pyi,sha256=EBP-inpL9KRsjGftcoza9_G_Do5UjXw62eAvuEMoaO0,604
363
363
  rna_xml/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
364
- fake_bpy_module-20250227.dist-info/METADATA,sha256=XVRJVoT9I_YcxXOixM1UpoWgDhe0iOrW72ZlpZj27ZQ,7429
365
- fake_bpy_module-20250227.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
366
- fake_bpy_module-20250227.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
367
- fake_bpy_module-20250227.dist-info/RECORD,,
364
+ fake_bpy_module-20250301.dist-info/METADATA,sha256=QfG9EX5NYobKSdSlrprQBf78kc8tXM-tf0CrLTINmC8,7429
365
+ fake_bpy_module-20250301.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
366
+ fake_bpy_module-20250301.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
367
+ fake_bpy_module-20250301.dist-info/RECORD,,
@@ -125,7 +125,7 @@ def material_from_fedge(fe):
125
125
  """get the diffuse RGBA color from an FEdge"""
126
126
 
127
127
  def normal_at_I0D(it): ...
128
- def pairwise(iterable, types={StrokeVertexIterator, Stroke}):
128
+ def pairwise(iterable, types={Stroke, StrokeVertexIterator}):
129
129
  """Yields a tuple containing the previous and current object"""
130
130
 
131
131
  def rgb_to_bw(r, g, b):
@@ -2,7 +2,6 @@ import typing
2
2
  import collections.abc
3
3
  import typing_extensions
4
4
  import numpy.typing as npt
5
- import bgl
6
5
  import gpu.types
7
6
 
8
7
  def batch_for_shader(
@@ -10,7 +9,7 @@ def batch_for_shader(
10
9
  type: str,
11
10
  content: dict[
12
11
  str,
13
- bgl.Buffer
12
+ gpu.types.Buffer
14
13
  | collections.abc.Sequence[float]
15
14
  | collections.abc.Sequence[int]
16
15
  | collections.abc.Sequence[collections.abc.Sequence[float]]
@@ -27,7 +26,7 @@ def batch_for_shader(
27
26
  :type type: str
28
27
  :param content: Maps the name of the shader attribute with the data to fill the vertex buffer.
29
28
  For the dictionary values see documentation for `gpu.types.GPUVertBuf.attr_fill` data argument.
30
- :type content: dict[str, bgl.Buffer | collections.abc.Sequence[float] | collections.abc.Sequence[int] | collections.abc.Sequence[collections.abc.Sequence[float]] | collections.abc.Sequence[collections.abc.Sequence[int]]]
29
+ :type content: dict[str, gpu.types.Buffer | collections.abc.Sequence[float] | collections.abc.Sequence[int] | collections.abc.Sequence[collections.abc.Sequence[float]] | collections.abc.Sequence[collections.abc.Sequence[int]]]
31
30
  :return: compatible batch
32
31
  :rtype: gpu.types.GPUBatch
33
32
  """