Blender Git Commit Log

Git Commits -> Revision a3f48d6

Revision a3f48d6 by Alexander Romanov (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

Commit Details:

Full Hash: a3f48d65df19ff4c0dd4e83e2d19493318001b7a
Parent Commit: a0f16e1
Lines Changed: +952, -132

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2020