Bug 1495

Summary: GraphUI Shape: Only updateMat() if marked dirty once in applyMatToMv() and getMat(*)
Product: [JogAmp] GraphUI Reporter: Sven Gothel <sgothel>
Component: CoreAssignee: Sven Gothel <sgothel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P4    
Version: 2.6.0   
Hardware: All   
OS: all   
Type: FEATURE SCM Refs:
03f24c544a70ebecc4e61c48425d361abc34d951 bb32e88ca0e8fa95b7d8503f5881fa256bf95e59
Workaround: ---
Bug Depends on: 1490    
Bug Blocks: 805    

Description Sven Gothel 2024-01-31 11:41:34 CET
It is sufficient to mark the internal iMat dirty when mutating the source values (pos, ..) and calling updateMat() only once when used in applyMatToMv() and getMat(*).

iMatIdent can also be set to true within updateMat() IF neither mutations occured, i.e. no translocation, scale or rotation.
Comment 1 Sven Gothel 2024-01-31 11:44:40 CET
commit 03f24c544a70ebecc4e61c48425d361abc34d951 (HEAD -> jausoft_01)

    Bug 1495: GraphUI Shape: Only updateMat() if marked dirty once in applyMatToMv() and getMat(*)
    
    It is sufficient to mark the internal iMat dirty when mutating the source values (pos, ..) and calling updateMat() only once when used in applyMatToMv() and getMat(*).
    
    iMatIdent can also be set to true within updateMat() IF neither mutations occured, i.e. no translocation, scale or rotation.
Comment 2 Sven Gothel 2024-01-31 12:16:10 CET
commit bb32e88ca0e8fa95b7d8503f5881fa256bf95e59 (HEAD -> jausoft_01)

    Bug 1495: GraphUI Shape: Fix updateMat() API doc