/*
* CINELERRA
* Copyright (C) 2008 Adam Williams <broadcast at earthling dot net>
+ * Copyright (C) 2003-2016 Cinelerra CV contributors
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
preview_start = 0; preview_end = -1;
zoom_sample = DEFAULT_ZOOM_TIME;
zoom_y = 0;
- zoom_atrack = 0;
- zoom_vtrack = 0;
+ zoom_atrack = 64;
+ zoom_vtrack = 64;
x_pane = y_pane = -1;
+ gang_tracks = GANG_NONE;
for(int i = 0; i < TOTAL_PANES; i++) {
view_start[i] = 0;
red_max = green_max = blue_max = 0;
use_max = 0;
solo_track_id = -1;
+ gang_tracks = GANG_NONE;
}
LocalSession::~LocalSession()
blue_max = that->blue_max;
use_max = that->use_max;
solo_track_id = that->solo_track_id;
+ gang_tracks = that->gang_tracks;
for (int i = 0; i < AUTOGROUPTYPE_COUNT; i++) {
automation_mins[i] = that->automation_mins[i];
file->tag.set_property("GREEN_MAX", green_max);
file->tag.set_property("BLUE_MAX", blue_max);
file->tag.set_property("USE_MAX", use_max);
+ file->tag.set_property("GANG_TRACKS", gang_tracks);
+
for (int i = 0; i < AUTOGROUPTYPE_COUNT; i++) {
if (!Automation::autogrouptypes_fixedrange[i]) {
blue_max = that->blue_max;
if( solo_track_id < 0 || that->solo_track_id < 0 )
solo_track_id = that->solo_track_id;
+ gang_tracks = that->gang_tracks;
}
green_max = file->tag.get_property("GREEN_MAX", green_max);
blue_max = file->tag.get_property("BLUE_MAX", blue_max);
use_max = file->tag.get_property("USE_MAX", use_max);
-
+ gang_tracks = file->tag.get_property("GANG_TRACKS", gang_tracks);
for (int i = 0; i < AUTOGROUPTYPE_COUNT; i++) {
if (!Automation::autogrouptypes_fixedrange[i]) {
automation_mins[i] = file->tag.get_property(xml_autogrouptypes_titlesmin[i],automation_mins[i]);
green_max = defaults->get("GREEN_MAX", 0.0);
blue_max = defaults->get("BLUE_MAX", 0.0);
use_max = defaults->get("USE_MAX", 0);
+ gang_tracks = defaults->get("GANG_TRACKS", GANG_NONE);
for (int i = 0; i < AUTOGROUPTYPE_COUNT; i++) {
if (!Automation::autogrouptypes_fixedrange[i]) {
defaults->update("GREEN_MAX", green_max);
defaults->update("BLUE_MAX", blue_max);
defaults->update("USE_MAX", use_max);
+ defaults->update("GANG_TRACKS", gang_tracks);
for (int i = 0; i < AUTOGROUPTYPE_COUNT; i++) {
if (!Automation::autogrouptypes_fixedrange[i]) {