Commit dec7e0a8 authored by Jan Möbius's avatar Jan Möbius

Documentation

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@7654 383ad7c9-94d9-4d36-a494-682f7c89f535
parent f0e26657
......@@ -333,6 +333,7 @@ void Core::slotLoad(QString _filename, int _pluginID) {
// Check if it is a polymesh
if ( object != 0 && type == DATA_POLY_MESH ) {
/// \todo Move this code to polymesh plugin and do the check there!
PolyMeshObject* poly = 0;
PluginFunctions::getObject(id,poly);
......@@ -390,6 +391,7 @@ void Core::slotLoad(QString _filename, DataType _type, int& _id) {
PluginFunctions::getObject(_id,poly);
if ( poly != 0 ) {
/// \todo Move this code to polymesh plugin and do the check there!
PolyMesh& mesh = *poly->mesh();
bool isTriangleMesh = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment