<div dir="ltr">Hi Ran,<br><div class="gmail_extra"><br><div class="gmail_quote">On 6 May 2015 at 02:43, Ran Chao <span dir="ltr"><<a href="mailto:1530904175@qq.com" target="_blank">1530904175@qq.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">my program just shows a earth model, and i want to add camera(use addSlave function) dynamically(such as i press a number key--'1').But when i run the program, it appears a wanring: detected OpenGL error 'invalid enumerant' at After Renderer::compile. And the image of the camera is dark.<br>
  who have met this problem? i hope that you can give me some advices.[/url]<br></blockquote><div><br></div><div>Too few details for us to know what might be amiss.<br><br></div><div>As a general note, it's better to set up the Camera's you need and then enable/disable a Camera via setNodeMask() when you need or don't need them.  <br><br></div><div>Robert.<br></div><div> </div><div><br><br><br> </div></div></div></div>