There is something I don't really understand. The thing is when I call a function that contain this piece of code:
g_widget.scene.getPrimitives()._primitives.appearance.flat = true;
From the console, the flat attribute did change. However, the targeted primitive did not change the appearance.
Am I missing something?