http://www.miikahweb.com/feed.php MiikaHweb - Blender Datablock_idprops Branch http://www.miikahweb.com/ MiikaHweb - Blender Datablock_idprops Branch fi Fri, 13 Dec 19 05:11:29 +0000 MiikaHweb RSS contact at miikahweb.com <![CDATA[[5937ebb]: Merge branch 'master' into datablock_idprops]]> http://www.miikahweb.com/en/blender/git-logs/commit/5937ebba442639d7e349fd86570b8c47a8af991e 5937ebb
Branches : datablock_idprops
Author : Bastien Montagne (mont29)
----------------------------------------
Merge branch 'master' into datablock_idprops

----------------------------------------
0 Paths Changed]]>
Tue, 04 Apr 2017 14:04:35 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/5937ebba442639d7e349fd86570b8c47a8af991eBastien Montagne
<![CDATA[[6347b0b]: Some cleanup regarding STRUCT_CONTAINS_DATABLOCK_IDPROPERTIES...]]> http://www.miikahweb.com/en/blender/git-logs/commit/6347b0b0aa43a42f8927fe688799ecc30fb5538f 6347b0b
Branches : datablock_idprops
Author : Bastien Montagne (mont29)
----------------------------------------
Some cleanup regarding STRUCT_CONTAINS_DATABLOCK_IDPROPERTIES.

This whole system (how to prevent IDP_ID-forbidden structs to get
assigned IDP_ID-allowed IDProps) still seems somewhat brittle to me,
took me some time to wrap my head around it, but... could not find
any better way to do that so far.

----------------------------------------
4 Paths Changed]]>
Tue, 04 Apr 2017 08:29:14 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/6347b0b0aa43a42f8927fe688799ecc30fb5538fBastien Montagne
<![CDATA[[78f1476]: Some more cleanup, get rid of hack to protect against NULL...]]> http://www.miikahweb.com/en/blender/git-logs/commit/78f1476d931279407786e43e91aa17581a545699 78f1476
Branches : datablock_idprops
Author : Bastien Montagne (mont29)
----------------------------------------
Some more cleanup, get rid of hack to protect against NULL RNA pointerprops.

----------------------------------------
2 Paths Changed]]>
Tue, 04 Apr 2017 14:13:55 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/78f1476d931279407786e43e91aa17581a545699Bastien Montagne
<![CDATA[[9cf2a58]: Merge branch 'master' into datablock_idprops]]> http://www.miikahweb.com/en/blender/git-logs/commit/9cf2a581abfe5483a53434b1c26f944a1b671154 9cf2a58
Branches : datablock_idprops
Author : Bastien Montagne (mont29)
----------------------------------------
Merge branch 'master' into datablock_idprops

----------------------------------------
0 Paths Changed]]>
Sun, 02 Apr 2017 16:08:48 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/9cf2a581abfe5483a53434b1c26f944a1b671154Bastien Montagne
<![CDATA[[e131783]: Merge branch 'master' into datablock_idprops]]> http://www.miikahweb.com/en/blender/git-logs/commit/e131783384fcb6c566e60f9b892fe388b99f5ee7 e131783
Branches : datablock_idprops
Author : Bastien Montagne (mont29)
----------------------------------------
Merge branch 'master' into datablock_idprops

----------------------------------------
0 Paths Changed]]>
Tue, 04 Apr 2017 08:38:21 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/e131783384fcb6c566e60f9b892fe388b99f5ee7Bastien Montagne
<![CDATA[[e74254d]: Some minor cleanup.]]> http://www.miikahweb.com/en/blender/git-logs/commit/e74254dd48c81c29323ea2b2e531e370efb879a7 e74254d
Branches : datablock_idprops
Author : Bastien Montagne (mont29)
----------------------------------------
Some minor cleanup.

----------------------------------------
1 Path Changed]]>
Tue, 04 Apr 2017 13:41:39 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/e74254dd48c81c29323ea2b2e531e370efb879a7Bastien Montagne
<![CDATA[[26549b5]: Cleanup: simpler to define 'no datablock idprop' flag in RNA...]]> http://www.miikahweb.com/en/blender/git-logs/commit/26549b5ba2734f13883f38d6489bf1c9fad209e4 26549b5
Branches : datablock_idprops
Author : Bastien Montagne (mont29)
----------------------------------------
Cleanup: simpler to define 'no datablock idprop' flag in RNA struct definitions.

That's cleaner & easier to read than to do it for every child class in
register functions...

----------------------------------------
4 Paths Changed]]>
Fri, 31 Mar 2017 13:27:56 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/26549b5ba2734f13883f38d6489bf1c9fad209e4Bastien Montagne
<![CDATA[[39e1121]: Merge branch 'master' into datablock_idprops]]> http://www.miikahweb.com/en/blender/git-logs/commit/39e112169891762a5bf16a5132d445a840a42e87 39e1121
Branches : datablock_idprops
Author : Bastien Montagne (mont29)
----------------------------------------
Merge branch 'master' into datablock_idprops

----------------------------------------
0 Paths Changed]]>
Fri, 31 Mar 2017 10:19:30 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/39e112169891762a5bf16a5132d445a840a42e87Bastien Montagne
<![CDATA[[3c76da7]: Merge branch 'master' into datablock_idprops]]> http://www.miikahweb.com/en/blender/git-logs/commit/3c76da79b4065849db28f27f14a6125f4253ad95 3c76da7
Branches : datablock_idprops
Author : Bastien Montagne (mont29)
----------------------------------------
Merge branch 'master' into datablock_idprops

----------------------------------------
0 Paths Changed]]>
Fri, 31 Mar 2017 17:41:09 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/3c76da79b4065849db28f27f14a6125f4253ad95Bastien Montagne
<![CDATA[[4a3708b]: Add missing handling of sequencer's strips IDProperties.]]> http://www.miikahweb.com/en/blender/git-logs/commit/4a3708b7ea89b8160002accdae2441da24e1da26 4a3708b
Branches : datablock_idprops
Author : Bastien Montagne (mont29)
----------------------------------------
Add missing handling of sequencer's strips IDProperties.

----------------------------------------
2 Paths Changed]]>
Fri, 31 Mar 2017 17:40:12 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/4a3708b7ea89b8160002accdae2441da24e1da26Bastien Montagne
<![CDATA[[aebd8a7]: More cleanup anf fixes!]]> http://www.miikahweb.com/en/blender/git-logs/commit/aebd8a7328962944b215c6bee986eb8d0dd84ee8 aebd8a7
Branches : datablock_idprops
Author : Bastien Montagne (mont29)
----------------------------------------
More cleanup anf fixes!

----------------------------------------
1 Path Changed]]>
Fri, 31 Mar 2017 08:57:01 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/aebd8a7328962944b215c6bee986eb8d0dd84ee8Bastien Montagne
<![CDATA[[d424c80]: Cleanup: Some minor styling.]]> http://www.miikahweb.com/en/blender/git-logs/commit/d424c8041de8d20d295fcfc11aabc15d0a3b4d18 d424c80
Branches : datablock_idprops
Author : Bastien Montagne (mont29)
----------------------------------------
Cleanup: Some minor styling.

----------------------------------------
1 Path Changed]]>
Fri, 31 Mar 2017 21:56:18 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/d424c8041de8d20d295fcfc11aabc15d0a3b4d18Bastien Montagne
<![CDATA[[01e0b38]: Grr, fix stupid typo in previous commit...]]> http://www.miikahweb.com/en/blender/git-logs/commit/01e0b38b66219510b7f59e42141558faabf5ac16 01e0b38
Branches : datablock_idprops
Author : Bastien Montagne (mont29)
----------------------------------------
Grr, fix stupid typo in previous commit...

Always build before committing :|

----------------------------------------
1 Path Changed]]>
Thu, 30 Mar 2017 21:06:38 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/01e0b38b66219510b7f59e42141558faabf5ac16Bastien Montagne
<![CDATA[[314ccf6]: Merge branch 'master' into datablock_idprops]]> http://www.miikahweb.com/en/blender/git-logs/commit/314ccf64944d4b6fa199e0f5123118b5cb6aca12 314ccf6
Branches : datablock_idprops
Author : Bastien Montagne (mont29)
----------------------------------------
Merge branch 'master' into datablock_idprops

----------------------------------------
0 Paths Changed]]>
Thu, 30 Mar 2017 21:00:12 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/314ccf64944d4b6fa199e0f5123118b5cb6aca12Bastien Montagne
<![CDATA[[8072d4b]: Merge branch 'master' into datablock_idprops]]> http://www.miikahweb.com/en/blender/git-logs/commit/8072d4bd660793eee50caac3608dd91024b2689c 8072d4b
Branches : datablock_idprops
Author : Bastien Montagne (mont29)
----------------------------------------
Merge branch 'master' into datablock_idprops

----------------------------------------
0 Paths Changed]]>
Fri, 31 Mar 2017 08:44:55 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/8072d4bd660793eee50caac3608dd91024b2689cBastien Montagne
<![CDATA[[952f31b]: Fix bunch of missing/incorrect handling of IDProps.]]> http://www.miikahweb.com/en/blender/git-logs/commit/952f31b0d8dcf9d441658e88f66a7c765e07a28c 952f31b
Branches : datablock_idprops
Author : Bastien Montagne (mont29)
----------------------------------------
Fix bunch of missing/incorrect handling of IDProps.

Mainly in readfile.c and library_query.c.
Plus some other minor fixes and cleanup.

----------------------------------------
2 Paths Changed]]>
Fri, 31 Mar 2017 08:42:45 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/952f31b0d8dcf9d441658e88f66a7c765e07a28cBastien Montagne
<![CDATA[[abb876d]: Cleanup - resync with master, this needs to be fixed in master...]]> http://www.miikahweb.com/en/blender/git-logs/commit/abb876d84b9bdf424bf8d338246dec36b5803c86 abb876d
Branches : datablock_idprops
Author : Bastien Montagne (mont29)
----------------------------------------
Cleanup - resync with master, this needs to be fixed in master first!

----------------------------------------
1 Path Changed]]>
Thu, 30 Mar 2017 19:19:17 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/abb876d84b9bdf424bf8d338246dec36b5803c86Bastien Montagne
<![CDATA[[b7464ec]: Fix another case of bad logic in recurrent function handling...]]> http://www.miikahweb.com/en/blender/git-logs/commit/b7464ec6a2b65fcf65f7869f27ee1130a6d0072c b7464ec
Branches : datablock_idprops
Author : Bastien Montagne (mont29)
----------------------------------------
Fix another case of bad logic in recurrent function handling IDProps.

And some generic cleanup/styling/etc.

----------------------------------------
1 Path Changed]]>
Thu, 30 Mar 2017 19:18:04 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/b7464ec6a2b65fcf65f7869f27ee1130a6d0072cBastien Montagne
<![CDATA[[e444a41]: Merge branch 'master' into datablock_idprops]]> http://www.miikahweb.com/en/blender/git-logs/commit/e444a41545b0be39db63dbe1a39c8bf33cf331ef e444a41
Branches : datablock_idprops
Author : Bastien Montagne (mont29)
----------------------------------------
Merge branch 'master' into datablock_idprops

----------------------------------------
0 Paths Changed]]>
Thu, 30 Mar 2017 10:56:31 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/e444a41545b0be39db63dbe1a39c8bf33cf331efBastien Montagne
<![CDATA[[e446935]: Fix always-unlinking in ID free function.]]> http://www.miikahweb.com/en/blender/git-logs/commit/e446935265c08fe0abd19b43134a30c51a84679c e446935
Branches : datablock_idprops
Author : Bastien Montagne (mont29)
----------------------------------------
Fix always-unlinking in ID free function.

Since IDProps now handle ID usages, makes sense to pass do_id_user flag
to some new IDP_FreeProperty_ex() as well...

----------------------------------------
6 Paths Changed]]>
Thu, 30 Mar 2017 10:52:07 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/e446935265c08fe0abd19b43134a30c51a84679cBastien Montagne
<![CDATA[[171c39c]: Merge branch 'master' into datablock_idprops]]> http://www.miikahweb.com/en/blender/git-logs/commit/171c39cc196d088153fcd20561fa85dfe04813b1 171c39c
Branches : datablock_idprops
Author : Bastien Montagne (mont29)
----------------------------------------
Merge branch 'master' into datablock_idprops

----------------------------------------
0 Paths Changed]]>
Wed, 29 Mar 2017 14:25:09 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/171c39cc196d088153fcd20561fa85dfe04813b1Bastien Montagne
<![CDATA[[603aafc]: Fix missing handling of IDProps of nodetree's IO sockets.]]> http://www.miikahweb.com/en/blender/git-logs/commit/603aafc9dc82b18b9f1e70d6e025f3d593dc8622 603aafc
Branches : datablock_idprops
Author : Bastien Montagne (mont29)
----------------------------------------
Fix missing handling of IDProps of nodetree's IO sockets.

----------------------------------------
1 Path Changed]]>
Wed, 29 Mar 2017 14:19:00 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/603aafc9dc82b18b9f1e70d6e025f3d593dc8622Bastien Montagne
<![CDATA[[93543e6]: Fix mistake with last master merge...]]> http://www.miikahweb.com/en/blender/git-logs/commit/93543e66954b1221c9ce6039718165ef4e2b7273 93543e6
Branches : datablock_idprops
Author : Bastien Montagne (mont29)
----------------------------------------
Fix mistake with last master merge...

----------------------------------------
1 Path Changed]]>
Wed, 29 Mar 2017 06:41:42 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/93543e66954b1221c9ce6039718165ef4e2b7273Bastien Montagne
<![CDATA[[aae70f1]: Cleanup, minor fixes and serious simplification of idprops.c]]> http://www.miikahweb.com/en/blender/git-logs/commit/aae70f182b1477dc9f4091cc92582ba21d4679cd aae70f1
Branches : datablock_idprops
Author : Bastien Montagne (mont29)
----------------------------------------
Cleanup, minor fixes and serious simplification of idprops.c

Mostly, get rid of id_(un)register, we can just use mere id_us_plus/min
as anywhere else in code now. Also, unlink function was not actually
used.

----------------------------------------
4 Paths Changed]]>
Wed, 29 Mar 2017 14:21:40 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/aae70f182b1477dc9f4091cc92582ba21d4679cdBastien Montagne
<![CDATA[[f512c8c]: Merge branch 'master' into datablock_idprops]]> http://www.miikahweb.com/en/blender/git-logs/commit/f512c8c2a80bbb217683b8d61560d97bd96b5662 f512c8c
Branches : datablock_idprops
Author : Bastien Montagne (mont29)
----------------------------------------
Merge branch 'master' into datablock_idprops

----------------------------------------
0 Paths Changed]]>
Tue, 28 Mar 2017 13:51:14 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/f512c8c2a80bbb217683b8d61560d97bd96b5662Bastien Montagne
<![CDATA[[a5f316e]: Merge branch 'master' into datablock_idprops]]> http://www.miikahweb.com/en/blender/git-logs/commit/a5f316e9996ef16716abd3766832d1ab0c09edd9 a5f316e
Branches : datablock_idprops
Author : Bastien Montagne (mont29)
----------------------------------------
Merge branch 'master' into datablock_idprops

Conflicts:
source/blender/blenloader/intern/readfile.c

----------------------------------------
0 Paths Changed]]>
Tue, 28 Mar 2017 12:35:18 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/a5f316e9996ef16716abd3766832d1ab0c09edd9Bastien Montagne
<![CDATA[[43b255a]: Cleanup: remove 'generic' ID liblink function in readfile.c]]> http://www.miikahweb.com/en/blender/git-logs/commit/43b255a2a16d26a7df168742193a440f79eec694 43b255a
Branches : datablock_idprops
Author : Bastien Montagne (mont29)
----------------------------------------
Cleanup: remove 'generic' ID liblink function in readfile.c

We do need some generic ID handling refactor here (as was recently done
for writefile.c), but this out of scope of this patch - and not the way
to do it.

----------------------------------------
1 Path Changed]]>
Mon, 27 Mar 2017 14:50:15 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/43b255a2a16d26a7df168742193a440f79eec694Bastien Montagne
<![CDATA[[38589ce]: Fix bad auto-generated UI for ID IDProps.]]> http://www.miikahweb.com/en/blender/git-logs/commit/38589ce6ef0d48b9e7cc6a6496de824661ed8271 38589ce
Branches : datablock_idprops
Author : Bastien Montagne (mont29)
----------------------------------------
Fix bad auto-generated UI for ID IDProps.

`RNA_path_resolve()` tries to 'dereference' pointer properties, was not
a problem before but now that we do have pointer IDProps we want to get
property here, not it's pointed data.

----------------------------------------
1 Path Changed]]>
Mon, 27 Mar 2017 12:52:15 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/38589ce6ef0d48b9e7cc6a6496de824661ed8271Bastien Montagne
<![CDATA[[60ac61b]: Fix obvious mistake in logic of two functions recursively handling...]]> http://www.miikahweb.com/en/blender/git-logs/commit/60ac61b13f8bffcb95faaf0178ae7d3e91ab0977 60ac61b
Branches : datablock_idprops
Author : Bastien Montagne (mont29)
----------------------------------------
Fix obvious mistake in logic of two functions recursively handling IDProps.

They were expecting IDP_group as parameter, but then recursiveley
calling themselves with IDProps from groups and arrays, which can be of
any type...

----------------------------------------
2 Paths Changed]]>
Mon, 27 Mar 2017 13:17:29 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/60ac61b13f8bffcb95faaf0178ae7d3e91ab0977Bastien Montagne
<![CDATA[[95e0cb4]: Cleanup and minor changes.]]> http://www.miikahweb.com/en/blender/git-logs/commit/95e0cb499b1401fa62de1c36126a98fdc300a734 95e0cb4
Branches : datablock_idprops
Author : Bastien Montagne (mont29)
----------------------------------------
Cleanup and minor changes.

No functional change expected, mostly:
* Some renaming, bit of style editing, cleanup...
* Removing some useless diff from master.

----------------------------------------
19 Paths Changed]]>
Mon, 27 Mar 2017 12:49:40 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/95e0cb499b1401fa62de1c36126a98fdc300a734Bastien Montagne
<![CDATA[[eef52b2]: Merge branch 'master' into datablock_idprops]]> http://www.miikahweb.com/en/blender/git-logs/commit/eef52b281804899b0fa2e2185f919eac7ee6ca43 eef52b2
Branches : datablock_idprops
Author : Bastien Montagne (mont29)
----------------------------------------
Merge branch 'master' into datablock_idprops

----------------------------------------
0 Paths Changed]]>
Mon, 27 Mar 2017 13:19:50 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/eef52b281804899b0fa2e2185f919eac7ee6ca43Bastien Montagne
<![CDATA[[db0bada]: Merge branch 'master' into datablock_idprops]]> http://www.miikahweb.com/en/blender/git-logs/commit/db0bada1c3622ea5fc118e8959d7c410ccc17548 db0bada
Branches : datablock_idprops
Author : Bastien Montagne (mont29)
----------------------------------------
Merge branch 'master' into datablock_idprops

----------------------------------------
0 Paths Changed]]>
Mon, 27 Mar 2017 08:48:21 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/db0bada1c3622ea5fc118e8959d7c410ccc17548Bastien Montagne
<![CDATA[[a3f48d6]: Datablock ID Properties]]> http://www.miikahweb.com/en/blender/git-logs/commit/a3f48d65df19ff4c0dd4e83e2d19493318001b7a a3f48d6
Branches : datablock_idprops
Author : Alexander Romanov (a.romanov)
----------------------------------------
Datablock ID Properties

Summary:
The absence of datablock properties "will certainly be resolved soon as the need for them is becoming obvious" said the [[http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.67/Python_Nodes|Python Nodes release notes]]. So this patch allows Python scripts to create ID Properties which reference datablocks.
This functionality is implemented for `PointerProperty` and now such properties can be created with Python.

In addition to the standard update callback, `PointerProperty` can have a `poll` callback (standard RNA) which is useful for search menus. For details see the test included in this patch.

Original author: @artfunkel

Alexander (Blend4Web Team)

Reviewers: brecht, artfunkel, mont29

Subscribers: poseidon4o, mont29, homyachetser, Evgeny_Rodygin, AlexKowel, yurikovelenov, fjuhec, sharlybg, cardboard, Asticles, duarteframos, blueprintrandom, a.romanov, BYOB, disnel, aditiapratama, bliblubli, dfelinto, lukastoenne

Maniphest Tasks: T37754

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

----------------------------------------
35 Paths Changed]]>
Tue, 21 Mar 2017 14:23:26 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/a3f48d65df19ff4c0dd4e83e2d19493318001b7aAlexander Romanov