fix: update model browser scrollbar on loading folder after empty folder
This commit is contained in:
parent
b111d28053
commit
cc5008a365
|
|
@ -633,8 +633,11 @@ public:
|
|||
}
|
||||
|
||||
void insert( scene::Instance* instance ) override {
|
||||
if( instance->path().size() == 3 )
|
||||
if( instance->path().size() == 3 ){
|
||||
m_modelInstances.push_back( instance );
|
||||
m_originZ = 0;
|
||||
m_originInvalid = true;
|
||||
}
|
||||
}
|
||||
void erase( scene::Instance* instance ) override { // just invalidate everything (also happens on resource flush and refresh) //FIXME: redraw on resource refresh
|
||||
m_modelInstances.clear();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user