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
2016-08-23Fix T49150: make new 'operator categories' in search menu i18n-aware.Bastien Montagne
2016-07-28Fix T48951: Crash refreshing some popupsCampbell Barton
Fix for T48874 caused popups to be tagged to be refreshed, that didnt support it. Tag popups that can't be refreshed.
2016-07-26Correct UI names of ID typesJulian Eisel
Also correct typo.
2016-07-26More useful block name for report popup blocksJulian Eisel
Report popups simply reuse popup menu code, so their blocks got "UI_popup_menu_begin" assigned as name, which was a bit misleading. Now uses "UI_popup_menu_reports". Ideally they'd have their own popup code.
2016-07-18Fix T48874: Nested pop-up didn't update its parentCampbell Barton
2016-07-16Cleanup: spellingCampbell Barton
2016-07-06Replace of (id->lib != NULL) check by meaningful macro.Bastien Montagne
Idea is to replace hard-to-track (id->lib != NULL) 'is linked datablock' check everywhere in Blender by a macro doing the same thing. This will allow to easily spot those checks in future, and more importantly, to easily change it (see work done in asset-engine branch). Note: did not touch to readfile.c, since there most of the time 'id->lib' check actually concerns the pointer, and not a check whether ID is linked or not. Will have a closer look at it later. Reviewers: campbellbarton, brecht, sergey Differential Revision: https://developer.blender.org/D2082
2016-06-01Fix/Workaround T48560: Color picker V fail w/ user defined RNACampbell Barton
Set the maximum soft-max to 1.0 when its left at FLT_MAX. Since this causes problems using the slider.
2016-05-28Fix T48534: color picker hex #RRGGBB input allows typing one character too many.Brecht Van Lommel
Fix suggested by Daniel Rivera.
2016-04-23Event system: Let event pass through after menu poll failsJulian Eisel
Part 2 of Fix for T48200. Without this, it's not possible to exit GPencil edit mode using tab key with pies enabled. Menus are somehow similar to operators, which let the event pass through too after operator poll returns 0. So think we should handle them similar here. Can't guarantee this is totally safe though ;)
2016-04-19Toggle to standard cursor when opening menus/popupsJulian Eisel
Cursor is now set to standard arrow-cursor when opening menu, and reset to previous one when closing it. Previously it just stayed as it was before, e.g. the edit mode cross-cursor stayed active even if a menu was opened. Fixes T48192.
2016-04-17Fix T48171: activating spacebar search menu over text button activates it or ↵Brecht Van Lommel
shows tooltip.
2016-03-04Fix menu aliged to right side of screen in UserPref windowJulian Eisel
Only applied in a really few cases actually. To reproduce: * Open User Preferences *in own window* * Search for node wrangler add-on (it's one of the few cases where this happens) * Enable and open details * Click on one of the menues in the add-on preferences Actually this was reproducable in any window, user preference area just had to take up most/all of the width. Note: I'm not totally sure if just disabling these lines is correct, but I didn't find any issues or any information why this was needed. So it seems to be redundant.
2016-03-02UI: Show categories in operator search popupCampbell Barton
Gives better context especially when operators have generic names.
2016-03-02UI: Add search-create callbackCampbell Barton
Needed to support alternate search UI's, no functional changes.
2016-02-29Cleanup: Duplicated functionJulian Eisel
wmOrtho2_region_pixelspace and wmOrtho2_region_ui were doing exact same thing since rBSa86482f81cf3.
2016-02-16Fix items in mode pie changing position by supporting more than 8 items in ↵Julian Eisel
operator-enum pies Now a 'More' item is added to the pie when there are too many items. It opens a sub-pie that contains the remaining items. Note that this only touches operator-enum pies (like the object mode pie is), it is not a complete support for pies with more than 8 items. For this further design and code work would be needed, but this is too urgent to wait for that. This is a better fix for T46973, should definitely be applied for 2.77 release. Patch D1800 by myself with some edits by @campbellbarton, thanks!
2016-02-15Uber-picky: Too small margin in tooltipJulian Eisel
Minor design detail, but kept bugging me :) Was removed in rBd57847ca5b9.
2016-02-03Cleanup: refactor tooltip data-access out of layout functionCampbell Barton
2016-01-03Fix text wrapping off-by-one error w/ string widthCampbell Barton
Caused odd white space error in tooltip enum values.
2015-12-01RNA: de-duplciate rna-path create in tooltip codeCampbell Barton
2015-11-24OpenGL: clean up use of old extensionsMike Erwin
2015-11-23Cleanup: shadowing (interface)Campbell Barton
2015-11-15UI: support cycling callback for non RNA menusCampbell Barton
2015-10-16UI: expose UI_POPUP_MENU_TOP for use elsewhere.Campbell Barton
2015-09-19UI: tooltip layout tweaksCampbell Barton
- enable word-wrap for all tip text to align vertically. - draw enum identifier at the end of the last line, not first.
2015-09-18UI: word-wrap support for tooltipsCampbell Barton
Tooltips will automatically wrap when exceeding UI_TIP_MAXWIDTH.
2015-09-10Show correct syntax for id-propertiesCampbell Barton
2015-09-05Fix T45944: Ctrl+Wheel to cycle values failes in toolshelfJulian Eisel
Now, ctrl+wheel for cycling tabs is passed to hovered button if it supports cycling values (RNA menus, color/row/number/slider buttons, list boxes) This might feel a bit glitchy if ctrl+wheel is used to cycle tabs and in newly opened tab, a button with cycling support is under the mouse, which will get mouse input from this point on instead of region. Think this is still better than old behavior.
2015-08-18Refactor translation code out of blenfontCampbell Barton
- Add blentranslation `BLT_*` module. - moved & split `BLF_translation.h` into (`BLT_translation.h`, `BLT_lang.h`). - moved `BLF_*_unifont` functions from `blf_translation.c` to new source file `blf_font_i18n.c`.
2015-08-14Remove redundant workaround for T41548Julian Eisel
Reverts 7a026971dc3f93 which isn't needed anymore after b347f523cececdf
2015-06-16Cleanup: styleCampbell Barton
2015-06-15Revert "Revert "Disable key accelerators for splash screen""Campbell Barton
This reverts commit 7f3dcbe17feccb99abbdbc3aea83189696d97391. Please check with authors first, this bug was already fixed since RC1.
2015-06-15Revert "Disable key accelerators for splash screen"Thomas Beck
This reverts commit 7b0c327b943d4c4a3b212844ea2d4dfcc77f0556. The problem with this commit is that the "move to layer" functionality by hitting M,1 f.e. didn't work anymore... Campbell, would be great if you could look into this again, as I'm not experienced in this specific region..
2015-06-09Disable key accelerators for splash screenCampbell Barton
2015-06-08Alternative fix copying windows from popup dialogsCampbell Barton
It could still crash if the window was freed and another was activated. see T44688.
2015-06-02Fix operator exec /w popups that close the windowCampbell Barton
Related to T44688, note supporting this case isn't so nice, but seems it can be made to work.
2015-06-01template ID previews: quick fix for buttons region overlapping the search buttonInes Almeida
2015-06-01Fix T44747: Drag toggle /w nodes (glitch)Campbell Barton
It was possible to perform actions while performing a drag-toggle.
2015-05-29UI cleanup: removing if, condition was already testedInes Almeida
2015-05-15Correct recent cleanupCampbell Barton
Removed call which was still needed
2015-05-15Fix some issues found by Coverity ScanJulian Eisel
Some of them are just brain dead code, some are potential bugs.
2015-05-04Cleanup: wrapped function indentationCampbell Barton
2015-04-07Revert Sticky Keys (and everything related to that)Julian Eisel
Our current keymap doesn't give us enough room to make such changes in the event system. To fix small issues caused by this, we would need to do drastic changes in Blender's keymaps and internal handling. It was worth a try, but it didn't work. I can write down a more descriptive statement in a few days, but for now I need a break of this stuff.
2015-04-03Sticky Keys backendJulian Eisel
Design task: T42339 Differential Revision: D840 Initial implementation proposal: T41867 Short description: With this we can distinguish between holding and tabbing a key. Useful is this if we want to assign to operators to a single shortcut. If two operators are assigned to one shortcut, we call this a sticky key. More info is accessible through the design task and the diff. A few people that were involved with this: * Sean Olson for stressing me with this burden ;) - It is his enthusiasm that pushed me forward to get this done * Campbell and Antony for the code and design review * Ton for the design review * All the other people that gave feedback on the patch and helped to make this possible A big "Thank You" for you all!
2015-03-24UI: remove UI_BTYPE_SEARCH_MENU_UNLINKCampbell Barton
Internal change only, use UI_BTYPE_SEARCH_MENU with an unlink flag instead. They are really the same button type, one just happens to have the option to unlink.
2015-03-19Cleanup: spelling grey -> grayCampbell Barton
2015-03-19Revert part of recent color-management commitCampbell Barton
This adds back rgb_to_grayscale, not all color is managed or depends on the current loaded blend file's CM options. Noted in comments that this is only to be used outside the CM pipeline.
2015-03-17Part 2 of D1082 by Troy Sobotka, remove our functions that do lumaAntony Riakiotakis
calculations and use the OCIO one instead.
2015-03-02Fix missing newline in the button cycle error printSergey Sharybin