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)
|
if (parse == Document::FullParse)
|
||||||
{
|
{
|
||||||
TestUniqueId();
|
TestUniqueId();
|
||||||
|
RefreshElementIdCache();
|
||||||
sceneDraw->clear();
|
sceneDraw->clear();
|
||||||
sceneDraw->InitOrigins();
|
sceneDraw->InitOrigins();
|
||||||
sceneDetail->clear();
|
sceneDetail->clear();
|
||||||
|
|
|
@ -142,8 +142,10 @@ protected:
|
||||||
void TestUniqueId() const;
|
void TestUniqueId() const;
|
||||||
void CollectId(const QDomElement &node, QVector<quint32> &vector)const;
|
void CollectId(const QDomElement &node, QVector<quint32> &vector)const;
|
||||||
|
|
||||||
private slots:
|
protected slots:
|
||||||
void RefreshElementIdCache();
|
void RefreshElementIdCache();
|
||||||
|
|
||||||
|
private slots:
|
||||||
void CacheRefreshed();
|
void CacheRefreshed();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user