diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-04-18 21:27:29 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-04-18 21:27:29 (GMT) |
commit | 2bd9979277adab30daa22c67ce81eed7d6a7a884 (patch) | |
tree | f652df4948aebf96d067d2799d6b7799f15183b1 /apps | |
parent | a6fe85c2e883bda2be9951fa1252fd04706f7b6a (diff) | |
download | uscxml-2bd9979277adab30daa22c67ce81eed7d6a7a884.zip uscxml-2bd9979277adab30daa22c67ce81eed7d6a7a884.tar.gz uscxml-2bd9979277adab30daa22c67ce81eed7d6a7a884.tar.bz2 |
fixed annotations for vrml files
Diffstat (limited to 'apps')
-rw-r--r-- | apps/samples/vrml/annotations.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/samples/vrml/annotations.js b/apps/samples/vrml/annotations.js index f915285..ca9bf0a 100644 --- a/apps/samples/vrml/annotations.js +++ b/apps/samples/vrml/annotations.js @@ -31,8 +31,8 @@ function Annotations(element, params) { // privileged public methods this.annotate = function(text) { - var pose = self.vrmlViewer.pose; - var imageURL = self.imageURL; + var pose = dojo.clone(self.vrmlViewer.pose); + var imageURL = self.vrmlViewer.imageURL; var annoLink = document.createElement("a"); annoLink.setAttribute("href", "#"); var annoText = document.createTextNode(text + "\n"); |