playMaker

Author Topic: Undo causes stuck FSM [FIXED]  (Read 3143 times)

artician

  • 1.2 Beta
  • Sr. Member
  • *
  • Posts: 318
Undo causes stuck FSM [FIXED]
« on: July 06, 2011, 04:11:17 PM »
Subject line is probably not the best description, but here's how to reproduce:

Select an object without an FSM.
In the FSM editor window, right click and select "Add FSM Component"
Hit CTRL-Z (or your OS's undo shortcut).

Notice the component is removed from the object in the inspector, but the FSM and initial state is still displayed in the FSM Editor window.  Right clicking in the FSM Editor window and selecting "Remove FSM Component" does not cause the initial FSM graph to disappear.  FSM still displays when deselecting and reselecting the object.

I was unable to find a way to fix the FSM Editor window from reporting an FSM on the object in question.
« Last Edit: October 06, 2011, 03:50:49 PM by alexchouls »

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3999
  • Official Playmaker Support
    • LinkedIn
Re: Undo causes stuck FSM
« Reply #1 on: July 06, 2011, 04:27:26 PM »
This is fixed in the 1.2 update.

In 1.1 you should be able to remove the FSM by either closing and re-opening the Playmaker editor, or pressing play then stop. Unity will complain about a component not on the object and remove it...