johnroper100 / CrowdMaster

Crowd Simulation for the Masses
http://crowdmaster.org
GNU General Public License v3.0
133 stars 24 forks source link

Agent Generation is not being added to Undo stack #27

Closed axb2035 closed 7 years ago

axb2035 commented 7 years ago

IF you generate agents and then use Undo (Ctrl+Z) then it undoes the operation prior to Agent Generation. for the relevant view.

To repeat: Step 1 - create a simple Generation noodle.

Step 2 - do some form of operation and view the history (F3 in 3D view). Example: Resize the cube

image

Step 3 - Generate Agents and view change history - Agent generation is not part of the History.

image

Step 4 - Undo and it will undo generation AND the previous operator resulting in the cube reverting to previous size.

image

I understand that you can regenerate the agent system by hitting Agent Gen again. However, it is natural for people to use Undo which may lead to unexpected results and unhappy users.

johnroper100 commented 7 years ago

Ok, this has been fixed in b56efc0e3f471412a70e20fd1facbd338e3cc1b8