track_start[i] = 0;
}
+ reset_view_limits();
automation_mins[AUTOGROUPTYPE_AUDIO_FADE] = -80;
automation_maxs[AUTOGROUPTYPE_AUDIO_FADE] = 6;
-
automation_mins[AUTOGROUPTYPE_VIDEO_FADE] = 0;
automation_maxs[AUTOGROUPTYPE_VIDEO_FADE] = 100;
-
- automation_mins[AUTOGROUPTYPE_ZOOM] = 0.005;
- automation_maxs[AUTOGROUPTYPE_ZOOM] = 5.000;
-
automation_mins[AUTOGROUPTYPE_SPEED] = 0.005;
automation_maxs[AUTOGROUPTYPE_SPEED] = 5.000;
-
- automation_mins[AUTOGROUPTYPE_X] = -100;
- automation_maxs[AUTOGROUPTYPE_X] = 100;
-
- automation_mins[AUTOGROUPTYPE_Y] = -100;
- automation_maxs[AUTOGROUPTYPE_Y] = 100;
-
automation_mins[AUTOGROUPTYPE_INT255] = 0;
automation_maxs[AUTOGROUPTYPE_INT255] = 255;
red = green = blue = 0;
red_max = green_max = blue_max = 0;
use_max = 0;
+ solo_track_id = -1;
}
LocalSession::~LocalSession()
green_max = that->green_max;
blue_max = that->blue_max;
use_max = that->use_max;
+ solo_track_id = that->solo_track_id;
for (int i = 0; i < AUTOGROUPTYPE_COUNT; i++) {
automation_mins[i] = that->automation_mins[i];
red_max = that->red_max;
green_max = that->green_max;
blue_max = that->blue_max;
+ if( solo_track_id < 0 || that->solo_track_id < 0 )
+ solo_track_id = that->solo_track_id;
}
return out_point >= 0;
}
+void LocalSession::reset_view_limits()
+{
+ automation_mins[AUTOGROUPTYPE_ZOOM] = 0.005;
+ automation_maxs[AUTOGROUPTYPE_ZOOM] = 5.000;
+ automation_mins[AUTOGROUPTYPE_X] = -100;
+ automation_maxs[AUTOGROUPTYPE_X] = 100;
+ automation_mins[AUTOGROUPTYPE_Y] = -100;
+ automation_maxs[AUTOGROUPTYPE_Y] = 100;
+}
+