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
2018-08-01DNA: remove View3D.flag3Campbell Barton
Having 'flag, flag2, flag3' is getting out of hand especially when we support increasing the size of types. Make flag2 into an int. Note, this looses the 'show world' option, but it's not such an important setting.
2018-06-25Cleanup: Nuke most of G.main from GPU code.Bastien Montagne
2018-06-12Fix T55452: Crash on saving with visible particle system.Bastien Montagne
Missing Main pointer in recent refactor/cleanup of G.main usages...
2018-06-11Cleanup: Moar G.main removal of Hell.Bastien Montagne
This commit actually adds some G.main... but at much, much higher level than the ones it removes, so should still be better ;)
2018-06-08Cleanup: getting rid of G.main.Bastien Montagne
Sometimes one needs a *lot* of changes for a single G.main... :/
2018-06-04Cleanup: strip trailing space in editorsCampbell Barton
2018-06-01Cleanup: trailing whitespace (comment blocks)Campbell Barton
Strip unindented comment blocks - mainly headers to avoid conflicts.
2018-03-08Cleanup: use edit/active objects from view contextCampbell Barton
Needed to implement multiple edit-objects.
2018-02-28Cleanup: comment for depth picking code, const argsCampbell Barton
Note that setting `glDepthFunc` isn't important, since 2.8 branch changes this value it might seem like an error however it's harmless in this case - so better make note of this.
2018-02-27Cleanup: remove unused duplicate codeCampbell Barton
2018-02-18Cleanup: add 2d suffix to BLI filesCampbell Barton
Some of these API's can have 3D versions, explicitly name them 2D.
2018-02-15Cleanup: rename BLI_thread.h APICampbell Barton
- Use BLI_threadpool_ prefix for (deprecated) thread/listbase API. - Use BLI_thread as prefix for other functions. See P614 to apply instead of manually resolving conflicts.
2018-01-23Cleanup: sync w/ blender2.8 branchCampbell Barton
Also make some args const
2018-01-22Fix T53850: Lock to Cursor breaks 3D manipulatorsCampbell Barton
2018-01-12User Prefs: app-template option to hide the cursorCampbell Barton
2017-11-27Sequencer: Add option to render OpenGL preview with DoFSergey Sharybin
The title says it all actually, controlled with DoF check box next to textured solid check box. Thanks Campbell for review!
2017-11-27Refactor view3d offscreen drawing to avoid having multiple boolean argumentsSergey Sharybin
This is fully unreadable to have lots of boolean arguments scattered across the whole argument list. What does `false, true, true` mean in terms of behavior? Replace those with bitfield which has advantage of having more human readable meaning.
2017-08-26WM: move theme check out of ED_view3d_draw_select_loopCampbell Barton
In 2.8x this needs to be in view3d_opengl_select, so simplest to make in master too.
2017-08-25WM: ensure 3D view theme is used in select-loopCampbell Barton
Yet another case where theme could be used uninitialized.
2017-08-24Fix error using wrong theme settings w/ depth drawCampbell Barton
Clicks events before first draw would assert, unlikely to cause user visible errors but would assert in UI_ThemeGetColorPtr.
2017-08-12Fix T52298: hidden lamps still compute shadow buffers in viewport.Brecht Van Lommel
2017-05-26Fix GPencil depth checksCampbell Barton
Regression in 195d0fba
2017-05-10Fix T51354: Final take on multi-view (single view) issuesDalai Felinto
We now handle selection and transform manipulators (kudos to Julian Eisel to help hunting down the latter).
2017-05-10Fixup for multi-view single eye viewport issuesDalai Felinto
In d2f1f80a6fa I was always calling view3d_main_regio_setup_view with NULL matrices, which is not always correct.
2017-05-10Partial fix to Multi-View single eye issues in viewportDalai Felinto
Handling depth loop for now (3d cursor positioning). Selection is a bit more tricky. Reported on 51354
2017-04-26Move depth select loop into its own functionCampbell Barton
Useful for splitting out draw logic in 2.8x
2017-03-093D View: x-ray support for depth pickingCampbell Barton
Selection loop would draw the selection ignoring xray. Now draw in a separate pass after clearing the depth buffer, as with regular drawing. Also disable depth sorting, caller can sort the hit-list by depth if needed.
2017-03-04Cleanup: expose struct for ED_view3d_mats_rv3d_*Campbell Barton
2016-11-29Comment: explain viewport & render pixel-sizeCampbell Barton
It wasn't all that clear why both pixel-sizes are needed.
2016-10-10remove call to GLSL support query (it's always supported)Mike Erwin
Reworked logic in the one place that still called this. Deleted the "GLSL not supported" fallback. (equivalent to rB78abbdf26451 on blender2.8 branch)
2016-08-26Fix: Color of frame/selected object indicator in 3D View didn't indicate ↵Joshua Leung
GPencil keyframes when there was no active object
2016-08-18NDOF: compile 3D mouse code only if WITH_INPUT_NDOFMike Erwin
When WITH_INPUT_NDOF is disabled, 3D mouse handling code is removed from: - GHOST (was mostly done, finished the job) - window manager - various editors - RNA - keymaps The input tab of user prefs does not show 3D mouse settings. Key map editor does not show NDOF mappings. DNA does not change. On my Mac the compiled binary is 42KB smaller after this change. It runs fine WITH_INPUT_NDOF on or off.
2016-07-04Environment lighting for the GLSL modeAlexander Romanov
Environment lighting (aka ambient) is a key component of any renderer. It's implemented like the Environment lighting of BI render for Approximate Gather mode. It support "Sky Color" and "White" Environment lighting modes. It would be great if the user could see actual lighting conditions right in the Blender viewport instead of waiting for the renderer to complete the final image, exporting for external renderer or for a game engine. Before: {F113921} After: {F113922} Example file: {F319013} Original author: valentin_b4w Alexander (Blend4Web Team) Reviewers: valentin_b4w, campbellbarton, merwin, brecht Reviewed By: brecht Subscribers: panzergame, youle, duarteframos, AlexKowel, yurikovelenov, dingto, Evgeny_Rodygin Projects: #rendering, #opengl_gfx Differential Revision: https://developer.blender.org/D810
2016-06-25GPU: move select index code out of WMCampbell Barton
This avoids bad-level calls.
2016-06-12Fix T48604: Crash on undo due to bad drawing code.Bastien Montagne
Short story: draw_lamp would add itself to delayed transp drawing list from 'xray' drawing step. This was broken, since delayed transp drawing list is always handled **before** delayed xray one. After undo it lead to segfault crash, v3d->afterdraw_transp still having reference to old freed scene's base. Also added asserts that those afterdraw list are empty at end of drawing step, should help avoiding that kind of issue in future.
2016-06-09Flat shading for basic shaderAlexander Romanov
The purpose of the patch is to replace deprecated glShadeModel. To decrease glShadeModel calls I've set GL_SMOOTH by default Reviewers: merwin, brecht Reviewed By: brecht Subscribers: blueprintrandom, Evgeny_Rodygin, AlexKowel, yurikovelenov Differential Revision: https://developer.blender.org/D1958
2016-06-02Fix T48566: Render-border minor offset issueCampbell Barton
2016-05-22Use previous shading mode for border render in viewportSergey Sharybin
This way we can have border rendered part in the viewport and have everything else material/texture shaded.
2016-05-07Correct render-border line widthCampbell Barton
2016-05-03Cleanup: use const for units APICampbell Barton
Also make return args explicit.
2016-04-06Fix camera view-border line widthCampbell Barton
2016-03-21Fix T47848: Fix regression in sequencer GL renderCampbell Barton
Own changes in 2.77 broke off-screen render with scene render size doesn't match output.
2016-03-21GPU: avoid redundant logic for non-spot lampsCampbell Barton
2016-03-10Remove OpenGL render alpha world-bg exceptionCampbell Barton
Just follow setting and don't take world-background into account.
2016-03-04Fix T47683: broken BBox logic when drawing duplis.Bastien Montagne
Once a dupli had a valid bbox, that bbox would be used for all following objects without bbox, instead of skipping clipping check. Issue unveiled by rB3fa0a1a5bc0ff2, but not related at all (in fact, bug was present before that commit).
2016-02-16Fix sample mis-match w/ OpenGL full-sample renderCampbell Barton
2016-02-11Fix camera border controlled by gpencil thicknessJulian Eisel
This only happened when looking through camera which is only selected object. Reported @quollism, thanks :)
2016-02-06Fix T47204: selection failing directly after disabling multisample in user ↵Brecht Van Lommel
prefs. Now store the multisample setting each window was created with.
2016-02-01Add theme settings for keyframe indication in 3D ViewGaia Clary
2016-01-27World textures displaying for viewport in BI.Alexander Romanov
This patch supports "Image or Movie" and "Environment map" types of world texture for the viewport. It supports: - "View", "AngMap" and "Equirectangular" types of mapping. - Different types of texture blending (according to BI world render). - Same color blending as when it lacked textures (but render via glsl). {F207734} {F207735} Example: {F275180} Original author: @valentin_b4w Regards, Alexander (Blend4Web Team). Reviewers: sergey, valentin_b4w, brecht, merwin Reviewed By: merwin Subscribers: campbellbarton, merwin, blueprintrandom, youle, a.romanov, yurikovelenov, AlexKowel, Evgeny_Rodygin Projects: #rendering, #opengl_gfx, #bf_blender:_next Differential Revision: https://developer.blender.org/D1414