Loading src/ofApp.cpp +0 −17 Original line number Diff line number Diff line Loading @@ -179,8 +179,6 @@ void ofApp::setup(){ capMesh.reSize(4); ofLog(OF_LOG_NOTICE) << "Setup over"; lastSettingsWriteTime = boost::filesystem::last_write_time(networkSettingsPath); } //-------------------------------------------------------------- Loading @@ -192,9 +190,6 @@ void ofApp::setupViewports(){ device->setWidth(MENU_WIDTH / 2); device->setPosition(ofGetWidth() - MENU_WIDTH / 2, ofGetHeight() / 2); #endif networkMng.panel->setWidth(MENU_WIDTH / 2); networkMng.panel->setPosition(ofGetWidth() - MENU_WIDTH / 2, 20); } #ifdef BLOB Loading Loading @@ -249,8 +244,6 @@ void ofApp::update(){ ofBackground(100, 100, 100); checkSettingsUpdate(); #ifdef BLOB if(realSense->update(ofxRealSenseTwo::PointCloud::VIDEO)) { Loading Loading @@ -302,16 +295,6 @@ void ofApp::loadSettings() #endif } void ofApp::checkSettingsUpdate() { std::time_t newLastWriteTime = boost::filesystem::last_write_time(networkSettingsPath); if (newLastWriteTime > lastSettingsWriteTime) { lastSettingsWriteTime = newLastWriteTime; loadSettings(); } } void ofApp::draw() { ofSetColor(255, 255, 255); Loading src/ofApp.h +1 −5 Original line number Diff line number Diff line Loading @@ -170,10 +170,6 @@ public: void saveSettings(); void loadSettings(); void checkSettingsUpdate(); const boost::filesystem::path networkSettingsPath = ofFilePath::getAbsolutePath("broadcast.xml"); std::time_t lastSettingsWriteTime; ////////// // HELP // ////////// Loading Loading
src/ofApp.cpp +0 −17 Original line number Diff line number Diff line Loading @@ -179,8 +179,6 @@ void ofApp::setup(){ capMesh.reSize(4); ofLog(OF_LOG_NOTICE) << "Setup over"; lastSettingsWriteTime = boost::filesystem::last_write_time(networkSettingsPath); } //-------------------------------------------------------------- Loading @@ -192,9 +190,6 @@ void ofApp::setupViewports(){ device->setWidth(MENU_WIDTH / 2); device->setPosition(ofGetWidth() - MENU_WIDTH / 2, ofGetHeight() / 2); #endif networkMng.panel->setWidth(MENU_WIDTH / 2); networkMng.panel->setPosition(ofGetWidth() - MENU_WIDTH / 2, 20); } #ifdef BLOB Loading Loading @@ -249,8 +244,6 @@ void ofApp::update(){ ofBackground(100, 100, 100); checkSettingsUpdate(); #ifdef BLOB if(realSense->update(ofxRealSenseTwo::PointCloud::VIDEO)) { Loading Loading @@ -302,16 +295,6 @@ void ofApp::loadSettings() #endif } void ofApp::checkSettingsUpdate() { std::time_t newLastWriteTime = boost::filesystem::last_write_time(networkSettingsPath); if (newLastWriteTime > lastSettingsWriteTime) { lastSettingsWriteTime = newLastWriteTime; loadSettings(); } } void ofApp::draw() { ofSetColor(255, 255, 255); Loading
src/ofApp.h +1 −5 Original line number Diff line number Diff line Loading @@ -170,10 +170,6 @@ public: void saveSettings(); void loadSettings(); void checkSettingsUpdate(); const boost::filesystem::path networkSettingsPath = ofFilePath::getAbsolutePath("broadcast.xml"); std::time_t lastSettingsWriteTime; ////////// // HELP // ////////// Loading