changelog
- Wed, 17 Apr 2013 14:09:38 +0300
- by Santeri Piippo <crimsondusk64@gmail.com> [Wed, 17 Apr 2013 14:09:38 +0300] rev 116
- Some renaming
- Tue, 16 Apr 2013 20:32:42 +0300
- by Santeri Piippo <crimsondusk64@gmail.com> [Tue, 16 Apr 2013 20:32:42 +0300] rev 115
- Redrew selection icons to be clearer
- Tue, 16 Apr 2013 18:27:08 +0300
- by Santeri Piippo <crimsondusk64@gmail.com> [Tue, 16 Apr 2013 18:27:08 +0300] rev 114
- Added functionality for getting a primitive name from a radial.
- Tue, 16 Apr 2013 14:36:56 +0300
- by Santeri Piippo <crimsondusk64@gmail.com> [Tue, 16 Apr 2013 14:36:56 +0300] rev 113
- Radial saving and reading from files
- Tue, 16 Apr 2013 03:49:06 +0300
- by Santeri Piippo <crimsondusk64@gmail.com> [Tue, 16 Apr 2013 03:49:06 +0300] rev 112
- Added object list representation for radials
- Tue, 16 Apr 2013 02:13:11 +0300
- by Santeri Piippo <crimsondusk64@gmail.com> [Tue, 16 Apr 2013 02:13:11 +0300] rev 111
- Added the radial type, this one sure has been on my wishlist for a while. :)
- Mon, 15 Apr 2013 18:07:29 +0300
- by Santeri Piippo <crimsondusk64@gmail.com> [Mon, 15 Apr 2013 18:07:29 +0300] rev 110
- Added select by type. Selection is now preserved over operations.
- Mon, 15 Apr 2013 04:58:33 +0300
- by Santeri Piippo <crimsondusk64@gmail.com> [Mon, 15 Apr 2013 04:58:33 +0300] rev 109
- Improved shared selection handling; added select by color
- Mon, 15 Apr 2013 04:00:10 +0300
- by Santeri Piippo <crimsondusk64@gmail.com> [Mon, 15 Apr 2013 04:00:10 +0300] rev 108
- More selection work - selecting from GUI updates the GL renderer now
- Mon, 15 Apr 2013 02:56:42 +0300
- by Santeri Piippo <crimsondusk64@gmail.com> [Mon, 15 Apr 2013 02:56:42 +0300] rev 107
- Picking improvements
- Mon, 15 Apr 2013 01:51:53 +0300
- by Santeri Piippo <crimsondusk64@gmail.com> [Mon, 15 Apr 2013 01:51:53 +0300] rev 106
- Added additive selection blending, with a toggable flash effect. :P
- Sun, 14 Apr 2013 17:31:09 +0300
- by Santeri Piippo <crimsondusk64@gmail.com> [Sun, 14 Apr 2013 17:31:09 +0300] rev 105
- Highlight selected objects with a different color
- Sun, 14 Apr 2013 03:54:40 +0300
- by Santeri Piippo <crimsondusk64@gmail.com> [Sun, 14 Apr 2013 03:54:40 +0300] rev 104
- GL picking stuff
- Sat, 13 Apr 2013 02:11:54 +0300
- by Santeri Piippo <crimsondusk64@gmail.com> [Sat, 13 Apr 2013 02:11:54 +0300] rev 103
- Added the ability to add vertices to object corners
- Fri, 12 Apr 2013 02:54:25 +0300
- by Santeri Piippo <crimsondusk64@gmail.com> [Fri, 12 Apr 2013 02:54:25 +0300] rev 102
- Added basic object moving with MLCAD-like controls.
- Fri, 12 Apr 2013 01:03:08 +0300
- by Santeri Piippo <crimsondusk64@gmail.com> [Fri, 12 Apr 2013 01:03:08 +0300] rev 101
- Remade vertex icons, the old ones sucked.
- Fri, 12 Apr 2013 00:28:17 +0300
- by Santeri Piippo <crimsondusk64@gmail.com> [Fri, 12 Apr 2013 00:28:17 +0300] rev 100
- Added user-configurable quick-coloring toolbar for.. quick coloring.
- Thu, 11 Apr 2013 17:15:01 +0300
- by Santeri Piippo <crimsondusk64@gmail.com> [Thu, 11 Apr 2013 17:15:01 +0300] rev 99
- Recent files are now remembered and displayed in a submenu
- Thu, 11 Apr 2013 02:26:14 +0300
- by Santeri Piippo <crimsondusk64@gmail.com> [Thu, 11 Apr 2013 02:26:14 +0300] rev 98
- Added inlining history management
- Thu, 11 Apr 2013 01:35:30 +0300
- by Santeri Piippo <crimsondusk64@gmail.com> [Thu, 11 Apr 2013 01:35:30 +0300] rev 97
- Fleshed out the history dialog further
- Wed, 10 Apr 2013 19:26:14 +0300
- by Santeri Piippo <crimsondusk64@gmail.com> [Wed, 10 Apr 2013 19:26:14 +0300] rev 96
- Added history dialog, cannot display all types yet
- Wed, 10 Apr 2013 16:17:22 +0300
- by Santeri Piippo <crimsondusk64@gmail.com> [Wed, 10 Apr 2013 16:17:22 +0300] rev 95
- Added history support for adding objects.
- Wed, 10 Apr 2013 14:10:58 +0300
- by Santeri Piippo <crimsondusk64@gmail.com> [Wed, 10 Apr 2013 14:10:58 +0300] rev 94
- Added history management for cut and paste, copy doesn't alter the object list by itself so it doesn't touch history
- Wed, 10 Apr 2013 13:24:35 +0300
- by Santeri Piippo <crimsondusk64@gmail.com> [Wed, 10 Apr 2013 13:24:35 +0300] rev 93
- Added history handling for quad splitting.
- Wed, 10 Apr 2013 04:34:19 +0300
- by Santeri Piippo <crimsondusk64@gmail.com> [Wed, 10 Apr 2013 04:34:19 +0300] rev 92
- Added history management for auto-bordering (and mass-addition in general)
- Wed, 10 Apr 2013 03:47:17 +0300
- by Santeri Piippo <crimsondusk64@gmail.com> [Wed, 10 Apr 2013 03:47:17 +0300] rev 91
- History handling for list moving
- Wed, 10 Apr 2013 03:30:58 +0300
- by Santeri Piippo <crimsondusk64@gmail.com> [Wed, 10 Apr 2013 03:30:58 +0300] rev 90
- Added history handling for set contents
- Wed, 10 Apr 2013 02:40:52 +0300
- by Santeri Piippo <crimsondusk64@gmail.com> [Wed, 10 Apr 2013 02:40:52 +0300] rev 89
- Allow undo of set color
- Wed, 10 Apr 2013 02:22:35 +0300
- by Santeri Piippo <crimsondusk64@gmail.com> [Wed, 10 Apr 2013 02:22:35 +0300] rev 88
- Allow the user to alter the tool bar icon size
- Wed, 10 Apr 2013 01:51:35 +0300
- by Santeri Piippo <crimsondusk64@gmail.com> [Wed, 10 Apr 2013 01:51:35 +0300] rev 87
- Split some stuff out of the edit tool bar into move and object tool bars. The object tool bar is now located on the left side of the screen as the top one is running out of space.
- Wed, 10 Apr 2013 01:27:06 +0300
- by Santeri Piippo <crimsondusk64@gmail.com> [Wed, 10 Apr 2013 01:27:06 +0300] rev 86
- Added icons for undo and redo
- Wed, 10 Apr 2013 00:46:32 +0300
- by Santeri Piippo <crimsondusk64@gmail.com> [Wed, 10 Apr 2013 00:46:32 +0300] rev 85
- Added undo/redo foundations. Capable of undoing and redoing delete operations
- Tue, 09 Apr 2013 21:59:56 +0300
- by Santeri Piippo <crimsondusk64@gmail.com> [Tue, 09 Apr 2013 21:59:56 +0300] rev 84
- Added move up/down actions.
- Tue, 09 Apr 2013 18:23:07 +0300
- by Santeri Piippo <crimsondusk64@gmail.com> [Tue, 09 Apr 2013 18:23:07 +0300] rev 83
- Added a button to clear a keyboard shortcut.
- Tue, 09 Apr 2013 18:16:01 +0300
- by Santeri Piippo <crimsondusk64@gmail.com> [Tue, 09 Apr 2013 18:16:01 +0300] rev 82
- Touched up the error icon, show the error icon in the set contents dialog if the contents are gibberish.
- Tue, 09 Apr 2013 18:07:57 +0300
- by Santeri Piippo <crimsondusk64@gmail.com> [Tue, 09 Apr 2013 18:07:57 +0300] rev 81
- Added an icon for the exit action - the last one without one! Woo!
- Tue, 09 Apr 2013 17:56:35 +0300
- by Santeri Piippo <crimsondusk64@gmail.com> [Tue, 09 Apr 2013 17:56:35 +0300] rev 80
- Added an icon for the 'about Qt' action. Let's hope Digia doesn't tear me apart for my horrible recreation of the Qt logo. :)
- Tue, 09 Apr 2013 17:41:19 +0300
- by Santeri Piippo <crimsondusk64@gmail.com> [Tue, 09 Apr 2013 17:41:19 +0300] rev 79
- Extracted actions from ForgeWindow into their own files. The ACTION macro now manages meta, instances and callback definitions all in one. Too bad I still need to extern these actions in gui.cpp... maybe someday I'll find a way around it :)
- Tue, 09 Apr 2013 14:06:40 +0300
- by Santeri Piippo <crimsondusk64@gmail.com> [Tue, 09 Apr 2013 14:06:40 +0300] rev 78
- Keyboard shortcuts can now be configured.
- Mon, 08 Apr 2013 19:24:23 +0300
- by Santeri Piippo <crimsondusk64@gmail.com> [Mon, 08 Apr 2013 19:24:23 +0300] rev 77
- Systemized actions and added (for now no-op) key configurations for them
- Mon, 08 Apr 2013 18:47:31 +0300
- by Santeri Piippo <crimsondusk64@gmail.com> [Mon, 08 Apr 2013 18:47:31 +0300] rev 76
- Added a New Part dialog
- Mon, 08 Apr 2013 14:57:25 +0300
- by Santeri Piippo <crimsondusk64@gmail.com> [Mon, 08 Apr 2013 14:57:25 +0300] rev 75
- Don't include non-INVERTNEXT BFC statements in inlined objects.
- Mon, 08 Apr 2013 14:53:58 +0300
- by Santeri Piippo <crimsondusk64@gmail.com> [Mon, 08 Apr 2013 14:53:58 +0300] rev 74
- LDObject::getIndex was bogus which would cause inlining to crash
- Mon, 08 Apr 2013 14:45:28 +0300
- by Santeri Piippo <crimsondusk64@gmail.com> [Mon, 08 Apr 2013 14:45:28 +0300] rev 73
- Added support for BFC types
- Wed, 27 Mar 2013 11:24:16 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Wed, 27 Mar 2013 11:24:16 +0200] rev 72
- Added LDConfig.ldr parsing. All colors now available as long as LDConfig.ldr is provided.
- Mon, 25 Mar 2013 22:52:53 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Mon, 25 Mar 2013 22:52:53 +0200] rev 71
- Draw main color in the selection dialog based on preferences, take subfiles into account when calculating bbox
- Mon, 25 Mar 2013 17:04:18 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Mon, 25 Mar 2013 17:04:18 +0200] rev 70
- Phased out FOREACH macro in favor of C++11-style for iteration.
- Mon, 25 Mar 2013 16:05:03 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Mon, 25 Mar 2013 16:05:03 +0200] rev 69
- Simplified configuration code. Use a std::vector object to contain config pointers and have config objects register themselves upon creation instead of relying on a cfgdefs.h. Removed sections, all configurations are just simply written one after another now.
- Mon, 25 Mar 2013 15:20:56 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Mon, 25 Mar 2013 15:20:56 +0200] rev 68
- Further fixes to bad color handling. Allow main color be represented with arbitrary transparency.
- Mon, 25 Mar 2013 01:04:20 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Mon, 25 Mar 2013 01:04:20 +0200] rev 67
- 57181.dat (Philo's model of the XL-motor) showcased a new problem.. there was no handling of unknown colors which led into crashes. Added stdout warnings, also added mid and dark stone colors
- Mon, 25 Mar 2013 00:44:11 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Mon, 25 Mar 2013 00:44:11 +0200] rev 66
- Restructured inlining to use a proper caching.. one cache per sub-file reference? What was I thinking? *whacks self with a 55295.dat*
- Sun, 24 Mar 2013 21:45:19 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Sun, 24 Mar 2013 21:45:19 +0200] rev 65
- Reverted changes on LDSubfile::getContents, I had a temporary, hackier solution there and forgot to change it back
- Sun, 24 Mar 2013 21:41:24 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Sun, 24 Mar 2013 21:41:24 +0200] rev 64
- Considerably improved sub-file inlining. Use a matrix class instead of double[9], educated myself on what matrix multiplication actually is and fixed the algorithm up. Aside from I/O problems, 32551.dat is correctly rendered now.
- Sun, 24 Mar 2013 18:03:33 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Sun, 24 Mar 2013 18:03:33 +0200] rev 63
- Implemented the inline action to expose inlining to the user. Also added a `deep inline` action to inline subfile recursively down into polygons and lines only.
- Sun, 24 Mar 2013 01:05:59 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Sun, 24 Mar 2013 01:05:59 +0200] rev 62
- Got inlining working. 3002.dat renders properly now! Now just to iron out the bugs and hone the behavior..
- Thu, 21 Mar 2013 18:26:57 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Thu, 21 Mar 2013 18:26:57 +0200] rev 61
- If editing contents of a gibberish object, show the reason for the gibberishness in the dialog. Clamp the bounding box scale to at least 1.0 so that polygons are visible in new files.
- Thu, 21 Mar 2013 16:25:03 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Thu, 21 Mar 2013 16:25:03 +0200] rev 60
- Parsing stability, finally figured that dumb crash
- Thu, 21 Mar 2013 13:00:44 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Thu, 21 Mar 2013 13:00:44 +0200] rev 59
- LDraw still uses inverted y-scale... I always used symmetrical objects for testing so I never noticed I had this wrong.
- Thu, 21 Mar 2013 12:57:06 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Thu, 21 Mar 2013 12:57:06 +0200] rev 58
- Scroll the color picker dialog to the selected color if it's off-screen
- Thu, 21 Mar 2013 03:20:02 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Thu, 21 Mar 2013 03:20:02 +0200] rev 57
- Added polygon bordering function
- Thu, 21 Mar 2013 02:48:09 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Thu, 21 Mar 2013 02:48:09 +0200] rev 56
- Simplify ForgeWindow::slot_splitQuads with the new methods
- Thu, 21 Mar 2013 02:45:53 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Thu, 21 Mar 2013 02:45:53 +0200] rev 55
- Added clipboard, added delete action
- Thu, 21 Mar 2013 00:37:15 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Thu, 21 Mar 2013 00:37:15 +0200] rev 54
- Done the rendering end of the red/green BFC view
- Wed, 20 Mar 2013 23:46:37 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Wed, 20 Mar 2013 23:46:37 +0200] rev 53
- Make line thickness user-configurable, draw conditional lines dashed, use the bounding box to offset the model so that it is centered properly.
- Wed, 20 Mar 2013 23:06:30 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Wed, 20 Mar 2013 23:06:30 +0200] rev 52
- Colorized polygons now appear colorized in the list view (unless disabled). GL rendered now draws transparent polygons properly.
- Wed, 20 Mar 2013 21:47:33 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Wed, 20 Mar 2013 21:47:33 +0200] rev 51
- Added color selectors for the add object dialog
- Wed, 20 Mar 2013 21:19:35 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Wed, 20 Mar 2013 21:19:35 +0200] rev 50
- Turned the test palette action into a set color action for mass object coloring.
- Wed, 20 Mar 2013 20:44:04 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Wed, 20 Mar 2013 20:44:04 +0200] rev 49
- Finished with the color selection dialog
- Wed, 20 Mar 2013 19:41:37 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Wed, 20 Mar 2013 19:41:37 +0200] rev 48
- Color dialog almost up and running. Need to make it actually selectable now. TODO: make it read LDConfig.ldr
- Wed, 20 Mar 2013 13:41:08 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Wed, 20 Mar 2013 13:41:08 +0200] rev 47
- Made the GL renderer actually use the main color configuration
- Wed, 20 Mar 2013 13:27:43 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Wed, 20 Mar 2013 13:27:43 +0200] rev 46
- Finally got the renderer to actually draw something! Still needs a lot of work but at least it doesn't show garbage or blank anymore.
- Wed, 20 Mar 2013 03:28:49 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Wed, 20 Mar 2013 03:28:49 +0200] rev 45
- Disable the locale when parsing LDraw code or atof's behavior becomes locale-dependant. Who the hell thought that was a great idea?
- Wed, 20 Mar 2013 03:25:49 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Wed, 20 Mar 2013 03:25:49 +0200] rev 44
- With removal of vectors, I don't need to keep the bearing class around either
- Wed, 20 Mar 2013 03:22:21 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Wed, 20 Mar 2013 03:22:21 +0200] rev 43
- Removed vectors. I realized that subfiles can actually perform their job just as well and that keeping them around would just imply extra work - for nothing.
- Wed, 20 Mar 2013 02:44:21 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Wed, 20 Mar 2013 02:44:21 +0200] rev 42
- Added code for parsing vertices
- Wed, 20 Mar 2013 02:31:36 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Wed, 20 Mar 2013 02:31:36 +0200] rev 41
- Added insert vertex function and added vertex icons.
- Wed, 20 Mar 2013 01:58:05 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Wed, 20 Mar 2013 01:58:05 +0200] rev 40
- Added triangle, quad and condline to the add object dialog
- Tue, 19 Mar 2013 21:52:38 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Tue, 19 Mar 2013 21:52:38 +0200] rev 39
- Begin work on dialogs for adding objects. Comments functional!
- Tue, 19 Mar 2013 18:25:08 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Tue, 19 Mar 2013 18:25:08 +0200] rev 38
- Implemented insertion of triangles, quads, condlines and comments
- Tue, 19 Mar 2013 18:15:31 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Tue, 19 Mar 2013 18:15:31 +0200] rev 37
- er, I said don't limit the amount of decimals
- Tue, 19 Mar 2013 18:14:37 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Tue, 19 Mar 2013 18:14:37 +0200] rev 36
- ftoa: don't limit the amount of decimals
- Tue, 19 Mar 2013 18:12:39 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Tue, 19 Mar 2013 18:12:39 +0200] rev 35
- Temporarily set the locale to C when using ftoa, or the resulting string is subject to the locale and gets unexpected symbols (e.g. commas for the decimal dots while the function expects periods)
- Tue, 19 Mar 2013 17:21:51 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Tue, 19 Mar 2013 17:21:51 +0200] rev 34
- Added main color configuration option, not implemented yet
- Tue, 19 Mar 2013 17:09:07 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Tue, 19 Mar 2013 17:09:07 +0200] rev 33
- Added color selection icon
- Tue, 19 Mar 2013 16:36:08 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Tue, 19 Mar 2013 16:36:08 +0200] rev 32
- Made the GL renderer background color configurable
- Tue, 19 Mar 2013 15:32:16 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Tue, 19 Mar 2013 15:32:16 +0200] rev 31
- Added RC file for the application icon introduced in d2d86021
- Tue, 19 Mar 2013 15:29:42 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Tue, 19 Mar 2013 15:29:42 +0200] rev 30
- Licensed LDForge GPL3, added some more icons
- Mon, 18 Mar 2013 18:29:02 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Mon, 18 Mar 2013 18:29:02 +0200] rev 29
- Added LDraw path setting dialog
- Mon, 18 Mar 2013 13:16:21 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Mon, 18 Mar 2013 13:16:21 +0200] rev 28
- added Save As function
- Mon, 18 Mar 2013 12:24:16 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Mon, 18 Mar 2013 12:24:16 +0200] rev 27
- and of course I forget to update ldforge.pro... or to test compile for that matter
- Mon, 18 Mar 2013 12:20:48 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Mon, 18 Mar 2013 12:20:48 +0200] rev 26
- Renamed io.cpp to file.cpp, draw.cpp to gldraw.cpp
- Mon, 18 Mar 2013 12:15:23 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Mon, 18 Mar 2013 12:15:23 +0200] rev 25
- Deleted scanner.cpp (don't need it), merged model.cpp into io.cpp. Renamed LDForgeWindow to just ForgeWindow since I want the LD* prefix only be given to LDObject derivatives.
- Mon, 18 Mar 2013 04:03:05 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Mon, 18 Mar 2013 04:03:05 +0200] rev 24
- added dummy action for future inlining command. Also GCC says that deleting instances of classes with virtual members but no virtual destructors is bad.
- Mon, 18 Mar 2013 03:38:51 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Mon, 18 Mar 2013 03:38:51 +0200] rev 23
- begin work on subfile caching
- Sat, 16 Mar 2013 17:50:13 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Sat, 16 Mar 2013 17:50:13 +0200] rev 22
- So much for that pointer class, caused more problems than it solved. For instance splitting a second quad after a first one had been split would trigger a peculiar crash...
- Sat, 16 Mar 2013 16:59:16 +0200
- by Santeri Piippo <crimsondusk64@gmail.com> [Sat, 16 Mar 2013 16:59:16 +0200] rev 21
- Added split-quads-to-triangles function