≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
bug in editorGetSelectedSceneNode() function
Posted by:
(you are not logged in)
Enter the missing letter in: "I?ternational"
(you are not logged in)
Text:
[quote][b]ssatguru[/b] wrote: As per document the function "editorGetSelectedSceneNode()" "Returns the currently selected scene node or 0 if nothing selected." See document [code] https://www.ambiera.com/coppercube/doc/cnt_javascriptref.html%hash%editorGetSelectedSceneNode (replace %hash% with the actual hash character in the url. forum seems to eat up the "hash" character) [/code] If nothing is selected it is not returning 0 as mentioned in the document. The example given in the document does not work when nothing is selected [code] var s = editorGetSelectedSceneNode(); if (s) alert("Name of the selected node is: '" + ccbGetSceneNodeProperty(s, "Name") + "'"); else alert("nothing selected"); [/code] I am using 6.5.1[/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Image
[img]http://www.example.com/image.jpg[/img]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons
Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact