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-02-12 14:56:05 +11:00
2022-02-11 09:14:36 +11:00
2023-03-05 19:53:40 +01:00
2022-02-11 09:14:36 +11:00
2023-02-12 14:56:05 +11:00
2022-02-11 09:14:36 +11:00
2023-03-09 12:05:30 +11:00
2022-02-11 09:14:36 +11:00
2022-11-08 11:13:58 +11:00
2022-02-11 09:14:36 +11:00
2023-02-12 14:56:05 +11:00
2022-02-11 09:14:36 +11:00
2023-03-03 21:53:34 +01:00
2022-02-11 09:14:36 +11:00
2023-02-12 14:56:05 +11:00
2022-02-11 09:14:36 +11:00
2023-02-12 14:56:05 +11:00
2022-02-11 09:14:36 +11:00
2023-02-12 14:56:05 +11:00
2022-02-11 09:14:36 +11:00
2022-11-08 11:13:58 +11:00
2022-02-11 09:14:36 +11:00
2023-02-12 14:56:05 +11:00
2022-02-11 09:14:36 +11:00
2023-02-12 14:56:05 +11:00
2022-02-11 09:14:36 +11:00
2023-02-15 16:19:14 +11:00
2022-02-11 09:14:36 +11:00
2022-04-06 19:08:10 +10:00
2023-01-18 18:41:13 +11:00
2023-03-06 16:01:47 +01:00
2022-07-12 16:05:13 +10:00
2022-09-19 14:52:27 +10:00
2022-11-02 10:18:19 +11:00
2023-02-09 11:33:48 +11:00
2023-02-15 16:19:14 +11:00
2023-02-12 14:56:05 +11:00
2022-03-08 22:15:12 +11:00
2022-03-08 22:15:12 +11:00
2023-03-03 16:29:43 +11:00
2022-04-08 11:49:50 +10:00
2022-02-11 09:14:36 +11:00
2022-11-08 11:13:58 +11:00
2022-02-11 09:14:36 +11:00
2022-03-14 17:08:46 +01:00
2022-11-02 10:18:19 +11:00
2023-02-21 16:39:58 +01:00
2022-02-11 09:14:36 +11:00
2022-11-08 11:13:58 +11:00
2022-02-11 09:14:36 +11:00
2023-02-12 14:56:05 +11:00
2022-02-11 09:14:36 +11:00
2022-08-04 16:13:00 +02:00
2022-02-11 09:14:36 +11:00
2022-09-19 14:52:27 +10:00
2022-03-14 17:08:46 +01:00
2022-02-11 09:14:36 +11:00
2023-02-12 14:56:05 +11:00
2022-04-26 16:51:20 +10:00
2022-11-07 22:38:32 +11:00
2022-02-11 09:14:36 +11:00
2023-03-06 16:01:47 +01:00
2023-03-06 16:01:47 +01:00
2022-07-13 08:43:57 -04:00
2022-02-11 09:14:36 +11:00
2022-04-08 11:49:50 +10:00
2022-02-11 09:14:36 +11:00
2022-09-19 14:24:31 +10:00
2022-02-11 09:14:36 +11:00
2022-04-08 13:28:55 +10:00
2022-05-19 11:17:01 +10:00
2023-02-21 16:39:58 +01:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2023-03-09 12:05:30 +11:00
2023-03-09 12:05:30 +11:00
2023-02-12 14:56:05 +11:00
2022-03-28 17:15:41 +11:00
2022-11-08 11:13:58 +11:00
2022-02-11 09:14:36 +11:00
2022-11-08 11:13:58 +11:00
2022-02-11 09:14:36 +11:00
2023-02-15 16:19:14 +11:00
2022-09-21 12:00:01 +10:00
2023-03-05 20:44:53 +02:00
2023-02-14 15:36:35 -03:00