Skip to content
Snippets Groups Projects
Commit 7c6d4b36 authored by Johan Helsing's avatar Johan Helsing
Browse files

Fix spelling of "primitive"

parent 8d3e2d48
No related branches found
No related tags found
No related merge requests found
......@@ -190,7 +190,7 @@ void UipImporter::checkForResourceFiles(GraphObject *object)
QString meshLocation = model->m_mesh_unresolved;
// Remove trailing # directive
int hashLocation = meshLocation.indexOf("#");
// if mesh source starts with #, it's a primative, so skip
// if mesh source starts with #, it's a primitive, so skip
if (hashLocation == 1)
return;
if (hashLocation != -1) {
......
......@@ -198,11 +198,11 @@ QString QDemonModel::translateSource()
{
QString fragment;
if (m_source.hasFragment()) {
// Check if this is an index, or primative
// Check if this is an index, or primitive
bool isNumber = false;
m_source.fragment().toInt(&isNumber);
fragment = QStringLiteral("#") + m_source.fragment();
// If it wasn't an index, then it was a primative
// If it wasn't an index, then it was a primitive
if (!isNumber)
return fragment;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment