fix children of deleted clips not being found in cache#110
Open
BaronAWC wants to merge 6 commits intodevelopmentfrom
Open
fix children of deleted clips not being found in cache#110BaronAWC wants to merge 6 commits intodevelopmentfrom
BaronAWC wants to merge 6 commits intodevelopmentfrom
Conversation
use the following in console to create a function that gives all objects in cache:
window.getObjs = function() { let out = []; let print = ""; for(let elem of Wick.ObjectCache.getAllObjects()) { out.push(elem.classname + " " + elem.uuid); } for(let line of out.sort()) { print += "" + line + "\n"; } console.log(print); }
use Wick.ObjectCache.getObjectByUUID(uuid) to get the object itself
the editor runs project.resetCache() when the project stops, but you can also run this manually
…Timeline objects the 2 functions are there to give me debug info on what objects exist at any given time, with the former giving me a summary and the latter giving me everything
crash appears to be fixed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When a clip is deleted but still in the undo stack and the project clears cache via pausing the project, the clip's children are no longer deleted from the cache so the user can undo to recover the clip.
(Ignore the 4 built files)