diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-01-23 05:59:21 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-01-23 05:59:21 +0300 |
commit | 6f24a2a559a155e3501e9fde762b39e687708abb (patch) | |
tree | 4e6b3f95ac40a645265fb85d2e3a699113e1198e /source/blender/makesrna | |
parent | 2e7f3bb99cae050e5f5d5333327fea05389fdeed (diff) |
Animato:
* Removed a few excessive debug prints
* Fixed crash on loading "Frankie" from BBB due to missing check for Driver without a target
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_access.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source/blender/makesrna/intern/rna_access.c b/source/blender/makesrna/intern/rna_access.c index 18d2fd31400..ce896be5868 100644 --- a/source/blender/makesrna/intern/rna_access.c +++ b/source/blender/makesrna/intern/rna_access.c @@ -1469,17 +1469,14 @@ int RNA_path_resolve(PointerRNA *ptr, const char *path, PointerRNA *r_ptr, Prope return 0; len= strlen(token); - printf("RNA path identifier strlen = %d \n", len); - + /* check for "" to see if it is a string */ if(len >= 2 && token[0] == '"' && token[len-1] == '"') { /* strip away "" */ token[len-1]= 0; - printf("RNA path identifier - string %s \n", token+1); RNA_property_collection_lookup_string(&curptr, prop, token+1, &nextptr); } else { - printf("RNA path identifier - int %s \n", token); /* otherwise do int lookup */ intkey= atoi(token); RNA_property_collection_lookup_int(&curptr, prop, intkey, &nextptr); |