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-06-14UI: Add support for popups to refresh their layput (D578)Campbell Barton
This is needed for popups to chance state once activated, currently it makes use of operators `check` callback, after values are modified, as the file selector does already.
2014-06-14UI: remove OpenGL calls from ED_region_init, now handled elsewhereCampbell Barton
2014-05-16Fix T40226: Keep collapse-menu when splitting areasCampbell Barton
2014-05-01Add BLI_compiler_compat.h to help with portabilityCampbell Barton
2014-05-01Include removal gave problems with windows, ifdef some back in for windows onlyCampbell Barton
2014-05-01Revert "Fix msvc 2013 compiler errors after the ingenious cleanup in ↵Campbell Barton
4ca67869cc7a." This reverts commit a47a4ef82f37428d391cc14a30fa611d6714e71d.
2014-05-01Fix msvc 2013 compiler errors after the ingenious cleanup in 4ca67869cc7a.Thomas Dinges
2014-04-30Code cleanup: remove unused includesCampbell Barton
Opted to keep includes if they are used indirectly (even if removing is possible).
2014-04-21View2d: API Cleanup for view<->region conversionCampbell Barton
View2D had some inconsistencies making it error prone in some cases. - Inconstant checking for NULL x/y args. Disallow NULL args for x/y destination pointers, instead add: - UI_view2d_region_to_view_x/y - UI_view2d_view_to_region_x/y - '_no_clip' suffix wasn't always used for non-clipping conversion, switch it around and use a '_clip' suffix for all funcs that clip. - UI_view2d_text_cache_add now clips before adding cache. - '_clip' funcs return a bool to quickly check if its in the view. - add conversion for rectangles, since this is a common task: - UI_view2d_view_to_region_rcti - UI_view2d_region_to_view_rctf
2014-04-11UI: split area_copy_data into ED_area_data_copy, ED_area_data_swapCampbell Barton
Was confusing to have swap/copy in the one function.
2014-04-11UI: correct own bad use of bool and document area_copy_data argsCampbell Barton
2014-04-03Code cleanup: styleCampbell Barton
2014-04-02implement cache line for image editorSergey Sharybin
It works exactly the same as a cache line in movie clip editor.
2014-04-02UI: support for dragging popups title areaCampbell Barton
2014-04-01Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT defineCampbell Barton
2014-03-12UI: allow passing "" for icon only enum buttons and still get an iconCampbell Barton
Enum icon-only buttons were getting their strings set, then truncated with blenders string shortening methods, then not drawn because there was no room (since buttons are icon width). Modify UI code so icon-only buttons don't get names and passing "" to a button won't have its text set later on.
2014-02-28Code cleanup: style/warningsCampbell Barton
2014-02-28Fix T38876: hide area split widget in lower left of widget on OS X.Brecht Van Lommel
This is already used by the operating system for window resizing, you must use the widget in the top right of the area to split.
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.