App: fixes #13022
App::VRMLObject with more than one texture isn't properly displayed when file is reopened
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user