playMaker

Author Topic: States leaved zoomed out to almost nothing  (Read 1568 times)

rstralberg

  • Playmaker Newbie
  • *
  • Posts: 8
    • View Profile
States leaved zoomed out to almost nothing
« on: August 05, 2013, 12:51:10 PM »
While editing a FSM suddenly all states was zoomed out to a small dot.
Its impossible to return to normal zoom. Any suggestions?


Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3637
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: States leaved zoomed out to almost nothing
« Reply #1 on: August 05, 2013, 01:16:37 PM »
Try adding a new state to force the graph to resize.

I'm seeing a few of these reports recently and I'd like to get to the bottom of it.

What I think is happening:

While dragging states the graph size is temporarily expanded to make room for you to drag, when you stop dragging the graph shrinks back to fit the states. If this sequence is interrupted the graph can be left in an expanded state. I think this is what people are seeing when the FSM disappears or seems zoomed out.

One way I've been able to reproduce the problem is to move the mouse out of the Playmaker editor window while dragging and then close the editor or press play while still in drag mode.

This might explain the bug reports I'm seeing. Does this seem likely in your case?

But it seems a little convoluted.

Another scenario is that another editor script is pulling focus away from the Playmaker editor while you're dragging. This is more consistent with reports where the graph "disappears" while dragging states.

Are you using any other third party editor tools?

I'm currently investigating 2D Toolkit and Smooth Moves... are you using either of these?

rstralberg

  • Playmaker Newbie
  • *
  • Posts: 8
    • View Profile
Re: States leaved zoomed out to almost nothing
« Reply #2 on: August 06, 2013, 12:29:56 AM »
In fact I quite often switch between the PlayMaker dialog and Mono editor, so this may conform your suggested scenarios.

I added a new state and it showed up. The bad thing is that all original states are gone. So what happened is not easy to guess. The good thing is that my project is  on a GIT-system so I can go back to last good version. A days work lost by I can live with that

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3637
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: States leaved zoomed out to almost nothing
« Reply #3 on: August 20, 2013, 08:11:42 PM »
This should be fixed in 1.7.0. Can you confirm?