App::VRMLObject with more than one texture isn't properly displayed when file is reopened
This commit is contained in:
wmayer
2024-03-18 13:19:13 +01:00
committed by wwmayer
parent 799013a9cd
commit fcc7ab4e48
2 changed files with 32 additions and 9 deletions

View File

@@ -61,14 +61,19 @@ public:
protected:
void onChanged(const App::Property*) override;
private:
std::string getRelativePath(const std::string&, const std::string&) const;
std::string fixRelativePath(const std::string&, const std::string&) const;
void makeDirectories(const std::string&, const std::string&);
bool restoreTextureFinished(Base::Reader &reader);
void reloadFile();
private:
mutable std::string vrmlPath;
mutable int indexRestore{0};
mutable int indexSave{0};
mutable int indexRestore {0};
mutable int indexSave {0};
mutable bool restoreData {false};
};
} //namespace App