PyDriver support for all RNA property types

Support for driver variables that don't resolve to numbers, eg:
objects, bones, curves... etc.

Without this, Python expressions to access this data needed to use an absolute path from `bpy.data`,
however this is inconvenient, breaks easily (based on naming) and wouldn't set the dependencies correctly.
This commit is contained in:
2016-04-05 07:02:43 +10:00
parent 65f279b770
commit 82b0a9e369
6 changed files with 204 additions and 6 deletions

View File

@@ -71,6 +71,7 @@ set(SRC
bpy_rna_anim.c
bpy_rna_array.c
bpy_rna_callback.c
bpy_rna_driver.c
bpy_rna_id_collection.c
bpy_traceback.c
bpy_util.c
@@ -99,6 +100,7 @@ set(SRC
bpy_rna.h
bpy_rna_anim.h
bpy_rna_callback.h
bpy_rna_driver.h
bpy_rna_id_collection.h
bpy_traceback.h
bpy_util.h