ulikilian
01-28-2009, 09:34 AM
Hi all,
I am participating in an online course here in CGSociety and the tutor pointed out, that the following doesn't work for some reason:
addModifier $ (CameraMap CameraNode:$Camera01)It does apply the Modifier, but it does not pick the camera. And it doesn't throw an error message or complain in any way.
Even stranger is, that if you execute the exact same line twice, the second CameraMap-Modifier DOES pick the Camera correctly!?!
And if you do not initialise the 'CameraNode' in the Constructor but later on, things are also fine:
for o in $ do (
addModifier o (CameraMap())
o.modifiers[1].CameraNode = $Camera01
) But why does it not work with the first line I've shown?
Is that a bug, or do we miss something here?
Thanks for help.
Uli
I am participating in an online course here in CGSociety and the tutor pointed out, that the following doesn't work for some reason:
addModifier $ (CameraMap CameraNode:$Camera01)It does apply the Modifier, but it does not pick the camera. And it doesn't throw an error message or complain in any way.
Even stranger is, that if you execute the exact same line twice, the second CameraMap-Modifier DOES pick the Camera correctly!?!
And if you do not initialise the 'CameraNode' in the Constructor but later on, things are also fine:
for o in $ do (
addModifier o (CameraMap())
o.modifiers[1].CameraNode = $Camera01
) But why does it not work with the first line I've shown?
Is that a bug, or do we miss something here?
Thanks for help.
Uli
