Cleanup: various non functional C++ changes
This commit is contained in:
@@ -1569,7 +1569,7 @@ static ImBuf *seq_render_scene_strip(const SeqRenderData *context,
|
||||
is_frame_update = (orig_data.timeline_frame != scene->r.cfra) ||
|
||||
(orig_data.subframe != scene->r.subframe);
|
||||
|
||||
if ((sequencer_view3d_fn && do_seq_gl && camera)) {
|
||||
if (sequencer_view3d_fn && do_seq_gl && camera) {
|
||||
char err_out[256] = "unknown";
|
||||
int width, height;
|
||||
BKE_render_resolution(&scene->r, false, &width, &height);
|
||||
|
||||
@@ -116,10 +116,7 @@ void SEQ_transform_translate_sequence(Scene *evil_scene, Sequence *seq, int delt
|
||||
* updated based on nested strips. This won't work for empty meta-strips,
|
||||
* so they can be treated as normal strip. */
|
||||
if (seq->type == SEQ_TYPE_META && !BLI_listbase_is_empty(&seq->seqbase)) {
|
||||
Sequence *seq_child;
|
||||
for (seq_child = static_cast<Sequence *>(seq->seqbase.first); seq_child;
|
||||
seq_child = seq_child->next)
|
||||
{
|
||||
LISTBASE_FOREACH (Sequence *, seq_child, &seq->seqbase) {
|
||||
SEQ_transform_translate_sequence(evil_scene, seq_child, delta);
|
||||
}
|
||||
/* Move meta start/end points. */
|
||||
|
||||
Reference in New Issue
Block a user