Blender Git Commits

Blender Git "datablock_idprops" branch commits.

Page: 2 / 2

March 29, 2017, 14:25 (GMT)
Merge branch 'master' into datablock_idprops
March 29, 2017, 14:21 (GMT)
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.
March 29, 2017, 14:19 (GMT)
Fix missing handling of IDProps of nodetree's IO sockets.
March 29, 2017, 06:41 (GMT)
Fix mistake with last master merge...
March 28, 2017, 13:51 (GMT)
Merge branch 'master' into datablock_idprops
March 28, 2017, 12:35 (GMT)
Merge branch 'master' into datablock_idprops

Conflicts:
source/blender/blenloader/intern/readfile.c
March 27, 2017, 14:50 (GMT)
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.
March 27, 2017, 13:19 (GMT)
Merge branch 'master' into datablock_idprops
March 27, 2017, 13:17 (GMT)
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...
March 27, 2017, 12:52 (GMT)
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.
March 27, 2017, 12:49 (GMT)
Cleanup and minor changes.

No functional change expected, mostly:
* Some renaming, bit of style editing, cleanup...
* Removing some useless diff from master.
March 27, 2017, 08:48 (GMT)
Merge branch 'master' into datablock_idprops
March 21, 2017, 14:23 (GMT)
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
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021