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
2017-02-06Merge branch 'blender2.8' into render-layersJulian Eisel
2017-02-05fix most UI text colorMike Erwin
There are still many places to fix. I'll miss the bright yellow! This commit also uses the new BLF_default function where possible. Part of T49043 since we call glColor less often.
2017-01-30Collection Editor based on patch by Julian EiselDalai Felinto
This is extracted from the layer-manager branch. With the following changes: * Renamed references of layer manager to collections manager * I didn't include the editors/space_collections/ draw and util files. I still need to bring the drawing code here, so we see something.
2016-12-01Merge branch 'master' into blender2.8Lukas Tönne
2016-11-28UI: Add 'x' icon to text buttons to clear contentJulian Eisel
This is useful e.g. for search buttons to quickly clear the filter string. We might want to make this optional for python scripts.
2016-11-22Use const for color array argumentsJulian Eisel
2016-11-15blender 2.8: Opengl: UI_draw_roundboxMike Erwin
all is in the title too.. Reviewers: merwin Reviewed By: merwin Subscribers: Blendify, Severin Tags: #bf_blender_2.8, #opengl_gfx Maniphest Tasks: T49043 Differential Revision: https://developer.blender.org/D2337
2016-10-19fix narrow text entry fieldsMike Erwin
widget_draw_text was calculating wrong display length when field is too narrow to show entire input string. Gawain assert caught this 11 function calls away! Thanks to @ianwill for reporting.
2016-10-07Blender 2.8: OpenGL: replace old GL with the new immediate API in ↵Mike Erwin
UI_draw_roundbox_gl_mode I change UI_draw_roundbox_gl_mode to use immediate API. The rest of the change is the call to the function. I also make some change in UI_ThemeColor4(int colorid) for eg to make convenience to use. I would really like to know if it's the good way to do, if yes I will make all the change in the node_daw.c after, else say me what's wrong and how to deal with color else. Reviewers: merwin, dfelinto, Severin Reviewed By: merwin Subscribers: fablefox, Severin Tags: #bf_blender_2.8, #opengl_gfx Maniphest Tasks: T49043 Differential Revision: https://developer.blender.org/D2274
2016-10-07Merge branch 'master' into blender2.8Julian Eisel
2016-10-06Fix wrong separator line width after drawing vec iconJulian Eisel
Was visible in Dynamic Context Menu add-on.
2016-09-20Quiet warning with -Wformat-signednessJulian Eisel
Is actually a redundant cast since Blender uses -funsigned-char, however I think it's fine to be explicit about it in new code so cast is required to make compiler happy. Am not a fan of -funsigned-char anyway...
2016-09-15Extend Gawain to use Blender's built-in shadersMike Erwin
Was already done for immediate mode, but rearranged code to make a clean separation. Cleaned up #includes for code that uses this feature. Added same for batched rendering.
2016-08-27OpenGL: use new uniform color functionsMike Erwin
Color picker code motivated these convenience functions. looks much better now.
2016-08-20OpenGL: draw color picker wheel with new immediate modeMike Erwin
Includes new imm_draw_lined_circle function that can be used for other widgets. Part of T49043
2016-07-07Cleanup: spelling, styleCampbell Barton
2016-06-09Flat shading for basic shaderAlexander Romanov
The purpose of the patch is to replace deprecated glShadeModel. To decrease glShadeModel calls I've set GL_SMOOTH by default Reviewers: merwin, brecht Reviewed By: brecht Subscribers: blueprintrandom, Evgeny_Rodygin, AlexKowel, yurikovelenov Differential Revision: https://developer.blender.org/D1958
2016-05-16Fix T48447: Inactive menu items don't grey-out iconsCampbell Barton
2016-04-18Fix: Make it easier to tell if Color Swatches are greyed out or notJoshua Leung
This commit makes disabled/inactive color swatches look more obviously disabled by halving their alpha values. It is necessary because the results of ui_widget_color_disabled() (which is usually used when disabling widgets) get overwritten by the color filling code here. To avoid confusion, the checkerboard background (when the color genuinely has alpha) will still only show in those cases. That is, when disabled, color swatches won't show the checkerboard unless the color actually has an alpha component if it wasn't disabled.
2016-03-22Fix T47830: Multi-edit w/ ui-list wont highlightCampbell Barton
Regression from 4d6b892.
2016-03-21Fix T47868: Check Box shape doesn't scaleCampbell Barton
2016-03-02Fix assert in UI codeCampbell Barton
Dont attempt to clip empty string
2016-02-04Fix T47324: Edit-text in list view theme glitchCampbell Barton
Use existing text select colors when text matches select color.
2016-01-18UI: redesign of the progress bar.Kévin Dietrich
A picture is worth a thousand words: http://wiki.blender.org/index.php/ File:UI_progress_bar.png Reviewers: #user_interface, brecht, dingto Reviewed by: brecht, dingto Differential Revision: https://developer.blender.org/D1727
2016-01-11Fix T47158: Labels w/ icons use button text colorCampbell Barton
Icon buttons with text labels now use the same color as labels. This was causing problems with theming since there was no way to set color for all labels without also changing button text color.
2016-01-05OpenGL: various small optimizationsMike Erwin
- set uniform colors outside of loop - replace glBegin/End with DrawRangeElements - use GL_LINES when drawing single lines
2015-12-27OpenGL: stipple support added to basic GLSL shaderAlexander Romanov
The is intended to replace the deprecated glPolygonStipple() calls with a shader based alternative, once we switch over to GLSL shaders. Reviewers: brecht Differential Revision: https://developer.blender.org/D1688
2015-11-16Cleanup: typosCampbell Barton
2015-11-06New uialign code, based on 2D positions of widgets.Bastien Montagne
This new code fixes a tons of issues with previous one, which basically was epic-failing in many non-basic cases (especially mixed columns and rows with column-dominant layout). It basically no more relies over order of buttons declaration in the uiBlock, instead it finds and stores spatial neighbors and uses that data to compute needed stitching. See code comments for details. New code seems to be roughly ten times slower than old one (for complex grouped layouts), that is, about a few microsecconds per alignment group - this remains reasonable. Also, ui-align code becomming rather big in itself, it was separated in own new `interface_align.c` file. Reviewers: campbellbarton, severin Reviewed By: campbellbarton, severin Differential Revision: https://developer.blender.org/D1573
2015-09-20Cleanup: Use new vector transform functionsJulian Eisel
2015-09-15Fix T46113: Color picker erratic outside 0-1 rangeCampbell Barton
2015-08-06Cleanup: whitespace, unused varCampbell Barton
2015-06-04Fix tooltip colors not initialized correctlyJulian Eisel
Already committed similar fix (rBbeaed66f292dd) but saw it appearing on other peoples screens a few times since them. Never was able to recreate though. This should make sure everything is initialized fine, so if we see it appearing again, then it's likely because of manual tweaks or the version saved in the .blend.
2015-06-03Fix UI string clip (reverse search separator char)Campbell Barton
The string may have many '|' characters, only the last is clipped.
2015-06-03Cleanup: check button flag for shortcut delimiterCampbell Barton
2015-06-01UI: tweaks to ID and non ID preview templatesInes Almeida
- label is shown on a UI_UNIT_Y heigh instead of 0.2 * total button size - vertically centering non-ID previews labels - making some constants dependent on ui units
2015-06-01template id previews: changes for consistency with icon views templateInes Almeida
- elongate the buttons to acomodate the icon without the label overlapping. - removing the blue background - adding a consistent margin all around the popup
2015-05-31UI: comments (doxygen tweaks)Campbell Barton
2015-05-29Cleanup: Use true/false for bool, namingJulian Eisel
2015-05-27Fix mismatch in strings length compute in filebrowser, leading to annoying ↵Bastien Montagne
'...' in longest filename. We must take kerning into account everywhere! Note this will disappear in upcomming filebrowser refactor anyway. Reported through IRC by Pablo (venomgfx), thanks.
2015-05-26Style cleanup: space after keywordSergey Sharybin
2015-05-26Revert "Cleanup: set var twice"Bastien Montagne
This reverts commit eb799dc3501483ff87ec26395bf365b1fbe3dd56. I recommend reading code before doing cleanup, next time...
2015-05-26Cleanup: set var twiceCampbell Barton
2015-05-25Minor cleanup...Bastien Montagne
2015-05-25Fix `widget_draw_preview()` not taking into account given alpha.Bastien Montagne
Needed to get correct 'inactive' effect on buttons with big previews.
2015-05-25preview buttons: tiny optimizationInes Almeida
2015-05-24Fix unreported bug with recent enum icon preview changes, would show bad in ↵Bastien Montagne
case of mixing items with and without label.
2015-05-23IconView template: adding optional labels to popup buttonsInes Almeida
2015-05-04Cleanup: wrapped function indentationCampbell Barton
2015-05-04Cleanup: deduplicate code.Bastien Montagne
FileBrowser had its own 'shorten_string' func, when we have a full fledge one in interface_widget code...