Files
test/doc/python_api/examples
Michael Kowalski ecbf3385c5 USD: basic support for on_import USD hooks
Added support for defining an on_import() function in
bpy.types.USDHook subclasses.  If on_import() is defined
on a given USD hook, it will be invoked in import_endjob().

The implementation closely follows the existing design of
export hooks.  USDHook.on_import() takes as an argument
an instance of an internally defined USDSceneImportContext
class which provides an accessor to the USD stage.

Also updated the USDHook documentation with an example
on_import() callback implementation.

Pull Request: https://projects.blender.org/blender/blender/pulls/117822
2024-02-05 14:26:02 +01:00
..
2021-09-18 19:28:55 +02:00
2021-07-06 12:05:27 +10:00
2019-11-01 10:53:47 +11:00
2019-11-01 10:53:47 +11:00
2019-11-01 10:53:47 +11:00
2019-11-01 10:53:47 +11:00
2019-06-06 17:13:02 +02:00
2021-07-06 12:05:27 +10:00
2019-03-22 00:07:06 +11:00
2019-03-22 00:07:06 +11:00
2023-08-24 11:37:29 +10:00
2023-08-24 11:37:29 +10:00
2021-07-06 12:05:27 +10:00
2022-05-11 11:02:01 +10:00
2016-02-15 19:43:08 +11:00
2019-03-17 21:00:56 +11:00
2015-09-08 19:42:58 +10:00
2022-04-26 15:03:04 +10:00
2023-11-24 07:20:52 +01:00