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
2019-04-18Cleanup: add trailing commas to avoid right shiftCampbell Barton
2019-04-17Cleanup: comment length in interfaceCampbell Barton
2019-04-17ClangFormat: format '#if 0' code in source/Campbell Barton
2019-04-17ClangFormat: apply to source, most of internCampbell Barton
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
2019-04-16Clenaup: odd use of ternary operatorsCampbell Barton
2019-04-01Remove evaluated RNA pointer lookup in interfaceSergey Sharybin
Since there is a flush of evaluated values back to the original for an active dependency graph we don't need this lookup anymore. Not only it slows interface drawing down, but also is becoming in a way of the upcoming fix.
2019-03-26Fix T62515: crash when rendering finishes with mouse over progress bar.Brecht Van Lommel
Tooltip should be copied entirely, not just the the argument because then the function and argument don't always match.
2019-03-25RNA: add UILayout.prop_with_menu functionCampbell Barton
Matches prop_with_popover, supporting menu types, useful if we want to control behavior of enum switching.
2019-03-25RNA: rename prop_popover_enum to prop_with_popoverCampbell Barton
A version for menu's is going to be added next and we already have UILayout.prop_menu_enum. This name indicates the popover is added behavior instead of a different kind of widget.
2019-03-25UI: add UILayout.prop_popover_enum functionCampbell Barton
Support for RNA enum buttons that activate popovers when clicked. This means we get useful tooltips, shortcuts and Ctrl-Wheel cycling over enum items. It also avoids inconvenient & slow access of enum values currently done via RNA type lookups on the type to get the name & icon to use for a regular popover button. Resolves T57738
2019-03-25Cleanup: use braces for interface codeCampbell Barton
2019-03-20Fix T60815: drag & drop crash when search menu is opened immediately after.Brecht Van Lommel
Patch by matc, some further refactoring by me. Differential Revision: https://developer.blender.org/D4250
2019-03-20UI: support for popups starting with buttons activatedCampbell Barton
While this could already be done from C, this is now exposed to Python
2019-03-14Merge branch 'blender2.7'Brecht Van Lommel
2019-03-14Fix T62120: number button editing outside of soft max range jumps.Brecht Van Lommel
2019-03-13UI: New option to display factors as percentagesJacques Lucke
The option can be changed in the Preferences in `Interface -> Editors -> Factor Display Type`. Reviewers: campbellbarton, brecht, billreynish Differential Revision: https://developer.blender.org/D4462
2019-03-13Cleanup: rename uiBlock.mx,my to bounds_offsetCampbell Barton
Use a name that related to block bounds calculation (mx/my are typically used for mouse x,y).
2019-03-12Fix use of uninitialized stack memoryCampbell Barton
The matrix multiply uses x,y values so both must be initialized.
2019-03-07Refactor building the draw string for floats and intsJacques Lucke
Differential Revision: https://developer.blender.org/D4466
2019-03-05Fix T62216: order of items flipped in some menus like object mode.Brecht Van Lommel
2019-03-01Fix T62016: Outliner visibility icons drag behaviour brokenDalai Felinto
We are mixing bool and fancy 3-in-1 func-set buttons in the outliner. So they would return different pushed state in ui_drag_toggle_but_pushed_state(). We now have a callback function that allows the button to set its own pushed_button_state callback function. Note: This is a bit of overkill since we are planning to change the 3-in-1 outliner buttons. That said, it may be nice to have, since in the future we can mix those buttons for other things. Reviewers: brecht Differential Revision: https://developer.blender.org/D4434
2019-02-19Fix T61696: Filepath buttons not accepting empty valuesDalai Felinto
The reported case was with the render output filename, however the same was happening for file open. Bug introduced on c20c203b82260c06888c2a535c08ec383923ee8a. I can't find in the original commit any reasoning for the change that introduced this bug.
2019-02-18doxygen: add newline after \fileCampbell Barton
While \file doesn't need an argument, it can't have another doxy command after it.
2019-02-11Preferences: remove tweak/drag threshold distinctionCampbell Barton
Currently the preferences have both tweak and drag threshold, this is confusing because most actions users would consider dragging use the 'tweak' setting. Now one drag threshold is used for both, with a maximum limit of half the button unit-size in case of dragging UI elements.
2019-02-06Cleanup: remove redundant doxygen \file argumentCampbell Barton
Move \ingroup onto same line to be more compact and make it clear the file is in the group.
2019-02-03Cleanup: trailing commasCampbell Barton
Needed for clan-format not to wrap onto one line.
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits.
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits.
2019-01-15Cleanup: comment line length (editors)Campbell Barton
Prevents clang-format wrapping text before comments.
2019-01-15Cleanup: comment line length (editors)Campbell Barton
Prevents clang-format wrapping text before comments.
2019-01-04Cleanup: use typed unsigned intsCampbell Barton
2019-01-04Cleanup: use typed unsigned intsCampbell Barton
2018-12-19Fix T59574: Prop_search fails to set objects from scene.Bastien Montagne
Another case where editstr from search button would be used, when we actually have desired pointer itself already available in button. Am growing tired of doing bandaids fixes on that search menu stuff, whole thing would require some real re-coding imho, to get rid of that tantacular dependency over string 'identifier' only (when we should also have access to at the very least, the active index, and also probably active data pointer itself...). And/or clearly separate string identifier from 'UI' string shown to user.
2018-12-19UI: show panel type in Python tooltipsCampbell Barton
Handy when editing UI scripts.
2018-12-13Fix T58014, T58650: issues with hex color and Filmic view transform.Brecht Van Lommel
Hex color values are now always in sRGB space, as would be expected by most other applications. Previously they were in display space and using the view transform.
2018-12-13Fix T58549, T56741: HSV color picker issues with Filmic view transform.Brecht Van Lommel
In 2d655d3 the color picker was changed to use display space HSV values. This works ok for a simple sRGB EOTF, but fails with view transforms like Filmic where display space V 1.0 maps to RGB 16.292. Instead we now use the color_picking role from the OCIO config when converting from RGB to HSV in the color picker. This role is set to sRGB in the default OCIO config. This color space fits the following requirements: * It is approximately perceptually linear, so that the HSV numbers and the HSV cube/circle have an intuitive distribution. * It has the same gamut as the scene linear color space. * Color picking values 0..1 map to scene linear values in the 0..1 range, so that picked albedo values are energy conserving.
2018-12-12Merge branch 'master' into blender2.8Campbell Barton
2018-12-12Cleanup: use colon separator after parameterCampbell Barton
Helps separate variable names from descriptive text. Was already used in some parts of the code, double space and dashes were used elsewhere.
2018-12-03Merge branch 'master' into blender2.8Campbell Barton
2018-12-03Fix T54580: Pointer buttons skip undo pushCampbell Barton
2018-12-02Keymap: fix error in recent enum-menu supportCampbell Barton
2018-11-30Fix crash creating enum tooltipsCampbell Barton
Error from recent changes to shortcut display.
2018-11-29UI: update shortcut display to check space cyclingCampbell Barton
2018-11-29UI: support enum key shortcut detectionCampbell Barton
Shows shortcuts in space-selector.
2018-11-22UI: activate tabs immediately on press, and drag to quickly cycle through.Brecht Van Lommel
2018-11-20Cleanup: unused args, indentationCampbell Barton
2018-10-31Fix Properties tabs all showing tooltip of active tabJulian Eisel
2018-10-29UI: Support Displaying Enums as TabsJulian Eisel
Adds `uiLayout.prop_tabs_enum(data, property, icon_only)` to BPY.
2018-10-29UI: allow off/on icons to be in reverse order.Brecht Van Lommel
The same icons are reused for "hide" and "show" properties, which need to be in reverse order compared to each other.
2018-10-25Cleanup: comments and unused codeInes Almeida