own mistake in last commit
authorCampbell Barton <ideasman42@gmail.com>
Wed, 7 Oct 2009 09:55:18 +0000 (09:55 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 7 Oct 2009 09:55:18 +0000 (09:55 +0000)
source/blender/makesrna/intern/rna_access.c

index 780a387ddbb7be9c4f35e375c0bb18639931a665..da467381c0618fdc135b4d46512744cb82d91b40 100644 (file)
@@ -2226,7 +2226,7 @@ int RNA_path_resolve(PointerRNA *ptr, const char *path, PointerRNA *r_ptr, Prope
        prop= NULL;
        curptr= *ptr;
 
-       if(path)
+       if(path==NULL)
                return 0;
 
        while(*path) {