]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/mapobjects/subs.qc
Merge branch 'bones_was_here/obj_model_orientation' into 'master'
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / mapobjects / subs.qc
index 09ceba21f0bb4caee58bc093bfb1ea6a11b5e8a6..c50e123ff428ac34142508462980ceec5b1af605 100644 (file)
@@ -435,9 +435,6 @@ void SetBrushEntityModel(entity this, bool with_lod)
                        _setmodel(this, this.model); // no precision needed
                if(with_lod)
                        InitializeEntity(this, LODmodel_attach, INITPRIO_FINDTARGET);
-
-               if(endsWith(this.model, ".obj")) // WORKAROUND: darkplaces currently rotates .obj models on entities incorrectly, we need to add 180 degrees to the Y axis
-                       this.angles_y = anglemods(this.angles_y - 180);
        }
        setorigin(this, this.origin);
        ApplyMinMaxScaleAngles(this);