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-05-03UI: more changes for large textfieldsCampbell Barton
- no longer set 'but->drawstr' when editing buttons. - clip text and set cursor based on the 'editstr'.
2014-05-01Fix T39884: Displaying filenames with '|' failing in menusCampbell Barton
2014-04-30Code cleanup: remove unused includesCampbell Barton
Opted to keep includes if they are used indirectly (even if removing is possible).
2014-04-26Code cleanup: use 'const' for arrays (editors)Campbell Barton
2014-04-24Fix T39861: UI destroys float precision.Bastien Montagne
Note this is only a workaround in fact, adding some precision in radians case. Validating the field will still generate a precision loss (doing otherwise is doable-ish, but likely to backfire and/or add too much complexity in an already complex area).
2014-04-20Code cleanup: styleCampbell Barton
2014-04-17Style cleanupCampbell Barton
2014-04-17BGE - button for deactivate sensors, controllers and actuatorsJorge Bernal
This change introduces a new checkbox to deactivate the sensors, controllers and/or actuators. It is useful during the development phase to avoid delete sensors, controllers or actuators if you want to test something new. NOC: The wiki page is being updated (the images mostly), but the feature is already in the 2.71 release log. {F61628} Reviewers: moguri, dfelinto, campbellbarton, dingto, #user_interface, billrey Reviewed By: moguri CC: billrey Differential Revision: https://developer.blender.org/D16
2014-04-15Fix T39234: popup menus behave poorly when they have not enough width for ↵Bastien Montagne
all their columns. Issue fixed by: * Not having constant width for all columns, but adapt each to its content's width; * Adapting undo's menu height to undo list length (so that we never have more than three columns). It is still possible to get issues in extreme cases (small screen, high DPI size, long op names everywhere...), but this should now be rare corner cases. Also fixes a minor glitch with undo menu (first column had one item less than the others...).
2014-04-11Code cleanup: use boolCampbell Barton
2014-04-02Add drag-resize to uiTemplatePreview (mat/tex/etc. preview widget).Bastien Montagne
This is done by adding a new button type, GRIP, similar to other numbuttons (scroll, slider, ...), which here controls the preview height. Then, we add a new DNA struct to be able to save that height in Blend files (note I choose not to use Panel struct for this, because we would then have the same limitation we used to have with uiLists, only one preview per panel and no preview outside panel). This implies a change to template_preview UI RNA/py API (each preview needs an ID), but this is backward compatible, as by default datablock type will be used if no ID is given (which means e.g. all material previews with no ID will have same height). Reviewers: brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D342
2014-04-02Code cleanup: avoid redundant lookups for subwindowsCampbell Barton
2014-03-15Code cleanup: spelling & styleCampbell Barton
2014-03-12Code cleanup: de-duplicate switch statement, style editsCampbell Barton
2014-03-12HSL color wheel implementation.Antony Riakiotakis
This is a standard Hue - Saturation - Lightness model (see for instance entry on wikipedia here: https://en.wikipedia.org/wiki/HSL_and_HSV) Note though the difference between HSV and HSL saturation, which are not the same. The advantage of having this color selection scheme is that artists can select shades and tints of a color easily by using the lightness slider. Also colors are arranged on (approximated) perceived lightness on the color wheel. Beware, Old files opened with this preference saved will crash! Reviewers: sergey, brecht, campbellbarton Differential Revision: https://developer.blender.org/D385
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-03-12Code cleanup: UI - de-duplicate menu/row/listrow enum logicCampbell Barton
2014-02-27Fix T38602: Aligned layout breaks if panel too wideCampbell Barton
2014-02-25Fix T38809: regression, text cursor offset in number buttonsCampbell Barton
Use the same offset for all edit-buttons now.
2014-02-20UI: Fix for rna-enum submenus not showing a right arrowCampbell Barton
2014-02-19Fix T38706: dropdown labels in popups not updatingCampbell Barton
Caused by own recent changes to menu handling
2014-02-15Code cleanup: remove more string encoded menu functionsCampbell Barton
2014-02-13UI: remove unused freestrCampbell Barton
2014-02-13Code cleanup: remove unused button aspectCampbell Barton
2014-02-13Fix own error in recent commit with red-alert flag becoming staleCampbell Barton
2014-02-12fix/workaround for v3d object mode selector flipping directionCampbell Barton
Allow menu functions to define their own direction, this way menu_item_enum_opname_menu can keep menu flipping from 2.69.
2014-02-11Own recent removal of string encoded menus missed render layers/passesCampbell Barton
2014-02-10UI: refactor menus to remove menus encoded in stringsCampbell Barton
On every redraw a single unopened dropdown boxe would translate and convert every EnumPropertyItem into a string, then decode every item, and search those items to find the name of the button to draw. Replace this with a custom menu callback for RNA enums, tooltips for enums now show too.
2014-02-08UI: multi-drag number button editingCampbell Barton
clicking and dragging down edits multiple number buttons at once. (patch D270)
2014-02-08UI: split ui_button_execute_do into begin/endCampbell Barton
2014-02-08UI: butstore API to generalize button storage for modal handlersCampbell Barton
2014-02-07ListBase API: add utility api funcs for clearing and checking emptyCampbell Barton
2014-02-07UI: avoid O(n2) for old button lookups since both lists are almost always ↵Campbell Barton
aligned
2014-02-07Code cleanup: move old->new button search into ui_but_find_oldCampbell Barton
2014-02-07Fix for button comparisons ignoring rna-indexCampbell Barton
2014-02-06Fix T38516: crash when using color picker from redo panel.Brecht Van Lommel
2014-02-03Code cleanup: use bools where possibleCampbell Barton
2014-01-21Code Cleanup: use bool for return values and correct commentsCampbell Barton
also remove CDDM_Check, theres no need for it.
2014-01-20Code Cleanup: remove redundant NULL checks and add function attributesCampbell Barton
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
2014-01-08Fix issues with float precision in numinput, like 'R 123' who would show ↵Bastien Montagne
additional 'noise' digits. Expose float precision helper in UI_interface.h API, so that numinput can use this helper as numbuttons already do. Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D186
2014-01-04RNA API: use bool's for enum itemf callbacks.Campbell Barton
2014-01-04UI: Use bool rather then int/short's where possibleCampbell Barton
2013-12-31Fix T37993: mass of Rigid Body ignores scene unit scaleSergej Reich
Mass units weren't scaled in the ui.
2013-12-19Fix T37795: Resetting a button to the default value could crashCampbell Barton
Added ui_handle_afterfunc_add_operator so a button can queue an operator to run without executing it immediately.
2013-12-18Fix T37847: some buttons displayed too wide in multi-column menus.Brecht Van Lommel
2013-12-18Code Clenaup: use const for button checking functionsCampbell 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-12RNA: Add pixels property typeScott Petrovic
2013-12-11UI: change how number button strings are concatenated (to easy add new suffix)Campbell Barton