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
2014-02-07ListBase API: add utility api funcs for clearing and checking emptyCampbell Barton
2014-02-05Code cleanup: use bool for static methodsCampbell Barton
2014-01-31Code cleanup: be less vague checking invalid index valuesCampbell Barton
2014-01-27UI: Replace +/- menus with collapsible onesCampbell Barton
Patch D160, by Scott Petrovic with own modifications.
2014-01-22Fix tool properties region drawing even if the toolbar is hidden.Brecht Van Lommel
This would show as a line on the side of the 3D view with high DPI / retina, not easy to notice.
2014-01-17UI: tweak menu padding and make separator line more visible.Brecht Van Lommel
Adds some padding to the left of the icon, adds more space around the separator line and make it more visible, and add some spacing at the top and bottom of the menu. Ref T37794 Reviewed By: dingto, billrey Differential Revision: https://developer.blender.org/D223
2013-12-18Fix T37843: area split widget missing in python console editor.Brecht Van Lommel
Python was indirectly causing redraw tags during drawing, which interfered with the ARegion.drawrct, now ignore these during draw.
2013-12-17Fix for crash in toolbar tabs with only one tab definedCampbell Barton
2013-12-16UI: Tabs categories for panels (D75)Campbell Barton
- works by defining panel categories, currently restricted to the toolbar. - no panels define bl_categories yet, so no user visible changes since tabs only show when there are multiple. - panel pinning is available in rmb menu or alt+lmb.
2013-12-16Disable region overlap in movie clip editorSergey Sharybin
Before it was giving weird behavior with timeline in MCE and track preview widgets. But there's also no much benefit of having transparent toolbox there. Requested by our motrack guru Sebastian ages ago.
2013-12-11Fix T37777: layout.column_flow() not working correct with retina / DPI.Brecht Van Lommel
2013-12-04Add alloca include for MSVCCampbell Barton
2013-12-04User interface: internal change, collect panels to draw before drawing.Campbell Barton
avoids calling poll twice, in some cases
2013-12-04Code Cleanup: correct fabsf/fabs/abs useCampbell Barton
2013-12-02Blender Font (BLF): add length argument to string width/height functionsCampbell Barton
This also fixes a crash editing buttons longer then UI_MAX_DRAW_STR
2013-11-25Code Cleanup: rename vars for detecting change to be more consistentCampbell Barton
rename change/is_change/is_changed/modified -> changed also use bools over int/short/char and once accidental float.
2013-11-25UI: fix errors in screen edge drawing, moving and region hiding.Anthony Edlin
Summary: - Fixes an off-by-one error in screen_test_scale() which causes the areas and regions to draw one pixel bigger on the right and top side of the window, therefor hiding one line of pixels. - Fixes an off-by-one error in rct_fits() which causes regions to incorrectly hide even though it would fit inside the area. - Correctly set the limits for the screen edge move operator so it will always go up to AREAMINX and headery. - Change screen_find_active_scredge() so it doesn't show the arrows cursor on the screen edges along the window border. The import thing to understand is how integer rects are used in this part of the code. They are constructed as a lower left and top right point and are INCLUSIVE. Meaning that if you have a rect's xmin = 10 and xmax = 30 then the total number of pixels is 21. So to get the size of a rect you have to do xmax - xmin + 1, which is easy to forget and result in off-by-one errors. Reviewed By: brecht Differential Revision: http://developer.blender.org/D41
2013-09-29Fix [#36830] 'Reset to Default Value' on Current Area Type button causes crashBastien Montagne
Default default value for space types (0, i.e. SPACE_EMPTY) is not valid, use SPACE_VIEW3D instead.
2013-09-14minor style clanup and use more meaningful name for 3DCONNEXION source code.Campbell Barton
2013-09-04fix for glitch splitting horizontally with a high dpi, could make areas ↵Campbell Barton
smaller then the header which pushed the original view out of the screen.
2013-08-05border render with cycles had 1 pixel offset on the top-right edge of the ↵Campbell Barton
image, issue was caused by wmSubWindowScissorSet adding 1 to the ar->drawrct, now only add the padding when drawing the entire area
2013-08-05use api function for rect intersectionCampbell Barton
2013-07-27remove unused code & some redundant NULL checks.Campbell Barton
2013-07-08Fix #36059: region overlap did not show scopes overlapping in the image editor.Brecht Van Lommel
It's only enabled for some particular regions, this one makes sense to show.
2013-06-25Fix unnecessary 3D viewport redraws in various cases, in particular when editingBrecht Van Lommel
node materials. Area and region listener callbacks now get the screen and area pointers passed, so they can do more fine grained checks to see if redraw is really needed, for example depending on the 3D view drawtype.
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.