fix create selectionBox wireframe

This commit is contained in:
Sam Gondelman 2019-02-05 23:07:57 -08:00 committed by GitHub
parent 934abb3d52
commit bc11d80a52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -351,7 +351,7 @@ EntityItemProperties Overlays::convertOverlayToEntityProperties(QVariantMap& ove
return "none";
});
if (type == "Shape" || type == "Gizmo") {
if (type == "Shape" || type == "Box" || type == "Sphere" || type == "Gizmo") {
RENAME_PROP(solid, isSolid);
RENAME_PROP(isFilled, isSolid);
RENAME_PROP(filled, isSolid);
@ -1967,4 +1967,4 @@ QVector<QUuid> Overlays::findOverlays(const glm::vec3& center, float radius) {
* outwards from the inner radius; a negative value draws tick marks inwards from the outer radius.
* @property {Color} majorTickMarksColor = 0, 0, 0 - The color of the major tick marks.
* @property {Color} minorTickMarksColor = 0, 0, 0 - The color of the minor tick marks.
*/
*/