carl.sutton Posted December 12, 2011 Share Posted December 12, 2011 The Object::isEnabled function only seems to return the value of 1, even when a surface is visibly disabled within the editor. Link to comment
hintuc_de Posted December 12, 2011 Share Posted December 12, 2011 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. Link to comment
carl.sutton Posted December 12, 2011 Author Share Posted December 12, 2011 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? Link to comment
hintuc_de Posted December 12, 2011 Share Posted December 12, 2011 carl.sutton Sorry, what does it mean: "when a surface is visibly disabled within the editor" ? Link to comment
carl.sutton Posted December 12, 2011 Author Share Posted December 12, 2011 Sorry to be unclear, I mean when I check/uncheck the enabled check box for a surface on the surfaces tab of an Object Link to comment
carl.sutton Posted December 12, 2011 Author Share Posted December 12, 2011 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. Link to comment
Recommended Posts