Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-06-11fix [#35656] Crash on File BrowserCampbell Barton
2013-06-09This commit replaces old "manual" Editors menu with nice RNA-based one (so ↵Bastien Montagne
once again, some cleanup of old UI code). It makes the following changes: * RNA's editor types enum (space_type_items) has been re-ordered, added icons, and removed internal-only SPACE_EMPTY value, so that it matches the menu. * Two fixes in code drawing enums as dropdown menu: ** All items were taken into account when computing the number of needed columns, now simple separators (void string items) are ignored. ** Simple separators items were drawn as labels, taking far too much space! And now translators will be free from that ugly, insane menu-string! :P Thanks to Brecht for the review.
2013-05-15Fix action zones not drawing properly while sculpting, due to recent bugfix.Brecht Van Lommel
Partial redraw doesn't work so well with these, now I've changed the action zones to just draw as part of regions instead of as a special overdraw done at the end, which fits better with partial redraw by avoiding any special exceptions.
2013-05-15The Area Split/Merge corner widget was drawing 1 pixel too big, the lines ↵Ton Roosendaal
overlapped the area divider line.
2013-05-14style cleanupCampbell Barton
2013-05-13Fix sculpt getting slower as you paint a longer stroke. Partial redraw wasBrecht Van Lommel
redrawing the whole area that was painted on from the start of the stroke, should only do the last part.
2013-05-13Fix #35337: sculpt performance regression, partial redraw was not working ↵Brecht Van Lommel
anymore due to paint cursor redraw problem.
2013-05-09UI naming consistency:Thomas Dinges
* DopeSheet -> Dope Sheet. No need to glue the words together. Only changed comments and UI strings, no functional changes. Request by Dalai Felinto.
2013-05-08code cleanup: remove references to BLI_rand.hCampbell Barton
2013-04-15Fix for cycles border render optimization commit, render status bar was off ↵Brecht Van Lommel
by 1 pixel.
2013-04-15code cleanup: minor BMESH_TODO's, some were left in even though they were ↵Campbell Barton
done/invalid.
2013-04-15Cycles: optimization for 3D viewport border render with heavy scenes, the OpenGLBrecht Van Lommel
render of objects could slow things down when redrawing the view each time a new sample is displayed. Now it does a partial redraw of the viewport with only the render border area, skipping OpenGL object drawing while the render is refining.
2013-03-25Bug fix:Ton Roosendaal
On screen/area refresh calls the header scroll offset was cleared too. Probably an old remainder of early 2.5 coding. Should be not needed so much.
2013-03-12use gcc warning -Wredundant-decls, exposes some odd/duplicate declarations ↵Campbell Barton
which have been removed.
2013-03-10Bugfix #34365Ton Roosendaal
Tiny tweak. Dragging option (cursor change) for region dividers in editors was having an un-even sensitivity hotspot. This conflicted with header buttons for example, where the hotspot and bottons overlapped. Now the hotspot is around the region-edge evenly.
2013-03-09code cleanup: favor braces when blocks have mixed brace use.Campbell Barton
2013-02-25style cleanupCampbell Barton
2013-02-24Another bunch of UI translation fixes, thanks to Leon Cheung, Gabriel ↵Bastien Montagne
Gazzán and S. Lockal for spotting them!
2013-02-23Bug fix #34347Ton Roosendaal
If you move (with F5) the properties and tools region in 3d viewport to the same side, the mini-axis and text overlays were drawing in wrong place.
2013-02-22code cleanup: remove unused argCampbell Barton
2013-02-20Fix DPI not taken into account for header text (e.g. during transform).Brecht Van Lommel
2013-01-24style cleanupCampbell Barton
2013-01-23Fix #33556: overlapping regions draw over render info at the top of 3d view andBrecht Van Lommel
image editor. Also fix it not scaling properly with DPI.
2013-01-08style cleanupCampbell Barton
2012-12-31Removed on old patch from the code, which attempted to keep the scrollersTon Roosendaal
in user preferences in place. New scroller code made user pref scroller jump back on activating add-ons, because that causes a full blender system refresh.
2012-12-28style cleanupCampbell Barton
2012-12-26Node editor: remove option to show overlapping Property region.Ton Roosendaal
- The main window has sliders, which was drawn behind the region - If property region had slider too, it got even worse. Basically the node editor is UI view, so drawing another UI on top isn't functioning well in general.
2012-12-26Region scrollbar fix!Ton Roosendaal
Now scrollbars correctly hide and show, making space for the actual contents in a region. It solves several old hacks, and puts view2d code a bit more back in control as well. Implementation notes: - The view2d mask feature is working again - The #define V2D_SCROLL_HORIZONTAL_HIDE means: "turn on hiding". - Code for UI_view2d_region_reinit() is enforcing better standard view settings But... two hack/patches needed to be added: - Region panel drawing: if after generating the button panels it appears a scroller hides or reveils, it calls all the generating code again. (a simple scale doesn't work due to rounding differences in layout code) - View2d code that maps 'tot' and 'cur' rects: if this code detects that the mask changes, it calcs the map code again. Also a bugfix (issue in 2.65) - The left/bottom area split widget was drawing 1 pixel too large sometimes, leaving bad trails on moving area dividers.
2012-12-19Bugfix, in 2.61.1 Ton Roosendaal
Overlapping regions now hide automatic when too little space is left.
2012-12-19UI DPI scaling:Ton Roosendaal
Recoded the (2.65.1 version) region scale, which happened on loading files with different saved size windows. Also scaling window itself was affected. Old method: scaled region widths based on area/editor scaling factors. That was leading to too small or too large button regions easily. New method: region width/height now are in DPI control. Much nicer! - On changing dpi, buttons remain visually same widths. - On changing window sizes, the button views and zooms stick to exactly same. Caveat: people who were using Blender with 'extreme' dpi setting, might find the layouts slightly differ. Not sure if this is worth version patching... Todo: overlapping regions that overlap together draw badly. Fix underway.
2012-12-19DPI: fix wrong scaling of editor type choosing buttons, and for menu arrowsBrecht Van Lommel
overlapping or being too close to icons in small buttons.
2012-12-18Fix region expander (+) drawing too narrow.Brecht Van Lommel
2012-12-18Nicer function for drawing text in 3d window:Ton Roosendaal
ED_region_visible_rect(ar, rect) Returns the visible rect inside a region, subtracting the overlapping UI regions. Added with minimal overhead, only called once per region draw. Also fixes the 'Auto Key' warning print in 3d window (was behind properties)
2012-12-17UI fixes:Ton Roosendaal
- on setting lower DPI, the regions that were scrolled down would start moving down 1 pixel on every draw. Caused by rounding error. (int + 0.1 vs int -0.1) (Ancient bug) - circles used in outliner - to denote selection/active - now draw bigger, and better centered. (2.66 fix only)
2012-12-16Test print in bugfix...Ton Roosendaal
2012-12-16Bug fix 33563Ton Roosendaal
Region sizex/sizey should store the actual used sizes, for hide/reveal. Didn't happen correctly, resulting in opening button regions of size 1.
2012-12-16Fix region overlap drawing over render info text in image editor and 3d view.Brecht Van Lommel
2012-12-15Bugfix, irc collection:Ton Roosendaal
With larger header sizes (via DPI setting), splitting an area horizontally (using left-bottom corner widget, move up) stopped immediate after split, not allowing to drag it to a position. Culprit was code to check minimum header size, and area operator using the same flags. Now ScrVert has two flags - one for internal use, one for the tools to set.
2012-12-14style cleanupCampbell Barton
2012-12-13Bug fix, irc report:Ton Roosendaal
Overlapping regions, when you both want them on the same side they should not overlap each other! (Try F5 on a region to flip position). Code for subdivision is in need for some cleanup - a branching recursion is needed.
2012-12-13Bugfix [#33511] Ton Roosendaal
Overlapping regions: when dragging the region to close them, it started the blending timer - which of course is not meant to happen.
2012-12-13code cleanup: quiet warningsCampbell Barton
2012-12-12Holiday coding log :)Ton Roosendaal
Nice formatted version (pictures soon): http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.66/Usability Short list of main changes: - Transparent region option (over main region), added code to blend in/out such panels. - Min size window now 640 x 480 - Fixed DPI for ui - lots of cleanup and changes everywhere. Icon image need correct size still, layer-in-use icon needs remake. - Macbook retina support, use command line --no-native-pixels to disable it - Timeline Marker label was drawing wrong - Trackpad and magic mouse: supports zoom (hold ctrl) - Fix for splash position: removed ghost function and made window size update after creation immediate - Fast undo buffer save now adds UI as well. Could be checked for regular file save even... Quit.blend and temp file saving use this now. - Dixed filename in window on reading quit.blend or temp saves, and they now add a warning in window title: "(Recovered)" - New Userpref option "Keep Session" - this always saves quit.blend, and loads on start. This allows keeping UI and data without actual saves, until you actually save. When you load startup.blend and quit, it recognises the quit.blend as a startup (no file name in header) - Added 3D view copy/paste buffers (selected objects). Shortcuts ctrl-c, ctrl-v (OSX, cmd-c, cmd-v). Coded partial file saving for it. Could be used for other purposes. Todo: use OS clipboards. - User preferences (themes, keymaps, user settings) now can be saved as a separate file. Old option is called "Save Startup File" the new one "Save User Settings". To visualise this difference, the 'save startup file' button has been removed from user preferences window. That option is available as CTRL+U and in File menu still. - OSX: fixed bug that stopped giving mouse events outside window. This also fixes "Continuous Grab" for OSX. (error since 2009)
2012-10-27Bugfix 32988Ton Roosendaal
"Area prev space" was setting areas to "Info" - in case no previous editor could be found. That goes wrong for cases like: - goto composite screen - make image editor full - render - esc
2012-10-26style cleanupCampbell Barton
2012-10-26code cleanup: use min_/max_ math functions, add minmax_v2_v2v2.Campbell Barton
2012-10-25Bugfix #24343Ton Roosendaal
Ancient 2.5 UI issue: The button views in Property Editor have an internal storage, to ensure the view on the buttons stays same when you switch contextes or select objects. Bug was that - in case buttons were all scrolled invisible - sometimes no slider was drawn to indicate that. Discussion on whether this is a good feature or not: the only improvement would be to store such settings even per object... but that's a feature creep I think.
2012-10-25Bugfix #28298Ton Roosendaal
When I added DPI support in the UI, I added code that refreshes views for 2d regions. These refreshes also happened on screen switches or file select, causing header views (horizontal scrolled) to clear. Now the code less intrusive, changing header views in fewer cases. This is a patch provided by Anthony Edlin. Thanks dude!
2012-10-24use min_ii/max_ii over MIN2 MAX2Campbell Barton
2012-10-21style cleanup: trailing tabs & expand some non prefix tabs into spaces.Campbell Barton