Hi,

I am trying to remove warnings I get in my clustering application.

In the main application, I do
vProgram = ShaderProgram::createVertexShader();
vProgram->addOSGVariable("OSGViewportSize");

In the slave application I get
WARNING: Child ([0x55f55624c6e0] id [1097] type [ShaderVariableOSG]
parentFieldId [4]) - Parent ([0x55f55624c3b0] id [1096] type
[ShaderProgramVariables]): link inconsistent!

After adding some more info I get
WARNING: in ShaderProcVariableBase::unlinkParent, Child ([0x55f55624c6e0]
id [1097] type [ShaderVariableOSG] name [unnamed] var [OSGViewportSize]
parentFieldId [4]) - Parent ([0x55f55624c3b0] id [1096] name [unnamed] type
[ShaderProgramVariables]): link inconsistent!

The warning comes from OSGShaderProcVariableBase.cpp
in ShaderProcVariableBase::unlinkParent

I checked if linkParent is called, it is indeed called in the main
application, but NOT in the slave.
But unlinkParent is called in both, resulting in the warning appearing in
the slave, its not consistent.

My question is now what should be the correct behavior, should linkParent
be called in the slave? or should the unlinkParent NOT be called?

best regards,
Victor
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to