Tobias Zwick 2011-08-19 16:50:58 +02:00
parent fa700f475f
commit 4776c4a949
1 changed files with 4 additions and 4 deletions

View File

@ -4429,10 +4429,10 @@ void C4Object::GetParallaxity(int32_t *parX, int32_t *parY)
{
assert(parX); assert(parY);
*parX = 100; *parY = 100;
if (Category & C4D_Foreground)
{
*parX = 0; *parY = 0;
return;
if (Category & C4D_Foreground)
{
*parX = 0; *parY = 0;
return;
}
if (!(Category & C4D_Parallax)) return;
C4Value parV; GetProperty(P_Parallaxity, &parV);