EditCurveToolExample does not create new curve

mreinhardmreinhard Posts: 10

Hello,
while going through the examples I noticed that the EditCurveToolExample does not seem to create a new curve while pressing the Shift key modifier. (Or I am doing something wrong in the manipulation...)
Could you check that, please ?
Thanks!
Marcel

Comments

  • jcgagnonjcgagnon Fabric Employee Posts: 124 Fabric Employee

    Hi Marcel,

    This is indeed broken, but is easy to fix:

    at line 254 if EditCurveTool.kl, replace

    if( mouseEvent.eventType() == Event_MouseButtonPress && !mouseEvent.isAccepted() && event.getModifiers() == 0 ) {
    

    with

    if( mouseEvent.eventType() == Event_MouseButtonPress && !mouseEvent.isAccepted() && ( event.getModifiers() == 0 || event.getModifiers() == ModiferKey_Shift ) ) {
    

    Thank you for pointing to this issue!

    Jerome

  • mreinhardmreinhard Posts: 10

    An easy fix indeed, thank you, Jerome!

Sign In or Register to comment.