branchgroup.compile?

Hi,

I'm a little confused about the branchgroup.compile() function. I know that it compiles why scene tree into a more render-friendly format, but I'm not sure when I need to call it.
  1. If a add an object to the tree, do I need to call it?
  2. If I change a transformation on an object, do I need to call it?
  3. If B is the child of A and I add C as the child of B ( A <-- B <-- C ), do I call B.compile, or do I need to call A.compile ?

The answer to this question might be useful addition to the Javadoc (cut & paste).

Thank you all for your patience.

Alex

It simply does nothing. The method body is empty.

May I remove it ?

[quote="<MagicSpark.org [ BlueSky ]>,post:3,topic:27770"]
May I remove it ?
[/quote]
As far as I am concerned, no problem. I don’t use it. And it is only one call to remove for people who do use it. So go ahead.

I think its a good idea. It would be a lot less confusing. The Xith intro doc will also need to be updated.

Alex

Yeah that’s sure it’s deprecated and, as I said, will be replaced by a new one.