[longomatch] Initialize default cameras config correctly
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Initialize default cameras config correctly
- Date: Fri, 17 Apr 2015 16:21:39 +0000 (UTC)
commit f5eae5b333f6eeaee7c9acf99d7f27b99280b0a8
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Fri Apr 10 16:05:34 2015 +0200
Initialize default cameras config correctly
LongoMatch.Services/PlayerController.cs | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch.Services/PlayerController.cs b/LongoMatch.Services/PlayerController.cs
index cd5ea3c..0d7f0ff 100644
--- a/LongoMatch.Services/PlayerController.cs
+++ b/LongoMatch.Services/PlayerController.cs
@@ -110,6 +110,9 @@ namespace LongoMatch.Services
set {
Log.Debug ("Updating cameras configuration: ", string.Join ("-", value));
camerasVisible = value;
+ if (defaultCamerasVisible == null) {
+ defaultCamerasVisible = value;
+ }
if (loadedEvent != null) {
loadedEvent.CamerasVisible = value.ToList ();
} else if (loadedPlaylistElement is PlaylistPlayElement) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]