Fix bug with caching removed items.
--HG-- branch : develop
This commit is contained in:
parent
a7eeaebb4a
commit
fc3f8df5b0
|
@ -4221,6 +4221,7 @@ void VPattern::PrepareForParse(const Document &parse)
|
|||
if (parse == Document::FullParse)
|
||||
{
|
||||
TestUniqueId();
|
||||
RefreshElementIdCache();
|
||||
sceneDraw->clear();
|
||||
sceneDraw->InitOrigins();
|
||||
sceneDetail->clear();
|
||||
|
|
|
@ -142,8 +142,10 @@ protected:
|
|||
void TestUniqueId() const;
|
||||
void CollectId(const QDomElement &node, QVector<quint32> &vector)const;
|
||||
|
||||
private slots:
|
||||
protected slots:
|
||||
void RefreshElementIdCache();
|
||||
|
||||
private slots:
|
||||
void CacheRefreshed();
|
||||
|
||||
private:
|
||||
|
|
Loading…
Reference in New Issue
Block a user