- cleaned out the coordinate code in FMaterial.
This commit is contained in:
parent
c178313da5
commit
31035a6cea
8 changed files with 16 additions and 81 deletions
|
|
@ -121,13 +121,6 @@ FMaterial::FMaterial(FTexture * tx, bool expanded)
|
|||
}
|
||||
}
|
||||
}
|
||||
mWidth = tx->GetTexelWidth();
|
||||
mHeight = tx->GetTexelHeight();
|
||||
mLeftOffset = tx->GetLeftOffset(0); // These only get used by decals and decals should not use renderer-specific offsets.
|
||||
mTopOffset = tx->GetTopOffset(0);
|
||||
mRenderWidth = tx->GetScaledWidth();
|
||||
mRenderHeight = tx->GetScaledHeight();
|
||||
|
||||
mExpanded = expanded;
|
||||
|
||||
mTextureLayers.ShrinkToFit();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue