diff --git a/Post/PView.cpp b/Post/PView.cpp index 0eda4bfa0a725b52218b43752e626f10939bf349..270d2992facbba6f4688e303ba713c402ed518b8 100644 --- a/Post/PView.cpp +++ b/Post/PView.cpp @@ -185,9 +185,10 @@ void PView::deleteVertexArrays() void PView::setOptions(PViewOptions *val) { + // deep copy options if(val) - _options = val; - else if(_options) // deep copy options from reference view + *_options = *val; + else if(_options) *_options = *PViewOptions::reference(); }