THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 12/12/2008 at 05:48, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 11
Platform: Mac ;
Language(s) : C++ ;
---------
Hello,
I am writing a Tag Plugin that changes the values of an object depending on its status (if it is selected or not selected).
I have the problem that when I call GetActiveDocument()->GetActiveObject() in the Execute function it doesn't return the current selection but the previous selection state.
Example:
Object Cube is deselected. I select the Cube in the editor. Execute is triggered but GetActiveDocument()->GetActiveObject() says the Object is not selected. Only as recently as next time Execute is triggered it says Cube is selected.
Thanks in advance
Macm