Jump to content

Object::isEnabled bug ???


photo

Recommended Posts

Posted

The Object::isEnabled function only seems to return the value of 1, even when a surface is visibly disabled within the editor.

Posted

Object::isEnabled method is inherited from Node. Node has could be enabled, even when all its surfaces were disabled. isVisible and isEnabled methods are differents.

Posted

Object::isEnabled function requires a int surface id parameter which suggests that it should have its own per surface functionaility. Else why would it exist?

Posted

carl.sutton

Sorry, what does it mean: "when a surface is visibly disabled within the editor" ?

Posted

Sorry to be unclear, I mean when I check/uncheck the enabled check box for a surface on the surfaces tab of an Object

Posted

I made a small test scene and found that the function is fine! I made an assumption I shouldn't have done and assumed it was to blame. Sorry for wasting anyones time.

×
×
  • Create New...