Changeset 661
- Timestamp:
- 04/24/17 18:18:44 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/model/geometry/modelgeoclass.cpp
r658 r661 74 74 if (m != NULL) 75 75 { 76 if (m->getShapeType() == Model::SHAPE_BALL_AND_STICK) 77 { 78 Model *converted = new Model; 79 converted->open(); 80 converted->buildUsingSolidShapeTypes(*m, Part::SHAPE_CYLINDER, 0.2); 81 converted->close(); 82 m=converted; 83 } 76 84 ModelGeometry *mg = new ModelGeometry((ModelObj*)m); 77 85 mg->density = density;
Note: See TracChangeset
for help on using the changeset viewer.