Corrected 3d plot style setting when openning project.

Re #7117.
Merge branch 'bugfix/7117_qtiplot_objects_crash' into develop