Purging compiler warnings
This commit is contained in:
@@ -296,7 +296,8 @@ class OBJECT_PT_animation(ObjectButtonsPanel):
|
||||
col.prop(ob, "time_offset", text="Offset")
|
||||
|
||||
# XXX: these are still used for a few curve-related tracking features
|
||||
col = split.column()
|
||||
if wide_ui:
|
||||
col = split.column()
|
||||
col.label(text="Tracking Axes:")
|
||||
col.prop(ob, "track_axis", text="Axis")
|
||||
col.prop(ob, "up_axis", text="Up Axis")
|
||||
|
||||
@@ -1687,7 +1687,7 @@ int BKE_ptcache_write_cache(PTCacheID *pid, int cfra)
|
||||
return 0;
|
||||
|
||||
if(cache->flag & PTCACHE_DISK_CACHE) {
|
||||
int ofra, efra = cache->endframe;
|
||||
int ofra=0, efra = cache->endframe;
|
||||
|
||||
if(cfra==0)
|
||||
add = 1;
|
||||
@@ -2871,4 +2871,5 @@ void BKE_ptcache_invalidate(PointCache *cache)
|
||||
cache->flag &= ~PTCACHE_SIMULATION_VALID;
|
||||
cache->simframe = 0;
|
||||
cache->last_exact = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -4158,7 +4158,6 @@ static void createTransSeqData(bContext *C, TransInfo *t)
|
||||
static void ObjectToTransData(bContext *C, TransInfo *t, TransData *td, Object *ob)
|
||||
{
|
||||
Scene *scene = t->scene;
|
||||
Object *track;
|
||||
float obmtx[3][3];
|
||||
short constinv;
|
||||
short skip_invert = 0;
|
||||
|
||||
Reference in New Issue
Block a user