Thu, 25 Apr 2013 01:54:25 +0300 |
Santeri Piippo |
Converted combo boxes in add object and new part dialogs to radio buttons. Added a convenience widget which makes it easier for me to add groups of radio buttons. My first widget.. :')
|
changeset |
files
|
Wed, 24 Apr 2013 23:27:36 +0300 |
Santeri Piippo |
Cleanup and some restructuring
|
changeset |
files
|
Wed, 24 Apr 2013 20:33:06 +0300 |
Santeri Piippo |
Save the configuration before exiting so that grid choice is preserved.
|
changeset |
files
|
Wed, 24 Apr 2013 19:59:41 +0300 |
Santeri Piippo |
Area selection! This sure was a *pain* to add.
|
changeset |
files
|
Mon, 22 Apr 2013 17:46:09 +0300 |
Santeri Piippo |
Added panning to GL view, added action for resetting angles, zoom and pan
|
changeset |
files
|
Mon, 22 Apr 2013 17:15:25 +0300 |
Santeri Piippo |
Use mouse wheel for zooming instead of pressing the mouse button and detecting vertical movement.
|
changeset |
files
|
Mon, 22 Apr 2013 17:01:37 +0300 |
Santeri Piippo |
Show an error message box when main file loading fails.
|
changeset |
files
|
Mon, 22 Apr 2013 16:43:01 +0300 |
Santeri Piippo |
A saving failure is a critical error, not a warning and should be drawn as such
|
changeset |
files
|
Mon, 22 Apr 2013 16:30:33 +0300 |
Santeri Piippo |
Warn for save failures with the save and save as actions, also provide with a button to save the file under a different name.
|
changeset |
files
|
Mon, 22 Apr 2013 16:06:41 +0300 |
Santeri Piippo |
Keep track of when the file was last saved and warn if there are unsaved changes when the application is closing.
|
changeset |
files
|
Mon, 22 Apr 2013 14:14:36 +0300 |
Santeri Piippo |
Grid icons..
|
changeset |
files
|
Mon, 22 Apr 2013 14:14:25 +0300 |
Santeri Piippo |
Make grid actions regular actions rather than auto-generated, this way they can have keyboard shortcuts
|
changeset |
files
|
Mon, 22 Apr 2013 03:53:21 +0300 |
Santeri Piippo |
Added three configurable grid layouts, coarse, medium and fine grids, like those of MLCad. The grids are considerably finer by default simply because part editing works at a lower scale than model editing.
|
changeset |
files
|
Sun, 21 Apr 2013 19:03:53 +0300 |
Santeri Piippo |
Added the about dialog.
|
changeset |
files
|
Sun, 21 Apr 2013 16:46:42 +0300 |
Santeri Piippo |
Rotate subfiles and radials by their origin and not by their contents' bboxes.
|
changeset |
files
|
Sun, 21 Apr 2013 16:36:20 +0300 |
Santeri Piippo |
Rotation improvements; allow radials be inlined
|
changeset |
files
|
Sun, 21 Apr 2013 04:17:05 +0300 |
Santeri Piippo |
Rotation and rounding. Rotation needs work to get proper origin stuff
|
changeset |
files
|
Sat, 20 Apr 2013 04:26:36 +0300 |
Santeri Piippo |
some GUI tweaks
|
changeset |
files
|
Sat, 20 Apr 2013 04:18:22 +0300 |
Santeri Piippo |
Added winding reversal, though undoing it isn't quite ready yet.
|
changeset |
files
|
Fri, 19 Apr 2013 15:21:46 +0300 |
Santeri Piippo |
Generalized SetContentsHistory to an EditHistory
|
changeset |
files
|
Wed, 17 Apr 2013 14:09:38 +0300 |
Santeri Piippo |
Some renaming
|
changeset |
files
|
Tue, 16 Apr 2013 20:32:42 +0300 |
Santeri Piippo |
Redrew selection icons to be clearer
|
changeset |
files
|
Tue, 16 Apr 2013 18:27:08 +0300 |
Santeri Piippo |
Added functionality for getting a primitive name from a radial.
|
changeset |
files
|
Tue, 16 Apr 2013 14:36:56 +0300 |
Santeri Piippo |
Radial saving and reading from files
|
changeset |
files
|
Tue, 16 Apr 2013 03:49:06 +0300 |
Santeri Piippo |
Added object list representation for radials
|
changeset |
files
|
Tue, 16 Apr 2013 02:13:11 +0300 |
Santeri Piippo |
Added the radial type, this one sure has been on my wishlist for a while. :)
|
changeset |
files
|
Mon, 15 Apr 2013 18:07:29 +0300 |
Santeri Piippo |
Added select by type. Selection is now preserved over operations.
|
changeset |
files
|
Mon, 15 Apr 2013 04:58:33 +0300 |
Santeri Piippo |
Improved shared selection handling; added select by color
|
changeset |
files
|
Mon, 15 Apr 2013 04:00:10 +0300 |
Santeri Piippo |
More selection work - selecting from GUI updates the GL renderer now
|
changeset |
files
|
Mon, 15 Apr 2013 02:56:42 +0300 |
Santeri Piippo |
Picking improvements
|
changeset |
files
|
Mon, 15 Apr 2013 01:51:53 +0300 |
Santeri Piippo |
Added additive selection blending, with a toggable flash effect. :P
|
changeset |
files
|
Sun, 14 Apr 2013 17:31:09 +0300 |
Santeri Piippo |
Highlight selected objects with a different color
|
changeset |
files
|
Sun, 14 Apr 2013 03:54:40 +0300 |
Santeri Piippo |
GL picking stuff
|
changeset |
files
|
Sat, 13 Apr 2013 02:11:54 +0300 |
Santeri Piippo |
Added the ability to add vertices to object corners
|
changeset |
files
|
Fri, 12 Apr 2013 02:54:25 +0300 |
Santeri Piippo |
Added basic object moving with MLCAD-like controls.
|
changeset |
files
|
Fri, 12 Apr 2013 01:03:08 +0300 |
Santeri Piippo |
Remade vertex icons, the old ones sucked.
|
changeset |
files
|
Fri, 12 Apr 2013 00:28:17 +0300 |
Santeri Piippo |
Added user-configurable quick-coloring toolbar for.. quick coloring.
|
changeset |
files
|
Thu, 11 Apr 2013 17:15:01 +0300 |
Santeri Piippo |
Recent files are now remembered and displayed in a submenu
|
changeset |
files
|
Thu, 11 Apr 2013 02:26:14 +0300 |
Santeri Piippo |
Added inlining history management
|
changeset |
files
|
Thu, 11 Apr 2013 01:35:30 +0300 |
Santeri Piippo |
Fleshed out the history dialog further
|
changeset |
files
|
Wed, 10 Apr 2013 19:26:14 +0300 |
Santeri Piippo |
Added history dialog, cannot display all types yet
|
changeset |
files
|
Wed, 10 Apr 2013 16:17:22 +0300 |
Santeri Piippo |
Added history support for adding objects.
|
changeset |
files
|
Wed, 10 Apr 2013 14:10:58 +0300 |
Santeri Piippo |
Added history management for cut and paste, copy doesn't alter the object list by itself so it doesn't touch history
|
changeset |
files
|
Wed, 10 Apr 2013 13:24:35 +0300 |
Santeri Piippo |
Added history handling for quad splitting.
|
changeset |
files
|
Wed, 10 Apr 2013 04:34:19 +0300 |
Santeri Piippo |
Added history management for auto-bordering (and mass-addition in general)
|
changeset |
files
|
Wed, 10 Apr 2013 03:47:17 +0300 |
Santeri Piippo |
History handling for list moving
|
changeset |
files
|
Wed, 10 Apr 2013 03:30:58 +0300 |
Santeri Piippo |
Added history handling for set contents
|
changeset |
files
|
Wed, 10 Apr 2013 02:40:52 +0300 |
Santeri Piippo |
Allow undo of set color
|
changeset |
files
|
Wed, 10 Apr 2013 02:22:35 +0300 |
Santeri Piippo |
Allow the user to alter the tool bar icon size
|
changeset |
files
|
Wed, 10 Apr 2013 01:51:35 +0300 |
Santeri Piippo |
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.
|
changeset |
files
|
Wed, 10 Apr 2013 01:27:06 +0300 |
Santeri Piippo |
Added icons for undo and redo
|
changeset |
files
|
Wed, 10 Apr 2013 00:46:32 +0300 |
Santeri Piippo |
Added undo/redo foundations. Capable of undoing and redoing delete operations
|
changeset |
files
|
Tue, 09 Apr 2013 21:59:56 +0300 |
Santeri Piippo |
Added move up/down actions.
|
changeset |
files
|
Tue, 09 Apr 2013 18:23:07 +0300 |
Santeri Piippo |
Added a button to clear a keyboard shortcut.
|
changeset |
files
|
Tue, 09 Apr 2013 18:16:01 +0300 |
Santeri Piippo |
Touched up the error icon, show the error icon in the set contents dialog if the contents are gibberish.
|
changeset |
files
|
Tue, 09 Apr 2013 18:07:57 +0300 |
Santeri Piippo |
Added an icon for the exit action - the last one without one! Woo!
|
changeset |
files
|
Tue, 09 Apr 2013 17:56:35 +0300 |
Santeri Piippo |
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. :)
|
changeset |
files
|
Tue, 09 Apr 2013 17:41:19 +0300 |
Santeri Piippo |
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 :)
|
changeset |
files
|
Tue, 09 Apr 2013 14:06:40 +0300 |
Santeri Piippo |
Keyboard shortcuts can now be configured.
|
changeset |
files
|
Mon, 08 Apr 2013 19:24:23 +0300 |
Santeri Piippo |
Systemized actions and added (for now no-op) key configurations for them
|
changeset |
files
|
Mon, 08 Apr 2013 18:47:31 +0300 |
Santeri Piippo |
Added a New Part dialog
|
changeset |
files
|
Mon, 08 Apr 2013 14:57:25 +0300 |
Santeri Piippo |
Don't include non-INVERTNEXT BFC statements in inlined objects.
|
changeset |
files
|
Mon, 08 Apr 2013 14:53:58 +0300 |
Santeri Piippo |
LDObject::getIndex was bogus which would cause inlining to crash
|
changeset |
files
|
Mon, 08 Apr 2013 14:45:28 +0300 |
Santeri Piippo |
Added support for BFC types
|
changeset |
files
|
Wed, 27 Mar 2013 11:24:16 +0200 |
Santeri Piippo |
Added LDConfig.ldr parsing. All colors now available as long as LDConfig.ldr is provided.
|
changeset |
files
|
Mon, 25 Mar 2013 22:52:53 +0200 |
Santeri Piippo |
Draw main color in the selection dialog based on preferences, take subfiles into account when calculating bbox
|
changeset |
files
|
Mon, 25 Mar 2013 17:04:18 +0200 |
Santeri Piippo |
Phased out FOREACH macro in favor of C++11-style for iteration.
|
changeset |
files
|
Mon, 25 Mar 2013 16:05:03 +0200 |
Santeri Piippo |
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.
|
changeset |
files
|
Mon, 25 Mar 2013 15:20:56 +0200 |
Santeri Piippo |
Further fixes to bad color handling. Allow main color be represented with arbitrary transparency.
|
changeset |
files
|
Mon, 25 Mar 2013 01:04:20 +0200 |
Santeri Piippo |
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
|
changeset |
files
|
Mon, 25 Mar 2013 00:44:11 +0200 |
Santeri Piippo |
Restructured inlining to use a proper caching.. one cache per sub-file reference? What was I thinking? *whacks self with a 55295.dat*
|
changeset |
files
|
Sun, 24 Mar 2013 21:45:19 +0200 |
Santeri Piippo |
Reverted changes on LDSubfile::getContents, I had a temporary, hackier solution there and forgot to change it back
|
changeset |
files
|
Sun, 24 Mar 2013 21:41:24 +0200 |
Santeri Piippo |
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.
|
changeset |
files
|
Sun, 24 Mar 2013 18:03:33 +0200 |
Santeri Piippo |
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.
|
changeset |
files
|
Sun, 24 Mar 2013 01:05:59 +0200 |
Santeri Piippo |
Got inlining working. 3002.dat renders properly now! Now just to iron out the bugs and hone the behavior..
|
changeset |
files
|
Thu, 21 Mar 2013 18:26:57 +0200 |
Santeri Piippo |
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.
|
changeset |
files
|
Thu, 21 Mar 2013 16:25:03 +0200 |
Santeri Piippo |
Parsing stability, finally figured that dumb crash
|
changeset |
files
|
Thu, 21 Mar 2013 13:00:44 +0200 |
Santeri Piippo |
LDraw still uses inverted y-scale... I always used symmetrical objects for testing so I never noticed I had this wrong.
|
changeset |
files
|
Thu, 21 Mar 2013 12:57:06 +0200 |
Santeri Piippo |
Scroll the color picker dialog to the selected color if it's off-screen
|
changeset |
files
|
Thu, 21 Mar 2013 03:20:02 +0200 |
Santeri Piippo |
Added polygon bordering function
|
changeset |
files
|
Thu, 21 Mar 2013 02:48:09 +0200 |
Santeri Piippo |
Simplify ForgeWindow::slot_splitQuads with the new methods
|
changeset |
files
|
Thu, 21 Mar 2013 02:45:53 +0200 |
Santeri Piippo |
Added clipboard, added delete action
|
changeset |
files
|
Thu, 21 Mar 2013 00:37:15 +0200 |
Santeri Piippo |
Done the rendering end of the red/green BFC view
|
changeset |
files
|
Wed, 20 Mar 2013 23:46:37 +0200 |
Santeri Piippo |
Make line thickness user-configurable, draw conditional lines dashed, use the bounding box to offset the model so that it is centered properly.
|
changeset |
files
|
Wed, 20 Mar 2013 23:06:30 +0200 |
Santeri Piippo |
Colorized polygons now appear colorized in the list view (unless disabled). GL rendered now draws transparent polygons properly.
|
changeset |
files
|
Wed, 20 Mar 2013 21:47:33 +0200 |
Santeri Piippo |
Added color selectors for the add object dialog
|
changeset |
files
|
Wed, 20 Mar 2013 21:19:35 +0200 |
Santeri Piippo |
Turned the test palette action into a set color action for mass object coloring.
|
changeset |
files
|
Wed, 20 Mar 2013 20:44:04 +0200 |
Santeri Piippo |
Finished with the color selection dialog
|
changeset |
files
|
Wed, 20 Mar 2013 19:41:37 +0200 |
Santeri Piippo |
Color dialog almost up and running. Need to make it actually selectable now. TODO: make it read LDConfig.ldr
|
changeset |
files
|
Wed, 20 Mar 2013 13:41:08 +0200 |
Santeri Piippo |
Made the GL renderer actually use the main color configuration
|
changeset |
files
|
Wed, 20 Mar 2013 13:27:43 +0200 |
Santeri Piippo |
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.
|
changeset |
files
|
Wed, 20 Mar 2013 03:28:49 +0200 |
Santeri Piippo |
Disable the locale when parsing LDraw code or atof's behavior becomes locale-dependant. Who the hell thought that was a great idea?
|
changeset |
files
|
Wed, 20 Mar 2013 03:25:49 +0200 |
Santeri Piippo |
With removal of vectors, I don't need to keep the bearing class around either
|
changeset |
files
|
Wed, 20 Mar 2013 03:22:21 +0200 |
Santeri Piippo |
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.
|
changeset |
files
|
Wed, 20 Mar 2013 02:44:21 +0200 |
Santeri Piippo |
Added code for parsing vertices
|
changeset |
files
|
Wed, 20 Mar 2013 02:31:36 +0200 |
Santeri Piippo |
Added insert vertex function and added vertex icons.
|
changeset |
files
|
Wed, 20 Mar 2013 01:58:05 +0200 |
Santeri Piippo |
Added triangle, quad and condline to the add object dialog
|
changeset |
files
|
Tue, 19 Mar 2013 21:52:38 +0200 |
Santeri Piippo |
Begin work on dialogs for adding objects. Comments functional!
|
changeset |
files
|
Tue, 19 Mar 2013 18:25:08 +0200 |
Santeri Piippo |
Implemented insertion of triangles, quads, condlines and comments
|
changeset |
files
|
Tue, 19 Mar 2013 18:15:31 +0200 |
Santeri Piippo |
er, I said don't limit the amount of decimals
|
changeset |
files
|
Tue, 19 Mar 2013 18:14:37 +0200 |
Santeri Piippo |
ftoa: don't limit the amount of decimals
|
changeset |
files
|
Tue, 19 Mar 2013 18:12:39 +0200 |
Santeri Piippo |
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)
|
changeset |
files
|
Tue, 19 Mar 2013 17:21:51 +0200 |
Santeri Piippo |
Added main color configuration option, not implemented yet
|
changeset |
files
|
Tue, 19 Mar 2013 17:09:07 +0200 |
Santeri Piippo |
Added color selection icon
|
changeset |
files
|
Tue, 19 Mar 2013 16:36:08 +0200 |
Santeri Piippo |
Made the GL renderer background color configurable
|
changeset |
files
|
Tue, 19 Mar 2013 15:32:16 +0200 |
Santeri Piippo |
Added RC file for the application icon introduced in d2d86021
|
changeset |
files
|
Tue, 19 Mar 2013 15:29:42 +0200 |
Santeri Piippo |
Licensed LDForge GPL3, added some more icons
|
changeset |
files
|
Mon, 18 Mar 2013 18:29:02 +0200 |
Santeri Piippo |
Added LDraw path setting dialog
|
changeset |
files
|
Mon, 18 Mar 2013 13:16:21 +0200 |
Santeri Piippo |
added Save As function
|
changeset |
files
|
Mon, 18 Mar 2013 12:24:16 +0200 |
Santeri Piippo |
and of course I forget to update ldforge.pro... or to test compile for that matter
|
changeset |
files
|
Mon, 18 Mar 2013 12:20:48 +0200 |
Santeri Piippo |
Renamed io.cpp to file.cpp, draw.cpp to gldraw.cpp
|
changeset |
files
|
Mon, 18 Mar 2013 12:15:23 +0200 |
Santeri Piippo |
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.
|
changeset |
files
|