summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/testApp.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/testApp.cpp b/src/testApp.cpp
index 5e0661e..7ae3aca 100644
--- a/src/testApp.cpp
+++ b/src/testApp.cpp
@@ -40,7 +40,7 @@ void testApp::setup(){
texture.play();
light=true;
-
+
}
//--------------------------------------------------------------
@@ -203,6 +203,10 @@ void testApp::saveSettings(string filename){
//send a pointer to the vp
//renavigate? easiest way to get the settings back out
+ XML.setAttribute("map4","model",model_name,0);
+ XML.setAttribute("map4","x",ofToString(model_x),0);
+ XML.setAttribute("map4","y",ofToString(model_y),0);
+ XML.setAttribute("map4","z",ofToString(model_z),0);
if(XML.pushTag("map4")) {
for (int i=0;i<numViews;i++){
XML.pushTag("view",i);