http://www.miikahweb.com/feed.php MiikaHweb - Blender Commits By Mont29 http://www.miikahweb.com/ MiikaHweb - Blender Commits By Mont29 fi Sun, 12 Jul 20 20:08:29 +0000 MiikaHweb RSS contact at miikahweb.com <![CDATA[[9dbe9a7] master: Fix T78766: Blender crashes after deleting vertices with Custom...]]> http://www.miikahweb.com/en/blender/git-logs/commit/9dbe9a753a54cad83f94ef295b7a8b4350ab9783 9dbe9a7
Branches : master
Author : Bastien Montagne (mont29)
----------------------------------------
Fix T78766: Blender crashes after deleting vertices with Custom Normals.

Some core BMesh topology changing functions were not properly tagging
custom normal runtime caches as dirty...

----------------------------------------
1 Path Changed]]>
Fri, 10 Jul 2020 14:51:37 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/9dbe9a753a54cad83f94ef295b7a8b4350ab9783Bastien Montagne
<![CDATA[[c2304d2] master: Expose override flags to python RNA properties definition.]]> http://www.miikahweb.com/en/blender/git-logs/commit/c2304d2f029cf4610c33c0e9cbf5afe519b770b8 c2304d2
Branches : master
Author : Bastien Montagne (mont29)
----------------------------------------
Expose override flags to python RNA properties definition.

Time will tell whether we need to expose more RNA override flags here.

Implements/Fix T78534.

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

----------------------------------------
1 Path Changed]]>
Fri, 10 Jul 2020 13:50:21 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/c2304d2f029cf4610c33c0e9cbf5afe519b770b8Bastien Montagne
<![CDATA[[f93e0f1] master: Refactor override code to properly deal with runtime rna properties...]]> http://www.miikahweb.com/en/blender/git-logs/commit/f93e0f1a9eefb162cf9432240b101a5d9c372910 f93e0f1
Branches : master
Author : Bastien Montagne (mont29)
----------------------------------------
Refactor override code to properly deal with runtime rna properties too.

The triplet static RNA / runtime RNA / custom properties is a real pain to
deal with...

Using the new `PropertyRNAOrID` struct helps clarifying and properly
dealing with all three cases.

Note that this makes override of py-defined RNA properties working
(support for that will be committed next).

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

----------------------------------------
5 Paths Changed]]>
Fri, 10 Jul 2020 13:23:52 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/f93e0f1a9eefb162cf9432240b101a5d9c372910Bastien Montagne
<![CDATA[[337e2c9] master: RNA: refactor how we get 'ensured' RNA properties.]]> http://www.miikahweb.com/en/blender/git-logs/commit/337e2c902930d8a8980505d66234bc46c95b051c 337e2c9
Branches : master
Author : Bastien Montagne (mont29)
----------------------------------------
RNA: refactor how we get 'ensured' RNA properties.

Introduce new PropertyRNAOrID structure, storing most useful data about
an 'opaque' PropertyRNA in relation with a given PointerRNA struct.

It deals with all the three cases (pure static RNA, runtime RNA where
data is actually stored in IDProperties, and pure IDProperties, aka
custom data.

----------------------------------------
3 Paths Changed]]>
Fri, 10 Jul 2020 13:19:40 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/337e2c902930d8a8980505d66234bc46c95b051cBastien Montagne
<![CDATA[[9c25731] master: LibOverride: Fix improper tagging of more of the backward pointers...]]> http://www.miikahweb.com/en/blender/git-logs/commit/9c25731781b38f67bc31bc88055cd66fa848ee75 9c25731
Branches : master
Author : Bastien Montagne (mont29)
----------------------------------------
LibOverride: Fix improper tagging of more of the backward pointers in RNA nodetrees.

----------------------------------------
1 Path Changed]]>
Fri, 10 Jul 2020 09:53:11 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/9c25731781b38f67bc31bc88055cd66fa848ee75Bastien Montagne
<![CDATA[[7b1c406] master: Implement T77959: Never duplicate linked data during deep-copy...]]> http://www.miikahweb.com/en/blender/git-logs/commit/7b1c406b5431ce65d84ddb5f2c53977c25c18373 7b1c406
Branches : master
Author : Bastien Montagne (mont29)
----------------------------------------
Implement T77959: Never duplicate linked data during deep-copy.

Note that this behavior is enforced on user level for now, but on code
side it is controlled with a flag, which should make it easy to refine
that behavior if needed.

Only exception is when we duplicate a linked ID directly (then we assume
user wants a local deep-copy of that linked data, and we always also
duplicate linked sub-data-blocks).

Note that this commit also slightly refactor the handling of actions of
animdata, by simplifying `BKE_animdata_copy_id_action()` and adding an
explicit new `BKE_animdata_duplicate_id_action()` to be used during ID
duplication (deep copy).

This also allows us to get rid of the special case for liboverrides.

----------------------------------------
10 Paths Changed]]>
Thu, 09 Jul 2020 15:56:05 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/7b1c406b5431ce65d84ddb5f2c53977c25c18373Bastien Montagne
<![CDATA[[8ddf755] master: Fix T78718: Crash when deleting particle system modifier with...]]> http://www.miikahweb.com/en/blender/git-logs/commit/8ddf7556a512b2b2ce89b75c9660e01a7aba8675 8ddf755
Branches : master
Author : Bastien Montagne (mont29)
----------------------------------------
Fix T78718: Crash when deleting particle system modifier with the X Shortcut.

Duplication and deletion code of modifiers was totally wrong for
particle system, that special weird thing needs its own custom
management.

Note that for now I chose not to duplicate the particle settings ID when
duplicating the modifier...

----------------------------------------
8 Paths Changed]]>
Thu, 09 Jul 2020 09:46:28 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/8ddf7556a512b2b2ce89b75c9660e01a7aba8675Bastien Montagne
<![CDATA[[e4926c1] master: Fix T78718: Crash when deleting particle system modifier with...]]> http://www.miikahweb.com/en/blender/git-logs/commit/e4926c167bac80297bd1808e020510ec0d17369f e4926c1
Branches : master
Author : Bastien Montagne (mont29)
----------------------------------------
Fix T78718: Crash when deleting particle system modifier with the X Shortcut.

Again those backward pointers not properly flagged in RNA, hence
generating infinite loops.

----------------------------------------
1 Path Changed]]>
Wed, 08 Jul 2020 16:08:08 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/e4926c167bac80297bd1808e020510ec0d17369fBastien Montagne
<![CDATA[[cb3c421] master: Minor cleanup in rna override code.]]> http://www.miikahweb.com/en/blender/git-logs/commit/cb3c4218bf4f97a0105d6bd6b7625c452b17505e cb3c421
Branches : master
Author : Bastien Montagne (mont29)
----------------------------------------
Minor cleanup in rna override code.

----------------------------------------
1 Path Changed]]>
Wed, 08 Jul 2020 13:43:57 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/cb3c4218bf4f97a0105d6bd6b7625c452b17505eBastien Montagne
<![CDATA[[fbf50aa] soc-2020-info-editor: Merge branch 'master' into soc-2020-info-editor]]> http://www.miikahweb.com/en/blender/git-logs/commit/fbf50aa40cff01bdba479252504cdd37076b8000 fbf50aa
Branches : soc-2020-info-editor
Author : Bastien Montagne (mont29)
----------------------------------------
Merge branch 'master' into soc-2020-info-editor

----------------------------------------
0 Paths Changed]]>
Mon, 06 Jul 2020 15:33:11 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/fbf50aa40cff01bdba479252504cdd37076b8000Bastien Montagne
<![CDATA[[aabfd2f] master: Cleanup: readfile: remove old deprecated OldNewMap for runtime...]]> http://www.miikahweb.com/en/blender/git-logs/commit/aabfd2fb9bbd5f7b64a7a800d1be00161497e745 aabfd2f
Branches : master
Author : Bastien Montagne (mont29)
----------------------------------------
Cleanup: readfile: remove old deprecated OldNewMap for runtime caches.

----------------------------------------
2 Paths Changed]]>
Mon, 06 Jul 2020 14:55:38 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/aabfd2fb9bbd5f7b64a7a800d1be00161497e745Bastien Montagne
<![CDATA[[ee3eba9] master: Runtime cache preservation during undo: add support for nodes...]]> http://www.miikahweb.com/en/blender/git-logs/commit/ee3eba902a0b5d5f44b1cb2ff52a3a42cc9e9670 ee3eba9
Branches : master
Author : Bastien Montagne (mont29)
----------------------------------------
Runtime cache preservation during undo: add support for nodes and embedded IDs.

----------------------------------------
5 Paths Changed]]>
Mon, 06 Jul 2020 14:55:38 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/ee3eba902a0b5d5f44b1cb2ff52a3a42cc9e9670Bastien Montagne
<![CDATA[[0b07f9b] master: Fix T78608: Memory leak in Material properties: "Data from...]]> http://www.miikahweb.com/en/blender/git-logs/commit/0b07f9b71738c59b3834e2fc8b19779c72b3b020 0b07f9b
Branches : master
Author : Bastien Montagne (mont29)
----------------------------------------
Fix T78608: Memory leak in Material properties: "Data from SCE".

Caused by recent own refactor of cache presevation handling in readfile,
EEVEE's lightcache are weird birds that can also be saved in .blend
files, need a special handling for those 'persistent' caches...

----------------------------------------
7 Paths Changed]]>
Mon, 06 Jul 2020 13:09:39 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/0b07f9b71738c59b3834e2fc8b19779c72b3b020Bastien Montagne
<![CDATA[[fac2e63] master: Fix utterly broken code regarding GPUtextures of MovieClip...]]> http://www.miikahweb.com/en/blender/git-logs/commit/fac2e63bc0545301bd57cb082ed003063dc9ce0f fac2e63
Branches : master
Author : Bastien Montagne (mont29)
----------------------------------------
Fix utterly broken code regarding GPUtextures of MovieClip in readfile.c

Treat those as pure runtime code, reset to NULL by reading code, for
now.

Think those could be handled like Image gputextures (i.e. considered
runtime cache and preserved across undo steps), but probably not
critical for now.

----------------------------------------
1 Path Changed]]>
Fri, 03 Jul 2020 15:01:21 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/fac2e63bc0545301bd57cb082ed003063dc9ce0fBastien Montagne
<![CDATA[[1bdabd7] master: Move MovieClip to new undo cache management system.]]> http://www.miikahweb.com/en/blender/git-logs/commit/1bdabd7b4f0d2db9b06110ad4ca92522d782f5dc 1bdabd7
Branches : master
Author : Bastien Montagne (mont29)
----------------------------------------
Move MovieClip to new undo cache management system.

----------------------------------------
2 Paths Changed]]>
Fri, 03 Jul 2020 15:01:21 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/1bdabd7b4f0d2db9b06110ad4ca92522d782f5dcBastien Montagne
<![CDATA[[3a59c18] master: Move Scene's cache management during undo to new system.]]> http://www.miikahweb.com/en/blender/git-logs/commit/3a59c184b98a729ccaa1261d1252e084167f7a32 3a59c18
Branches : master
Author : Bastien Montagne (mont29)
----------------------------------------
Move Scene's cache management during undo to new system.

----------------------------------------
3 Paths Changed]]>
Fri, 03 Jul 2020 14:10:33 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/3a59c184b98a729ccaa1261d1252e084167f7a32Bastien Montagne
<![CDATA[[c997508] master: Move volume to new cache management system for undo.]]> http://www.miikahweb.com/en/blender/git-logs/commit/c9975088a908d0321271185661309e23e8bc1fb4 c997508
Branches : master
Author : Bastien Montagne (mont29)
----------------------------------------
Move volume to new cache management system for undo.

----------------------------------------
3 Paths Changed]]>
Fri, 03 Jul 2020 13:28:09 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/c9975088a908d0321271185661309e23e8bc1fb4Bastien Montagne
<![CDATA[[aab4140] master: Move bSound cache handling during undo to new system.]]> http://www.miikahweb.com/en/blender/git-logs/commit/aab41401f9e911f417039c06a28e948d75cbcdaf aab4140
Branches : master
Author : Bastien Montagne (mont29)
----------------------------------------
Move bSound cache handling during undo to new system.

----------------------------------------
3 Paths Changed]]>
Fri, 03 Jul 2020 10:56:21 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/aab41401f9e911f417039c06a28e948d75cbcdafBastien Montagne
<![CDATA[[ae5529c] master: Cleanup: do not use magic values for enums...]]> http://www.miikahweb.com/en/blender/git-logs/commit/ae5529c848127b0c87809e17516a1fe283e49a69 ae5529c
Branches : master
Author : Bastien Montagne (mont29)
----------------------------------------
Cleanup: do not use magic values for enums...

----------------------------------------
2 Paths Changed]]>
Fri, 03 Jul 2020 10:56:21 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/ae5529c848127b0c87809e17516a1fe283e49a69Bastien Montagne
<![CDATA[[8e0f8bb] master: New undo cache management: Add Image IDs.]]> http://www.miikahweb.com/en/blender/git-logs/commit/8e0f8bb3e153d5cae0050ceb90e6b561069fe05b 8e0f8bb
Branches : master
Author : Bastien Montagne (mont29)
----------------------------------------
New undo cache management: Add Image IDs.

Some notes:
* `Image.cache` acts as some kind of 'main' cache, when it is NULL
(could not be restored), other caches should also be cleared. Oddly
enough, previous code was not clearing **all** caches, could not find
any reason for that behavior, so new code does a full clear.
* `imamap` is still used for Node previews from scenes' compositor,
however this is actually fully disabled in `direct_link_node()`.
* For render slots we cannot use offsetof as third part of the cache
key, so we are using a hash of the slot's name instead.

As far as I can tell, this fixes T76989: Visual glitches when undo after
reload multiple images by script (in Material Preview).

----------------------------------------
2 Paths Changed]]>
Fri, 03 Jul 2020 10:56:21 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/8e0f8bb3e153d5cae0050ceb90e6b561069fe05bBastien Montagne