forked from bartvdbraak/blender
2.5: svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r22291:22625
This commit is contained in:
parent
9b25a3bb2a
commit
e611c4756f
@ -197,7 +197,7 @@ def is_tricyl_facegroup(faces):
|
|||||||
is the face group a tri cylinder
|
is the face group a tri cylinder
|
||||||
Returens a bool, true if the faces make an extruded tri solid
|
Returens a bool, true if the faces make an extruded tri solid
|
||||||
'''
|
'''
|
||||||
return False
|
|
||||||
# cube must have 5 faces
|
# cube must have 5 faces
|
||||||
if len(faces) != 5:
|
if len(faces) != 5:
|
||||||
print '1'
|
print '1'
|
||||||
|
@ -2792,6 +2792,10 @@ void sequence_effect_speed_rebuild_map(Sequence * seq, int force)
|
|||||||
if (!(force || seq->len != v->length || !v->frameMap)) {
|
if (!(force || seq->len != v->length || !v->frameMap)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (!seq->seq1) { /* make coverity happy and check for (CID 598)
|
||||||
|
input strip ... */
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (!v->frameMap || v->length != seq->len) {
|
if (!v->frameMap || v->length != seq->len) {
|
||||||
if (v->frameMap) MEM_freeN(v->frameMap);
|
if (v->frameMap) MEM_freeN(v->frameMap);
|
||||||
@ -2807,7 +2811,7 @@ void sequence_effect_speed_rebuild_map(Sequence * seq, int force)
|
|||||||
/* if there is no IPO, try to make retiming easy by stretching the
|
/* if there is no IPO, try to make retiming easy by stretching the
|
||||||
strip */
|
strip */
|
||||||
// XXX old animation system - seq
|
// XXX old animation system - seq
|
||||||
if (/*!seq->ipo &&*/ seq->seq1 && seq->seq1->enddisp != seq->seq1->start
|
if (/*!seq->ipo &&*/ seq->seq1->enddisp != seq->seq1->start
|
||||||
&& seq->seq1->len != 0) {
|
&& seq->seq1->len != 0) {
|
||||||
fallback_fac = (float) seq->seq1->len /
|
fallback_fac = (float) seq->seq1->len /
|
||||||
(float) (seq->seq1->enddisp - seq->seq1->start);
|
(float) (seq->seq1->enddisp - seq->seq1->start);
|
||||||
|
Loading…
Reference in New Issue
Block a user