Exemplo n.º 1
0
    protected override void after_tool_values_update()
    {
        supportMinAngle.interactable = ActiveParameterSet.GetValueInt("optimize_rounds") > 0;
        surfaceOffset.interactable   = ActiveParameterSet.GetValueInt("optimize_rounds") > 0;

        subtractInput.interactable  = false;
        subtractOffset.interactable = false;
    }
Exemplo n.º 2
0
    void on_basic_expert_toggle()
    {
        basic_mode = !basic_mode;

        if (basic_mode == true)
        {
            double grid_val = ActiveParameterSet.GetValue <double>("grid_cell_size");
            ActiveParameterSet.SetValue <double>("all_cell_size", grid_val);
        }

        update_basic_expert_visibility();
        base.update_values_from_tool();
    }