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-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.
2019-02-28GPencil: Hide selecction outline when play animationAntonioya
2019-02-28GPencil: Draw Outline to Active and Selected objectsAntonioya
Now an outline is drawn when the grease pencil is selected.
2019-02-28GPencil: Remove dummy marker for Grease Pencil objectsAntonioya
After adding selecction using strokes, the dummy is not required because it was added as a provisional solution while we implement stroke selection.
2019-02-28GPencil: Add selection support for objects using strokesAntonioya
Now it's possible to select a grease pencil object without using the dummy.
2019-02-28Revert "Objects: Remove Textured from object display type"Clément Foucault
This reverts commit 6a4a984ff731070d0702821fe1e67dea40e593b9.
2019-02-28Objects: Remove Textured from object display typeClément Foucault
As discussed with @billreynish this makes little sense now that we don't have a dedicated textured mode. We don't have a superior texture or shaded mode anymore and we also cannot mix different engines together (workbench with eevee/lookdev). The only feature it removes is the possibility to hide textures for certain object in solid mode.
2019-02-28Fix T58405: viewport drawing issues with display device set to None.Brecht Van Lommel
Disabling color management this way is not very useful, but as long as the option is there it should work correct.
2019-02-28DRW: add back edge highlighting for active face drawingCampbell Barton
Removed in aa7b013bd5d24 for performance reasons, however highlights can't always be seen against specular shading, see: T55456#510873 Instead of having a highlighted inner-edge, use the active edge color.
2019-02-28DRW: use active color for face dotCampbell Barton
Matches active vert/edge modes.
2019-02-28Cleanup: styleCampbell Barton
2019-02-27Armature: Make selection only work on outlines in wireframe modeClément Foucault
This was not working in edit mode and broken in posemode + bounding box display type. This makes possible to select bones inside other bones.
2019-02-27Armature: Remove the Transparent Bone overlay optionClément Foucault
The option is replaced by the Wireframe mode display which (in edit & pose mode) does exactly what transparent bones did.
2019-02-27Armature: Force Transparent bone in wireframe display type/modeClément Foucault
This makes the bones transparent when the object or the viewport display type is Wireframe. This is in order to make things consistent. In object mode all bones are fully transparent to not create more visual noise if the scene is complex. Another small addition is that the Bounding Box draw mode now works as expected on armatures.
2019-02-27GPencil: Fix memory leak issueAntonioya
After a previous commit to use unique identifiers for Ghash key, I had missed to free the memory of the name key. Thanks to Jacques Lucke for detecting the leak.
2019-02-27GP: Use unique names for instance objectsAntonioya
When instance objects linked, the name could not be unique.
2019-02-27GP: Check if Instance loop is neededAntonioya
This reduces the loop time if the scene is not using instances.
2019-02-27GP: Optimize Instances drawing loopAntonioya
2019-02-27DRW: disable wide edges when face-dots are usedCampbell Barton
Users who prefer to use face dot's don't get an advantage from drawing thicker wire. Requested by @ward
2019-02-27Cleanup: file rename lamp -> lightCampbell Barton
2019-02-27Cleanup: rename lamp -> lightCampbell Barton
2019-02-27DNA: rename Lamp -> LightCampbell Barton
- BKE_lamp -> BKE_light - Main.lamp -> light
2019-02-26Fix T61956: Errors when instancing grease pencil objectsAntonioya
The problem was not only for instances, but for particles too, and produced segment fault. For some reason due any internal modification of how duplicated objects are generated, the duplicated object are not available when the draw manager try to use runtime data. Now, before drawing the particle or the instance, the pointers of the duplicated objects are reassigned to the original "real object" to get full access to runtime data.