diff --git a/CameraRoll/CameraRoll/manifest.jecs b/CameraRoll/CameraRoll/manifest.jecs index ba78844..80b9ddb 100755 --- a/CameraRoll/CameraRoll/manifest.jecs +++ b/CameraRoll/CameraRoll/manifest.jecs @@ -1,7 +1,7 @@ ID: D4VID_CameraRoll Name: CameraRoll Author: D4VID -Version: 0.2.4 +Version: 0.2.5 Priority: 0 ClientOnly: true Dependencies: diff --git a/CameraRoll/CameraRoll/src/client/tool/CameraRollTool.cs b/CameraRoll/CameraRoll/src/client/tool/CameraRollTool.cs index 33ab66c..82f7782 100755 --- a/CameraRoll/CameraRoll/src/client/tool/CameraRollTool.cs +++ b/CameraRoll/CameraRoll/src/client/tool/CameraRollTool.cs @@ -60,6 +60,13 @@ namespace CameraRoll.Client.Tool { } } + public static void SetPointsVisible(bool visible) { + foreach (GameObject point in PathPoints) { + point.SetActive(visible); + } + } + + public static void Play() { if (_playing) return; @@ -69,6 +76,7 @@ namespace CameraRoll.Client.Tool { _pointIndex = 0; _interpolationState = 0.0f; + SetPointsVisible(false); _playing = true; } @@ -78,6 +86,8 @@ namespace CameraRoll.Client.Tool { _cam.transform.localPosition = _originalPosition; _cam.transform.localRotation = _originalRotation; + + SetPointsVisible(true); } public static void Clear() {