Commit f1e8aa3
committed
Fix #2466 - Studio Groom: Groomed meshes not always reloading after groom run
The cache was being cleared after set_display_mode() was called in
handle_groom_complete(). However, set_display_mode() emits an
update_view_mode() signal which triggers update_display(), causing
mesh lookups to hit the stale cache before it was cleared.
This resulted in an alternating pattern where groomed meshes would
only reload on every other groom run.
Move handle_clear_cache() to before set_display_mode() so the cache
is cleared before any display updates are triggered.1 parent b588b72 commit f1e8aa3
File tree
2 files changed
+4
-3
lines changed- Libs/Analyze
- Studio/Interface
2 files changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
139 | 138 | | |
140 | 139 | | |
141 | 140 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1335 | 1335 | | |
1336 | 1336 | | |
1337 | 1337 | | |
| 1338 | + | |
| 1339 | + | |
| 1340 | + | |
| 1341 | + | |
1338 | 1342 | | |
1339 | 1343 | | |
1340 | 1344 | | |
1341 | 1345 | | |
1342 | 1346 | | |
1343 | 1347 | | |
1344 | 1348 | | |
1345 | | - | |
1346 | | - | |
1347 | 1349 | | |
1348 | 1350 | | |
1349 | 1351 | | |
| |||
0 commit comments