ADDITIONAL SYSTEM INFORMATION :
any system
A DESCRIPTION OF THE PROBLEM :
https://github.com/openjdk/jfx/blob/master/modules/javafx.graphics/src/main/java/javafx/scene/transform/Rotate.java#L772
The rotate class is incapable of correctly applying an inverseTransformation as its internal inverseCache object is never invalidated and is thus never recalculated from its default value.
this issue would be correctly fixed if this code is added at line 772 of the Rotate java file as linked above.
if (inverseCache != null) {
inverseCache.invalidate();
}
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
apply any values other than the default to a Rotate object. attempt an inverse transformation with any input. it will fail.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
correct inverse transformation
ACTUAL -
no transformation
CUSTOMER SUBMITTED WORKAROUND :
apply rotation matrix data to an affine matrix and use that instead. Affine correctly applies inverse transformations
FREQUENCY : always
any system
A DESCRIPTION OF THE PROBLEM :
https://github.com/openjdk/jfx/blob/master/modules/javafx.graphics/src/main/java/javafx/scene/transform/Rotate.java#L772
The rotate class is incapable of correctly applying an inverseTransformation as its internal inverseCache object is never invalidated and is thus never recalculated from its default value.
this issue would be correctly fixed if this code is added at line 772 of the Rotate java file as linked above.
if (inverseCache != null) {
inverseCache.invalidate();
}
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
apply any values other than the default to a Rotate object. attempt an inverse transformation with any input. it will fail.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
correct inverse transformation
ACTUAL -
no transformation
CUSTOMER SUBMITTED WORKAROUND :
apply rotation matrix data to an affine matrix and use that instead. Affine correctly applies inverse transformations
FREQUENCY : always