Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-10-07 14:04:07 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-10-07 14:04:07 +0400
commit8a4fe62843f8aa311226f543d14bd3e5440ffe7d (patch)
treec8dc58cda87f525acb567796c80164ef3a8f8050 /source/blender/blenkernel/intern/pointcache.c
parentc9453b1357dcb878dff6efc9dd3597452d6dc762 (diff)
misc fixes found with clang's static checker.
Diffstat (limited to 'source/blender/blenkernel/intern/pointcache.c')
-rw-r--r--source/blender/blenkernel/intern/pointcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/pointcache.c b/source/blender/blenkernel/intern/pointcache.c
index 4ec12b3482c..a15e66ed843 100644
--- a/source/blender/blenkernel/intern/pointcache.c
+++ b/source/blender/blenkernel/intern/pointcache.c
@@ -1082,7 +1082,7 @@ void BKE_ptcache_ids_from_object(ListBase *lb, Object *ob, Scene *scene, int dup
static int ptcache_path(PTCacheID *pid, char *filename)
{
- Library *lib= (pid)? pid->ob->id.lib: NULL;
+ Library *lib= (pid->ob)? pid->ob->id.lib: NULL;
const char *blendfilename= (lib && (pid->cache->flag & PTCACHE_IGNORE_LIBPATH)==0) ? lib->filepath: G.sce;
size_t i;