Пример #1
0
        private void Update(EvaluationContext context)
        {
            var visibility = Visibility.GetValue(context);

            if (visibility == T3.Core.Operator.GizmoVisibility.Inherit)
            {
                visibility = context.ShowGizmos;
            }

            if (visibility != T3.Core.Operator.GizmoVisibility.On)
            {
                return;
            }


            var commands = Commands.GetCollectedTypedInputs();

            if (commands.Count == 0)
            {
                return;
            }

            foreach (var t in commands)
            {
                t.GetValue(context);
            }
        }