Scale adjustment factor should not be written back to cellref scale

This commit is contained in:
scrawl 2013-04-13 00:13:56 +02:00
parent 23b477a938
commit d50150ad71

View file

@ -801,8 +801,8 @@ namespace MWWorld
void World::scaleObject (const Ptr& ptr, float scale)
{
MWWorld::Class::get(ptr).adjustScale(ptr,scale);
ptr.getCellRef().mScale = scale;
MWWorld::Class::get(ptr).adjustScale(ptr,scale);
if(ptr.getRefData().getBaseNode() == 0)
return;