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-05-01DRW: Draw checkerboard alpha pattern for CyclesClément Foucault
Add checkerboard alpha pattern like it was in 2.79
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-02Cleanup: empty expression statement warningCampbell Barton
2019-03-25GPU: State: Replace GL_BLEND by GPU_blendClément Foucault
2019-03-24GPU: State: Replace GL_LINE_SMOOTH by GPU_line_smoothClément Foucault
2019-03-05Cleanup: rename RENDER_OVERRIDE -> HIDE_OVERLAYSCampbell Barton
Match the UI naming (changed since 2.7x).
2019-02-253D View: support for editing cursor rotationCampbell Barton
Add buttons for editing the cursor rotation as well as rotation modes, similar to object and pose bones.
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-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-26Cleanup: draw manager headersCampbell Barton
2019-01-233D View: draw clipping regionCampbell Barton
Only for workbench solid/wire modes.
2019-01-23Cleanup: add BEGIN/END to GPL headersCampbell Barton
2019-01-11Fix background color use in 3D viewCampbell Barton
TH_BACK was being used when drawing the 3D view even though there was no way to set the color in the preferences. The color was zero'd when moving to the new 2.8x theme. Having both gradient and background colors was confusing, especially having to use 'TH_HIGH_GRAD' for the 3D view, 'TH_BACK' for other views. Move the background color back to 'TH_BACK', 'TH_BACK_GRAD' is used when gradients are enabled. RNA is unchanged so presets don't need updating.
2018-12-14GP: Rename CTX and OB modesAntonioya
Part of T59335.
2018-12-12GPUState: Change isolated glLineWidth usage to GPU_line_widthClément Foucault
2018-12-11Fix T58850: NDOF navigation guide not shownCampbell Barton
2018-11-263D View: remove 3D cursorCampbell Barton
Use 3D cursor from the scene (was previously used for local-view).
2018-11-08Fix Cycles viewport render info overlapping other text.Brecht Van Lommel
Now it shows more compact info below the view/object name. Render time and memory usage is left out, as in most cases this is not so important. These could be added back optionally if needed.
2018-10-09Cleanup: namingCampbell Barton
- immAttrib* -> immAttr* - immSkipAttrib -> immAttrSkip Term 'attr' is a convention for GPU module.
2018-10-04DRW: minor tweaks to mode checkingCampbell Barton
Avoid accessing object mode via the view layer active object when drawing since it's done everywhere we store the active object mode in the draw-context.
2018-10-03GP: Show 3D cursor in draw modeAntonioya
The cursor is used as location to draw new stroke
2018-10-03GP: Hide different UI elements depending of modeAntonioya
The 3D Cursor, origin and dummy are hidden depending of the mode to get a cleaner drawing space.
2018-10-03GP: Hide dummy and cursor in drawing modeAntonioya
2018-08-27Draw Manager: Remove unused functionmano-wii
Signed-off-by: fclem
2018-07-27Workbench: option to change backgroundJeroen Bakker
Replaced the draw world option with a shading.background_type enum. Where the user can select Theme, World or a Custom color. World and theme colors do not always work in workbench. We needed to have an option what the user could control locally (per viewport). Especially when using linked data. I removed the world background drawing from the draw_manager. It was never used as EEVEE and Workbench both override the logic. Not 100% sure about the naming of Theme, World, Viewport. In other parts of blender's codebase World is sometimes called Scene. Will stick to the names that describes its location best. {F3990139} Reviewers: fclem, campbellbarton Reviewed By: fclem Subscribers: venomgfx Tags: #bf_blender_2.8 Differential Revision: https://developer.blender.org/D3551
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-15WM: rename manipulator to gizmo internallyCampbell Barton
2018-07-08Cleanup: rename 'ct' to 'len' for size varsCampbell Barton
2018-07-08Cleanup: abbreviate unsigned types (draw manager)Campbell Barton
2018-07-03View3D: Remove v3d->zbufClément Foucault
This is because depth test is set before drawing anything now. There is no case where we want to draw without depth test that is not selection and this case is not handle by v3d->zbuf anymore. UI assume depth test is off by default. The DRWManager assume it's on. This should fix T55623.
2018-06-18Cleanup: redundant greater thanCampbell Barton
2018-06-173D View: 3D Cursor was not restoring GL stateCampbell Barton
Caused camera frame to be double width.
2018-06-013D View: make text overlay optionalCampbell Barton
2018-06-013D View: support world background colorCampbell Barton
2018-05-25Fix 3D Cursor w/ interface scaleCampbell Barton
2018-05-223D Cursor: Clip if behind near plane.Clément Foucault
2018-05-213D View: fix scale of 3D cursor crosshairCampbell Barton
Interface scale was applied twice.
2018-05-11Cleanup: use 'uint' in draw managerCampbell Barton
2018-05-08Orientation for 3D cursorCampbell Barton
Currently set when setting the cursor location, optionally used as an orientation type. Intended for use by tools too. See: D3208
2018-05-053D Viewport: make shading and overlay DNA match UI names.Brecht Van Lommel
We should use consistent naming between the internal code and UI whenever possible, only reason not to is file compatibility.
2018-05-03Fix 3D cursor being hidden on existing 2.8 filesCampbell Barton
Flip logic for the flag avoids versioning code.
2018-05-03Workbench: Show 3D Cursor OverlayJeroen Bakker
2018-04-23DRW: Antialiased 3D cursor.Clément Foucault
Common peeps! Why wasn't it already done?
2018-04-21View3D: Atenuate banding artifacts on background gradient.Clément Foucault
Dithering the output color for 8bit precision framebuffer with bayer matrix. On my tests the bayer matrux patterns are not noticeable at all. Note that it also does that in opengl rendered mode which can be in a much higher bitdepth. We can fix that if that's a problem in the future but I doubt it will.
2018-04-05Remove workspace object mode, reverts changes w/ 2.8Campbell Barton
This caused too many problems syncing object modes with multiple objects/windows/workspaces, see: D3130 for details.
2018-03-28DRW: Opti: Make cursor use batch instead of immediate API.Clément Foucault
This is also much cleaner and taking 1 drawcall instead of 2.
2018-02-06Object Mode: Use eval_ctx mode for drawing, paint & modifiersCampbell Barton