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-06-21Fix dashed line drawingCampbell Barton
The dash_factor wasn't being set in many places, having the graph editor open for eg, caused box-select in the 3D view not to show dashes.
2019-06-19UI: show label in tool-tipsCampbell Barton
When button text doesn't already show the label, include the label in the tool-tip. Without this the descriptions for icon-only buttons don't always make sense. This also gives a tool-tip for icon-only popovers.
2019-06-19UI: add popover access for button labelsCampbell Barton
Needed for tool-tips to access labels.
2019-06-19Fix button label access returning empty labelCampbell Barton
The check the buttons string has content (not just that it's non-NULL).
2019-06-17Inconsistent Percentage FormattingHarley Acheson
Percentage formatting of x% (used elsewhere) when using percentage display factor Differential Revision: https://developer.blender.org/D5050 Reviewed by Brecht Van Lommel
2019-06-17UI_GetThemeColorShadeAlpha4fv not clamping alpha channelHarley Acheson
Fixing small error in UI_GetThemeColorShadeAlpha4fv() clamping blue channel twice instead of alpha Differential Revision: https://developer.blender.org/D5048 Reviewed by Brecht Van Lommel
2019-06-17UI: remove redundant RNA_TYPE property in the key-map editorCampbell Barton
2019-06-17Cleanup: comment spellingCampbell Barton
2019-06-15Cleanup: Rename: Static Override -> Library Override.Bastien Montagne
Better to make internal code naming match official/UI naming to some extent, this will reduce confusion in the future. This is 'breaking' scripts and files that would use that feature, but since it is not yet officially supported nor exposed in 2.80, as far as that release is concerned, it is effectively a 'no functional changes' commit.
2019-06-12Cleanup: spelling in commentsCampbell Barton
2019-06-11Fix/Cleanup: I18N: Bad usage of IFACE_ instead of TIP_.Bastien Montagne
Cheap tip: anything that is not "Camel Case" and/or that is more than a few words long should use `TIP_` translation, not `IFACE_` one. Also added several missing strings (including the one reported in D5056 by Jean First (@robbott), thanks).
2019-06-08Cleanup: use doxygen sections for 2D view operatorsCampbell Barton
2019-06-06Fix T60441, T60619: incorrect values for color values > 1.0Bruno Boaventura Scholl
Modulo makes no sense here at all, is from an old bugfix to prevent a crash that is no longer an issue. Differential Revision: https://developer.blender.org/D4727
2019-06-05Code Style: Make FormatJeroen Bakker
2019-06-04Fix status bar and keymap editor showing Call Menu instead of menu nameBrecht Van Lommel
2019-06-04UI: Add icons to ConstraintsWilliam Reynish
Each constraint now has a unique icon, just like modifiers. Icons are designed by Andrzej Ambroż & Alessio Monti, with user input. Patch by Alessio Monti.
2019-06-04Fix T65451: Changing driver expression doesn't update relationsSergey Sharybin
2019-06-04Cleanup: rename 2D scroll definesCampbell Barton
- Use `V2D_SCROLL_` prefix. - Use more descriptive names.
2019-06-03UI: Prevent scrollbars from getting too small to grabEitanSomething
Differential Revision: https://developer.blender.org/D5001
2019-06-03Fix T65294: Orbit navigate gizmo fails in paint modesCampbell Barton
2019-06-02Cleanup: better comments and naming for redraw flagsBrecht Van Lommel
2019-05-31Gizmo: add 2D navigation for image/clip/sequencer viewsCampbell Barton
2019-05-31WM: option to ignore cursor image/clip/view2d zoomCampbell Barton
In preparation for view navigation gizmos.
2019-05-30Cleanup: move click/drag events to functionsCampbell Barton
Simplifies future changes to dragging checks and avoids each check for drag using slightly different logic.
2019-05-29UI: use matching distance checks & define for draggingCampbell Barton
2019-05-29Cleanup: Remove Dead CodeAaron Carlisle
2019-05-28Cleanup: GPU: Move program point size to GPU_stateClément Foucault
2019-05-28Cleanup: use WM_ prefix for cursor enumCampbell Barton
2019-05-28WM: support X/Y axis cursor wrappingCampbell Barton
Operator flags to wrap on a single axis. D4865 by @Gvgeo with updates. Resolves T64585
2019-05-28Fix T57090: selected node group input sockets circles not drawing inPhilipp Oeser
sidebar UIList nodesockets were actually drawn, but immediately drawn over by widgets from the widget draw batch cache. solution here is to "widgify" nodesocket drawing as well. Reviewers: brecht Maniphest Tasks: T57090 Differential Revision: https://developer.blender.org/D4963
2019-05-28Cleanup: use time scrub instead of scrubbingCampbell Barton
Renaming was only done to ED_time_scrub_ui.h, function names and struct members used term 'scrubbing' which is ambiguous.
2019-05-28Gizmo: changes to internal drag logicCampbell Barton
Minor changes to recent gizmo click/drag logic 08dff7b40bc6a Changing the gizmos highlighted part in the invoke_prepare callback is too error prone since it needs to run before it's known which operator will execute. Add back 'drag_part', since it simplifies click-drag use. While this isn't essential with custom keymaps per gizmo it avoids having to define a keymap in the case a drag event needs a different action.
2019-05-27Cleanup: Fix build warning in bf_editor_interfaceRay Molenkamp
widget_draw_text_ime_underline was not const correct leading to warnings with MSVC
2019-05-27Gizmo: add per gizmo keymapsCampbell Barton
Remove click-drag support for tweak gizmo, rely on keymap events instead. This is needed for some gizmos to use modifiers keys without having all gizmos use all modifier keys (see: T63996).
2019-05-27Fix T65080: handle case when View2D has 0 scaleJacques Lucke
2019-05-27Fix poor display of time codes in sequencer Info panelMal Duffin
Allow using : in labels inside buttons. Differential Revision: https://developer.blender.org/D4944
2019-05-27UI: use tool label instead of id-names for quick favoritesCampbell Barton
2019-05-27Mitigate T64346: Quick Favorites items cant be removedCampbell Barton
For now don't show missing quick favorite menu items which are missing. Once menu editing is supported they could be displayed.
2019-05-27Fix T65074: Crash on switching colorCampbell Barton
Make buttons to take active `Paint` from the context. D4946 by @Gvgeo
2019-05-22Sequencer: ensure Strip is the default active panelBrecht Van Lommel
2019-05-22UI: allow shrinking panel height to zero when open.Alexander Gavrilov
Currently if a panel becomes empty (draw simply returns), it stays at the last non-empty height. This seems to be caused by some legacy checks that may be completely obsolete, but the safest fix is to at least allow resetting height when the panel is open.
2019-05-22Error in last commitCampbell Barton
2019-05-22Fix T64679: Missing dirty preferences tagCampbell Barton
Use a default update function for user preferences that tags dirty and redraws (if changed). This avoids relying on button changes which fail in some cases.
2019-05-22GPU: Refactor GPU_batch_draw_range_exClément Foucault
Rename it to GPU_batch_draw_advanced and use base instance when possible. Also add GPU_batch_bind to bind the vao independantly of drawing commands.
2019-05-22Fix WITH_HEADLESS buildCampbell Barton
2019-05-21Fix part of T64679: Missing dirty preferences tagCampbell Barton
- Editing shortcuts. - Editing walk mode navigation. - Adding/removing paths.
2019-05-21Fix T64927: bad timeline number spacing with scaled UIJacques Lucke
2019-05-21Fix T64912: Crash right clicking on 'Add New Material'Campbell Barton
D4904 by @Gvgeo
2019-05-21UI: support drawing booleans with icons as check-boxesCampbell Barton
Previously, if a boolean happened to use an icon there was no way to make it display as a check-box from Python scripts. The previous logic meant we ended up having to edit the RNA. Since booleans with icons don't work well with the split-property layout (now used for most of the interface). Icons were being removed from RNA then added back using awkward Python ternary expressions in the interface scripts. The toggle argument now has an unset state (-1). - toggle=True: no checkbox (emboss). - toggle=False: always use a checkbox (no icon). - toggle=(unset/-1): depends on the icon status, default as before. Since toggle=False was default, this isn't used in existing UI logic.
2019-05-21Cleanup: const assignments to simplify codeCampbell Barton
Also avoids using uninitialized vars.