Sat, 17 Aug 2013 00:02:17 +0300
::getIndex() should never return -1 if ::file() is not null so no check needed there..
================================================= == Changes in version 0.2.999-internal ================================================= - Multiple files can now be kept open at the same time. A new list widget is on the left to contain the list of currently open files. - Added close, close all and save all actions. - Added ability to download parts from the Parts Tracker or from a custom-specified URL. If the resulting file contains references to unknown files, LDForge attempts to recursively download all of them. - Color icon border now reflects the color's edge color. - Changing to draw mode while in free camera now causes the camera to be changed to top. - Corrections to the primitive generator: - Fixed: "Hi-Res" was not prepended to the names of 48/ primitives. - Fixed: Checking the Hi-Res option would not allow segment values over 16. - Added support for multiple spaces before the ring number. - Added new action "Add History Line" for quickly inserting 0 !HISTORY lines to headers - Added support for '0 BFC CLIP' and '0 BFC NOCLIP' and added auto-correction from errorneous MLCAD syntax ('0 BFC CERTIFY CLIP'). - If the vertex snapper finds a vertex closer than 4 pixels, it likely is the vertex being looked for and the algorithm can terminate early, hopefully this will save a few cycles on large parts. - The camera icons now draw real tooltips instead of emulated ones. ================================================= == Changes in version 0.2-alpha ================================================= - Completely rewrote history (undo/redo) code, making it a LOT stabler in the process. - Added ability to snap to pre-existing vertices while drawing. - Replaced the radial type with a single action to generate primitives. - Replaced parts list in subfile item list with a primitive listing. Listing is generated either if it's not cached (prims.cfg in configuration directory) or on user demand. Primitives can be categorised with the use of a regex-based configuration file, with a valid default which should cater to most users. - Added an export to file action, moved it + insert from to File menu - Added the message log - instead of being a separate text widget as originally planned, messages are drawn into the viewport. Messages expire after 5 seconds. - Parts are now zoomed to fit properly, making the initial view of the part clearer. - Replace coords: allow replacing all coords regardless of original value, plus relative moving (offset) - Objects can now be edited by double-clicking on them. - When drawing, drawn vertices now display coordinate labels. - Added an action to quickly toggle BFC red/green view. - Objects are now copied to the system clipboard as LDraw code, rather than to an internal clipboard not accessible outside of LDForge. - Changed default keys for Y-axis moving from PgUp/PgDown to Home and End ala MLCAD. - Cleaned up the toolbars, removed clutter by removing most of the not-so-often-used items, though of course the functionality is still available through menus and keyboard shortcuts. - [Linux] External programs can now be launched with Wine. - Improved external program fault handling: don't try to replace/append the output in case of failure, catch non-zero exit codes. - Added a progress box for file loading to respond to desktops while loading files. With large files the no-response policy could be a bad thing. - Color selector is now twice as wide for easier color selection. - Fixed: Recent files should behave coherently now. - Fixed: Overlays could only be defined for the current camera, changing the camera in the prompt didn't work. - Fixed: text editing did not trigger checks while setting LDraw path, removed the Configure button from the LDraw path config dialog, it's no longer needed. - Fixed: Coordinates weren't drawn properly on a bright background (was always drawn in bright colors..). - Renamed "Set Contents" into "Edit LDraw Code", should be clearer - Changed the green color to more "greener" green, rather than yellowish lime. - The dialog box for setting a comment's text is now a lot wider - Calculated coordinates are now rounded down (to prevent stuff like Z:160.000001) - New part dialog: changed "Name:" to "Title", widened a tad.