Closed ktaki closed 8 years ago
It seems that the related feature of using the sampler to set the color of a combo text+shape selection is also broken in the same way, and has been for some time (or, always?). So, it seems like this is not a direct result of #3662.
I recommend this be deferred. A fix would be risky.
some more info: when simultaneously setting the color of both a shape and text layer, two sub-actions are called: shapeActions.setFillColor
and typeActions.setColor
. Each of these causes a DS history state to be created. But, because they are played in PS as a single transaction
, only one history state is created in PS. This mismatch causes DS to reset its history state, which causes a performance hit during subsequent undo.
As I mentioned previously, it is not clear if this ever worked (for library sampling) or if it is a regression.
Yes, that was something I suspected also. @DivyaPrabhakar: Do you mind if I close this?
@ktaki Not a problem with me :) Thanks @mcilroyc for finding the problem.
Closing the issue.
RESULT: Each click will cause a warning in console.
[History] Re-initializing history because photoshop thinks the current state is 11 of 12, while our model says 12 of 13 [History] Initializing history with 12 states
Ref: #3465, #3662.