WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   viz.getFocusedNode() always returning viz.VizNode(-1) (https://forum.worldviz.com/showthread.php?t=3859)

TarkaDahl 08-02-2011 07:56 AM

viz.getFocusedNode() always returning viz.VizNode(-1)
 
Hi

Since i have updated to 4.01.0036 viz.getFocusedNode() seems to always return viz.VizNode(-1)

Thanks

TarkaDahl 08-31-2011 06:33 AM

Hi

This is not technically true.

I was calling viz.getFocusedNode() from a viz.callback BUTTON_EVENT and it used to return any textbox's that currently had focus. But this now returns viz.VizNode(-1).

Ive changed my code now so its not a problem

Sorry

TarkaDahl

farshizzo 08-31-2011 09:14 AM

During a button release event, viz.getFocusedNode() should return an invalid node.


All times are GMT -7. The time now is 07:50 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC