This repository has been archived on 2023-10-09. You can view files and clone it, but cannot push or open issues or pull requests.
Files
blender-archive/source/blender
Campbell Barton 46be42f6b1 PyAPI: extend save/load handlers, optionally take a filepath argument
Add a filepath argument to load/save pre/post.
Also add save_post_failed and load_post_failed handlers so it's always
possible to for the pre handlers to run a matching post action.

This makes it possible to know the filepath of the blend file mean
loaded/saved as well as supporting running an action when load/save
operations fail.

When loading and saving the startup-file, the path argument is set to
an empty string.

Details:

New RNA types were added to support storing primitive values in
PointerRNA. Primitive{String/Int/Float/Boolean}RNA. These will likely
only be used in some limited cases, in the case of BKE_callback_exec it
allows strings to be included as part of the PointerRNA **pointers
argument.

Ref !104769.
2023-03-09 12:05:30 +11:00
..
2023-03-09 10:39:49 +11:00
2023-03-09 10:39:49 +11:00
2023-03-08 09:50:03 +13:00
2023-03-09 10:39:49 +11:00
2023-03-09 10:39:49 +11:00
2023-03-09 10:39:49 +11:00
2023-03-09 10:39:49 +11:00
2023-03-09 10:39:49 +11:00
2023-03-09 10:39:49 +11:00
2023-03-09 10:39:49 +11:00
2023-03-09 10:39:49 +11:00
2023-03-09 10:39:49 +11:00
2023-03-09 10:39:49 +11:00