I reverted the change from David Nicholls to CShape::operator= It was causing a crash when: Create a Sphere. Delete the Sphere. HeeksCAD crashes.
I reverted the change from David Nicholls to CShape::operator=
It was causing a crash when:
Create a Sphere.
Delete the Sphere.
HeeksCAD crashes.

I was bypassing ObjList::operator= for CShape by calling ObjList's parent HeeksObj's operator=, and handling it's children differently.
haiqiangwang/heekscad,haiqiangwang/heekscad,haiqiangwang/heekscad,Funcan/heekscad,Funcan/heekscad,satovey/heekscad,satovey/heekscad,satovey/heekscad,Funcan/heekscad,Funcan/heekscad,satovey/heekscad,haiqiangwang/heekscad