mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-17 00:47:05 +00:00
Fix for preview scale on billboards, prevent CDoorExtra from drawing its wireframe in game mode, change default World Editor tab to Modify
This commit is contained in:
@@ -488,7 +488,7 @@ CAABox CScriptNode::PreviewVolumeAABox() const
|
||||
CVector2f CScriptNode::BillboardScale() const
|
||||
{
|
||||
CVector2f out = (mpInstance->Template()->ScaleType() == CScriptTemplate::eScaleEnabled ? AbsoluteScale().xz() : CVector2f(1.f));
|
||||
return out * 0.5f;
|
||||
return out * 0.5f * mScaleMultiplier;
|
||||
}
|
||||
|
||||
// ************ PROTECTED ************
|
||||
|
||||
Reference in New Issue
Block a user