Remove clients of getTotalMatrix (#4487)
Instead of using getTotalMatrix and setMatrix, we can just use save/restore, which is more idiomatic. The getTotalMatrix/setMatrix pattern was introduced to improve performance, but the original code was calling getTotalMatrix/setMatrix at every node in the sprite tree, which is much slower than the normal save/transform/restore pattern. Related to #4254
Showing
Please register or sign in to comment