550:d97594e3fc54 | 551:0efe5dbcef07 |
---|---|
806 LDObject* obj; | 806 LDObject* obj; |
807 | 807 |
808 if (num == 4) | 808 if (num == 4) |
809 obj = new LDQuad; | 809 obj = new LDQuad; |
810 else | 810 else |
811 obj = new LDCndLine; | 811 obj = new LDCondLine; |
812 | 812 |
813 obj->setColor (tokens[1].toLong()); | 813 obj->setColor (tokens[1].toLong()); |
814 | 814 |
815 for (int i = 0; i < 4; ++i) | 815 for (int i = 0; i < 4; ++i) |
816 obj->setVertex (i, parseVertex (tokens, 2 + (i * 3))); // 2 - 13 | 816 obj->setVertex (i, parseVertex (tokens, 2 + (i * 3))); // 2 - 13 |