stanozm/hit-modeler — pull request #3 by winklerm (2012-11-21 15:38:18+00:00)
Title: Fixes and enhancements

This pull request includes:

- (dirty) fix for duplicate entity IDs causing model corruption after save and load; dirty means that:

* the fix is currently not thread-safe
* it causes the generated IDs to be assigned twice as fast (i.e. generated ID sequence is 2, 4, 6, ...)

- menu item 'Save' divided into 'Save' and 'Save As' menu items
- removed XML formatting because it corrupted the indentation of entity definitions; better solution could be using Formatters::Transitive but I could not get it working in reasonable time.

I am new to Ruby, therefore I believe some (or all) of the proposed fixes could be done in a more elegant way. Please let me know if you had any comments/requests or if you solved any of the above problems.