Exemplo n.º 1
0
 void setting_modified(bool invalidate_slicing, bool invalidate_paths)
 {
     //if (invalidate_slicing)
     //	CC.InvalidateSlicing();
     //else if (invalidate_paths)
     //	CC.InvalidateToolPaths();
     bValueModified = true;
     OnSettingModified?.Invoke(this);
 }
Exemplo n.º 2
0
        void setting_modified(bool invalidate_slicing, bool invalidate_paths)
        {
            WriteToCurrentSettings();   // [RMS] need to do this so that settings are reflected in
                                        //   slicer. To avoid, we need to know to grab from CC.ObjSettings instead...

            if (invalidate_slicing)
            {
                CC.InvalidateSlicing();
            }
            else if (invalidate_paths)
            {
                CC.InvalidateToolPaths();
            }
            bValueModified = true;
            OnSettingModified?.Invoke(this);
        }