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-03-08Fix T62095: OpenGL render camera image alignmentCampbell Barton
2019-03-07Fix T62316: Grease Pencil objects display in front of the grid linesAntonioya
The fix was move the grease pencil engine before overlays This also fix the origin not visible bug T62100 There is a limitation of this fix, but we cannot fix both problems. If you have object behind a transparent graese pencil objects, this objects will not be visible. Thanks @fclem for his advices to fix this bug.
2019-03-07Sculpt; Fix memory leak on redraw normals updateSergey Sharybin
2019-03-07Fix T62271: Particles with multires crash on sculptSergey Sharybin
In fact, any modifier on top of multires would lead to crash. Was missing pointer update. Basically, bring the control flow closer to 2.7.
2019-03-07Fix T62066: Seg Fault Baking Light Cache with "--background" FlagClément Foucault
2019-03-07Fix T59877: EEVEE: Object Info node random value does not work with DuplisClément Foucault
2019-03-07DRW: Fix hair OSX workaround having a cap limitClément Foucault
This is still is a dirty workaround. Note that we are drawing the whole sets of point multiple times. While this is ineficient, the main bottleneck is CPU transformation.
2019-03-07DRW: show image empty frame when the 'side' is hiddenCampbell Barton
This behavior matches back-face culled mesh objects, where the wire outline doesn't depend on the viewing angle. Applying this before empty visibility check for view framing, since it's strange if viewing all gives different results depending on back-face culling.
2019-03-06GPencil: Fix unreported segment fault drawing with dotsAntonioya
2019-03-06GPencil: Improve quality to stroke encaps for textured materialsAntonioya
Before, the caps were not generated for texture materials, now, the endcaps are generated and adapt the texture.
2019-03-06Fix stereoscopy convergence plane placementDalai Felinto
Note this was broken even in 2.7x. We had a different logic for the plane wire, as for the plane itself. And they were both wrong when changing the camera shift or the stereo pivot. Both of their logic is now unified and correct. Also I had to create a new gpu batch for the quad wires, since there is no state that allows me to filter out the geometry, and the square gpu batch is quite different than the quad one (2d x 3d and orientation).
2019-03-06Fix stereo plane pass and stateDalai Felinto
This was introduced on the MSAA fix for transparent passes (61039bf71376).
2019-03-06Fix T62220: Solid shading mode - Shadow glitchClément Foucault
The degenerate triangle threshold was too big. Making it an equal test can introduce problems in other cases but I could not make it fail.
2019-03-06Fix T62262: Light "Show Cone" & stereoscopy volumes broken by MSAAClément Foucault
Volume itself was working, but buggy. The issue was that transparent shapes does not write to depth buffer. But the custom MSAA resolve shader discard pixels that did not write to depth making them transparent. Transparent passes should not be inside the MSAA passes, this is also a matter of performance.
2019-03-06Viewport: Fix stereoscopy volume "wires" not showingDalai Felinto
This is unreported. When using volume opacity 0.0, the wires were not visible (nor were they in other cases, but this was the most obvious one). The volume itself is still glitchy, and slightly worse than 2.79. I still don't know how to fix this though. It seems a common problem (see T62262).
2019-03-06Fix T62118: Stereo drawing options visible from camera viewDalai Felinto
Note 1: Volume drawing still draws differently than 2.7x. Note 2: Camera lens widget still ignores stereo.
2019-03-06DRW: Fix State tracking being off when calling GPU_framebuffer_clearClément Foucault
State tracking works in pretty much all cases but calling the clear command does change the write mask outside the draw manager. For now we just reset the write mask before each pass. Fix T62203 The selected bone is not highlighted inside the other bone.
2019-03-06Cleanup: styleCampbell Barton
2019-03-06Cleanup: Use GPU_depth_test instead of glEnable/glDisableClément Foucault
2019-03-06DRW: Fix GL state issues due to state not being reset after drawingClément Foucault
Callbacks were drawing with the wrong blend equation and that made some tools drawing fail.
2019-03-05Fix T61778: Crash when adding material slot to objectClément Foucault
For some reason the mat_nr can be superior to the number of material slots present on an object. Just cap this number to the max available slot.
2019-03-05DRW: Fix rasterizer discard messing with clear commandsClément Foucault
Fixes T62179 Viewport Ghosting on rigs
2019-03-05DRW: use memiter for on screen text allocationCampbell Barton
Avoid allocation for each string, improves redraw speed for text heavy views. A contrived test showed FPS ~18.5% speedup but this doesn't represent typical usage.
2019-03-05DRW: support clipping for bone vertsCampbell Barton
2019-03-05GPencil: Cleanup compiler warningsAntonioya
2019-03-05Fix T62194: Blender crash after makingnew file after using Grease Pencil.Antonioya
The crash was detected in draw_manager, but the real problem was a wrong pointer that corrupted the struct, so the free function failed. Redesign this area to keep pointer correct all the time.
2019-03-05GPencil: Don't create framebuffers for selectionAntonioya
The selction use it's own frambuffers.
2019-03-05Cleanup: rename RENDER_OVERRIDE -> HIDE_OVERLAYSCampbell Barton
Match the UI naming (changed since 2.7x).
2019-03-04GPencil: Fix error in 3D Location modeAntonioya
In previous commit introduced this bug. The flag was inverted and the mode was not working.
2019-03-04Preferences: Add option to disable edit-mode wire AntialiasingClément Foucault
Requested by some users who prefer old wireframe precision. Smooth wires are still enabled by defaults as they don't have a noticeable perf impact. Application restart is needed for changes to take effects.
2019-03-04Fix T59140 : Loose edges of final mesh does not display in edit modeClément Foucault
2019-03-04GPencil: Move Object Depth Order to ObjectAntonioya
There was a conflict between Object "In Front" and how the strokes were managed in Stroke panel for grease pencil datablock. In order to keep consistency, the order of the object has been moved to Object level and now it's using the standard "In Front" flag. As all it is 3D, the option "Back" has been removed. This also fixes the problem with task T62137. Also related to commit 54ffc4e19dc4 and D4405
2019-03-04Fix/workaround T62167: Random crash when displaying wireframes.mano-wii
Some old AMD drivers crash when a vbo with stride 1 is used a few times. I have not found a real solution to this problem. So the solution was to use a vbo with stride 4 (which in theory is less efficient and takes up more memory space).
2019-03-04Cleanup: indentation, styleCampbell Barton
2019-03-04DRW: Remove unecessary state changesClément Foucault
The TODO is old and the issue does not seems to appear anymore. If bugs emerge from this commit it's most likely to be a bad usage of the API.
2019-03-04DRW: Fix matflag not being updated after first drawcallClément Foucault
This Fixes T61823: Flickering material problem with eevee
2019-03-03Improve slightly the stability of wireframes in old GPUs from AMD.mano-wii
Tested on `AMD Radeon HD 7570M`. The reason for crash reduction is still unknown.
2019-03-02GPencil: Set alpha to 1 for all materials in SOLID modeAntonioya
To be consistent, the alpha must be set to 1 when solid mode is enabled.
2019-03-02GPencil: Fix Display Textures in Solid modeAntonioya
There was a bug when selected Solid mode with Material or Texture mode. The textures were not visible. Now, the mode is passed to shaders to decide if use the solid color or the result texture color. The mode is passed using an array with shading type and mode.
2019-03-02Cleanup: unused variableCampbell Barton
2019-03-01GPencil: Change display modesAntonioya
-Wireframe use Background color for X-Ray off - Added support to Solid mode. - Solid mode shows fill or not depending X-Ray. - Solid can use Single, Material, etc. - Wireframe and Solid mode don't show FXs.
2019-03-01Fix unreported: Glitches on the wireframe of curves.mano-wii
2019-03-01Fix T62047 New wireframes missing fresnel effectClément Foucault
Add back some (subtle) fresnel effect on object wireframe. Dupli/set object still remains flat and need more work.
2019-03-01Fix crash with wireframe on highpoly curves on some AMD gpus.mano-wii
Differential Revision: https://developer.blender.org/D4433
2019-03-01Hair Particle: Fix issue on OSX due to hardware accelerated subdivisionClément Foucault
Workaround to tranform feedback not working on mac. On some system it crashes (see T58489) and on some other it outputs garbage (see T60171). So instead of using transform feedback we render to a texture, readback the result to system memory and reupload as VBO data. It is really not ideal performance wise, but it is the simplest and the most local workaround that still uses the power of the GPU. This should fix T59426, T60171 and T58489.
2019-02-28GPencil: Cleanup styleAntonioya
2019-02-28GPencil: Rename variable name and add alpha to outlineAntonioya
The outline now has some alpha to be more consistent with other Blender areas.
2019-02-28GPencil: Disable Outline if Overlay is disabledAntonioya
The main overlay switch and outline option must be checked.
2019-02-28GPencil: Remove comment line added by error to header textAntonioya
This line was added accidentally in the header text.
2019-02-28GPencil: Increase outline to 2 pixelsAntonioya
The selection outline of 1 pixel was too thin.