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
2020-03-19Cleanup: `make format` after SortedIncludes changeDalai Felinto
2020-03-14UI: Larger Alert IconsHarley Acheson
Adding a set of larger icons for use in informational dialogs. Differential Revision: https://developer.blender.org/D6859 Reviewed by Campbell Barton
2020-03-06Cleanup: Rename ARegion variables from ar to regionJulian Eisel
The old convention was easy to confuse with ScrArea. Part of https://developer.blender.org/T74432. This is mostly a batch rename with some manual fixing. Only single word variable names are changed, no prefixed/suffixed names. Brecht van Lommel and Campbell Barton both gave me a green light for this convention change. Also ran clan clang format on affected files.
2020-02-15Cleanup: mixed camel/snake caseCampbell Barton
2020-02-04Fix T65306: UI widgets clipped when scaled upCampbell Barton
Normal UI widget and 3D navigation gizmo where clipping at high DPI.
2019-11-27Curve: CurveMapping Extend OptionJeroen Bakker
Extend options are currently stored per curve. This was not clearly communicated to the user and they expected this to be a setting per CurveMapping. This change will move the option from `Curve` to `CurveMapping`. In order to support this the API had to be changed. BPY: CurveMap.evaluate is also moved to CurveMapping.evaluate what breaks Python API. Cycles has been updated but other add-ons have not. After release of 2.81 we can merge this to master and adapt the add-ons. Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D6169
2019-11-21Bevel: Custom Profile and CurveProfile WidgetHans Goudey
Custom profiles in bevel allows the profile curve to be controlled by manually placed control points. Orientation is regularized along groups of edges, and the 'pipe case' is updated. This commit includes many updates to comments and changed variable names as well. A 'cutoff' vertex mesh method is added to bevel in addition to the existing grid fill option for replacing vertices. The UI of the bevel modifier and tool are updated and unified. Also, a 'CurveProfile' widget is added to BKE for defining the profile in the interface, which may be useful in other situations. Many thanks to Howard, my mentor for this GSoC project. Reviewers: howardt, campbellbarton Differential Revision: https://developer.blender.org/D5516
2019-10-01Fix T70317: Equal clip range crashing in Hue Correct & RGB Curves Nodesmano-wii
It takes many changes to support the drawing of zero-sized curves. Best skip these cases to avoid crash. Blender 2.79 had no support either.
2019-09-07Cleanup: use post increment/decrementCampbell Barton
When the result isn't used, prefer post increment/decrement (already used nearly everywhere in Blender).
2019-08-30Cleanup: spellingCampbell Barton
2019-08-06Cleanup: use BKE_ prefix for BKE_colortools.hCampbell Barton
2019-08-05Cleanup: use unsigned char for theme colorsCampbell Barton
Nearly all byte-color functions use 'uchar' causing casts when then colors were passed in. Declare as uchar to remove the need for casts.
2019-07-26Fix T67671: Blender crashes when resizing sidebar with a colorbampmano-wii
The amount of triangles drawn by the button depends on its `sizex`. See: ``` immBegin(GPU_PRIM_TRI_STRIP, (sizex + 1) * 2); ``` Therefore the `sizex` cannot be 0. Solution a bit similar to rB56b0cd1d. Ref T67671 Reviewers: fclem, brecht Maniphest Tasks: T67671 Differential Revision: https://developer.blender.org/D5347
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-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-13Fix T64463: Visual Artifacts with ColorRampHarley Acheson
This patch fixes an issue with the ColorRamp overflowing its drawing bounds Differential Revision: https://developer.blender.org/D4843 Reviewed by Brecht Van Lommel
2019-05-09Fix T64076: color ramp overlaps scrollbarHarley Acheson
Differential Revision: https://developer.blender.org/D4831
2019-05-01Cleanup: long function call in interface_draw.cClément Foucault
2019-04-25Fix T63605: Assert squeezing a template_curve_mapping in a panel toPhilipp Oeser
almost zero horizontally Reviewers: brecht Maniphest Tasks: T63605 Differential Revision: https://developer.blender.org/D4690
2019-04-18Cleanup: add trailing commas to avoid right shiftCampbell 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-03-25Cleanup: use braces for interface codeCampbell Barton
2019-03-24GPU: Replace glEnable/glDisable but GPU_state callsClément Foucault
2019-03-22UI: Fix curve extention filling on curve widgetsClément Foucault
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-15Fix T58090: Selected curve vertex should stand outCampbell Barton
D4002 by @slumber w/ edits. Use text colors, blending to background if they don't contrast.
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-01-29Cleanup: replace attrib w/ attrCampbell Barton
Also rename GPUVertexAttribs to GPUVertAttrLayers, avoids confusion with GPUVertAttr which isn't closely related.
2019-01-15Cleanup: comment line length (editors)Campbell Barton
Prevents clang-format wrapping text before comments.
2019-01-06Cleanup: add trailing commas to structsCampbell Barton
Needed for clang formatting to workaround bug/limit, see: T53211
2019-01-04Cleanup: use typed unsigned intsCampbell Barton
2019-01-04UI: refactor layout vars out of uiFontStyleCampbell Barton
Word wrap and alignment layout args only used by UI_fontstyle_draw were vars in uiFontStyle. These were written to before drawing, so better pass as an argument. Pass uiFontStyle & uiWidgetColors as const args.
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-01Cleanup: styleCampbell Barton
2018-11-12Fix build: min and max not found.Alexander Gavrilov
2018-11-12UI: Scale control points on curve map when zoomingCharlie Jolly
Mentioned by Pablo on Blender Today : https://www.youtube.com/watch?v=67NIL5A-07c @ about 27:47 Differential Revision: https://developer.blender.org/D3902
2018-11-05UI: Add back line to curve mapCampbell Barton
D3894 by @charlie with edits
2018-11-04Cleanup: style, shadow warningCampbell Barton
2018-11-03UI: Draw curve map with solid colorCharlie Jolly
Differential Revision: https://developer.blender.org/D3891
2018-10-09Cleanup: namingCampbell Barton
- immAttrib* -> immAttr* - immSkipAttrib -> immAttrSkip Term 'attr' is a convention for GPU module.
2018-09-02Cleanup: comment blocksCampbell Barton
2018-07-18GWN: Port to GPU module: Replace GWN prefix by GPUClément Foucault
2018-07-15GPU_matrix: use Blender's naming conventionsCampbell Barton
Thanks to @sergey for review
2018-07-15Cleanup: split GPU_batchCampbell Barton
Split out presets and utilities for creating batches. These functions are quite specialized and not related to typical usage.
2018-07-08Cleanup: rename 'ct' to 'len' for editorsCampbell Barton
2018-07-08Cleanup: abbreviate unsigned types (editors, wm)Campbell Barton