Signal activeCameraChanged() not working
Evelyn Mccall
Posts: 13
Hi,
I have an issue with a signal of Dz3dViewPort.
I am not receiving the signal activeCameraChanged().
DAZ Studio shows an error in the log file: WARNING: Object::connect: No such signal Dz3DViewport::activeCameraChanged(DzCamera *cam)
connect(my3dViewPort, SIGNAL(activeCameraChanged(DzCamera *cam)), this, SLOT(activeCamChanged(DzCamera *cam)));
If I try a different signal like viewChanged() to trigger my slot, it works.
connect(my3dViewPort, SIGNAL(viewChanged()), this, SLOT(activeCamChanged()));
Here's the part of the "dz3dviewport.h" header file:
//dz3dviewport.hsignals: void activeCameraChanged( DzCamera *cam ); void dimensionsChanged(); void viewChanged();
What am I doing wrong here, any idea?
I want to get informed, when the user switches to a different camera.
Post edited by Evelyn Mccall on
Comments
If I try using it in Script IDE it works:
Now I am even more confused.
Thanks a million. I never thought that I can't use the parameter identifiers. It works now.