http://www.miikahweb.com/feed.php MiikaHweb - Blender Libquery-recursive Branch http://www.miikahweb.com/ MiikaHweb - Blender Libquery-recursive Branch fi Sat, 24 Aug 19 14:04:35 +0000 MiikaHweb RSS contact at miikahweb.com <![CDATA[[f0f46e9]: Rework library_query foreach looper - add optional recursivity...]]> http://www.miikahweb.com/en/blender/git-logs/commit/f0f46e9ef65cf0bd820f33d9dd44e2e58da8bb81 f0f46e9
Branches : asset-engine, asset-experiments, id-remap, libquery-recursive
Author : Bastien Montagne (mont29)
----------------------------------------
Rework library_query foreach looper - add optional recursivity.

This commit:
* Fixes bad handling of 'stop iteration' (by adding a status flag, so that we can actually
stop in helper functions too, and jumping to a finalize label instead of raw return, to
allow propper clean up).
* Adds optional recursion into 'ID tree' - callback can also decide to exclude current id_pp
from recursion. Note that this implies 'readonly', modifying IDs while recursing is not
something we want to support!
* Changes callback signature/expected behavior: return behavior is now handled through flags,
and 'parent' ID of id_pp is also passed (since it may not always be root id anymore).

Used this new recursive behavior in ID preview generation as an example, would obviously be committed separately.

Reviewers: sergey, campbellbarton

Differential Revision: https://developer.blender.org/D1869

----------------------------------------
0 Paths Changed]]>
Wed, 23 Mar 2016 12:15:41 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/f0f46e9ef65cf0bd820f33d9dd44e2e58da8bb81Bastien Montagne
<![CDATA[[09444bc]: Merge branch 'master' into libquery-recursive]]> http://www.miikahweb.com/en/blender/git-logs/commit/09444bca5fed42b9939c3428477bc94281b51642 09444bc
Branches : asset-engine, asset-experiments, id-remap, libquery-recursive
Author : Bastien Montagne (mont29)
----------------------------------------
Merge branch 'master' into libquery-recursive

----------------------------------------
0 Paths Changed]]>
Thu, 17 Mar 2016 11:23:42 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/09444bca5fed42b9939c3428477bc94281b51642Bastien Montagne
<![CDATA[[f500019]: Merge branch 'master' into libquery-recursive]]> http://www.miikahweb.com/en/blender/git-logs/commit/f500019eac3bb9db0e6cf846fdb0554e4f913d4f f500019
Branches : asset-engine, asset-experiments, id-remap, libquery-recursive
Author : Bastien Montagne (mont29)
----------------------------------------
Merge branch 'master' into libquery-recursive

----------------------------------------
0 Paths Changed]]>
Sun, 06 Mar 2016 13:51:03 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/f500019eac3bb9db0e6cf846fdb0554e4f913d4fBastien Montagne
<![CDATA[[3d4ac80]: Merge branch 'master' into libquery-recursive]]> http://www.miikahweb.com/en/blender/git-logs/commit/3d4ac80157e69d4b9c75eb4e9112156f464139d9 3d4ac80
Branches : asset-engine, asset-experiments, id-remap, libquery-recursive
Author : Bastien Montagne (mont29)
----------------------------------------
Merge branch 'master' into libquery-recursive

----------------------------------------
0 Paths Changed]]>
Fri, 04 Mar 2016 13:24:59 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/3d4ac80157e69d4b9c75eb4e9112156f464139d9Bastien Montagne
<![CDATA[[2a09cb6]: Merge branch 'master' into libquery-recursive]]> http://www.miikahweb.com/en/blender/git-logs/commit/2a09cb62e255383a519e93102360e3fab7869b90 2a09cb6
Branches : asset-engine, asset-experiments, id-remap, libquery-recursive
Author : Bastien Montagne (mont29)
----------------------------------------
Merge branch 'master' into libquery-recursive

----------------------------------------
0 Paths Changed]]>
Mon, 29 Feb 2016 14:15:49 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/2a09cb62e255383a519e93102360e3fab7869b90Bastien Montagne
<![CDATA[[37f58ff]: Forgot to include AnimationData into new recursive libquery...]]> http://www.miikahweb.com/en/blender/git-logs/commit/37f58ffec97f9fdf30cfd7b23e9704107143054b 37f58ff
Branches : asset-engine, asset-experiments, id-remap, libquery-recursive
Author : Bastien Montagne (mont29)
----------------------------------------
Forgot to include AnimationData into new recursive libquery foreach...

----------------------------------------
1 Path Changed]]>
Thu, 25 Feb 2016 13:20:58 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/37f58ffec97f9fdf30cfd7b23e9704107143054bBastien Montagne
<![CDATA[[5b5f550]: Merge branch 'master' into libquery-recursive]]> http://www.miikahweb.com/en/blender/git-logs/commit/5b5f55067b0dec0958c27602ff80fb317e41d511 5b5f550
Branches : asset-engine, asset-experiments, id-remap, libquery-recursive
Author : Bastien Montagne (mont29)
----------------------------------------
Merge branch 'master' into libquery-recursive

----------------------------------------
0 Paths Changed]]>
Thu, 25 Feb 2016 13:21:30 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/5b5f55067b0dec0958c27602ff80fb317e41d511Bastien Montagne
<![CDATA[[3054a8a]: Merge branch 'master' into libquery-recursive]]> http://www.miikahweb.com/en/blender/git-logs/commit/3054a8a91b290adc5899110aa584e0fe7968b304 3054a8a
Branches : asset-engine, asset-experiments, id-remap, libquery-recursive
Author : Bastien Montagne (mont29)
----------------------------------------
Merge branch 'master' into libquery-recursive

----------------------------------------
0 Paths Changed]]>
Sat, 20 Feb 2016 17:06:13 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/3054a8a91b290adc5899110aa584e0fe7968b304Bastien Montagne
<![CDATA[[e714e1c]: Merge branch 'master' into libquery-recursive]]> http://www.miikahweb.com/en/blender/git-logs/commit/e714e1c5ef0e66356d75de85614ec31c54c4f13c e714e1c
Branches : asset-engine, asset-experiments, id-remap, libquery-recursive
Author : Bastien Montagne (mont29)
----------------------------------------
Merge branch 'master' into libquery-recursive

----------------------------------------
0 Paths Changed]]>
Wed, 24 Feb 2016 09:18:38 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/e714e1c5ef0e66356d75de85614ec31c54c4f13cBastien Montagne
<![CDATA[[3652a0e]: Merge branch 'master' into libquery-recursive]]> http://www.miikahweb.com/en/blender/git-logs/commit/3652a0e7dac2a5532b0e1b9d1c32682012334b83 3652a0e
Branches : asset-engine, asset-experiments, id-remap, libquery-recursive
Author : Bastien Montagne (mont29)
----------------------------------------
Merge branch 'master' into libquery-recursive

----------------------------------------
0 Paths Changed]]>
Fri, 19 Feb 2016 09:29:18 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/3652a0e7dac2a5532b0e1b9d1c32682012334b83Bastien Montagne
<![CDATA[[87a385b]: Cleanup (remove some useless diff compared to master).]]> http://www.miikahweb.com/en/blender/git-logs/commit/87a385b838be2192c595498a450b749a0ab00b9d 87a385b
Branches : asset-engine, asset-experiments, id-remap, libquery-recursive
Author : Bastien Montagne (mont29)
----------------------------------------
Cleanup (remove some useless diff compared to master).

----------------------------------------
5 Paths Changed]]>
Fri, 19 Feb 2016 09:47:32 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/87a385b838be2192c595498a450b749a0ab00b9dBastien Montagne
<![CDATA[[827b145]: Rework library_query foreach looper - add optional recursivity...]]> http://www.miikahweb.com/en/blender/git-logs/commit/827b1457ca9e76f627e8c88cf883847fc3ae3267 827b145
Branches : asset-engine, asset-experiments, id-remap, libquery-recursive
Author : Bastien Montagne (mont29)
----------------------------------------
Rework library_query foreach looper - add optional recursivity.

This commit:
* Fixes bad handling of 'stop iteration' (by adding a status flag, so that we can actually
stop in helper functions too, and jumping to a finalize label instead of raw return, to
allow propper clean up).
* Adds optional recursion into 'ID tree' - callback can also decide to exclude current id_pp
from recursion. Note that this implies 'readonly', modifying IDs while recursing is not
something we want to support!
* Changes callback signature/expected behavior: return behavior is now handled through flags,
and 'parent' ID of id_pp is also passed (since it may not always be root id anymore).

Used this new recursive behavior in ID preview generation as an example, still needs more testing!

----------------------------------------
6 Paths Changed]]>
Thu, 18 Feb 2016 16:53:42 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/827b1457ca9e76f627e8c88cf883847fc3ae3267Bastien Montagne