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
path: root/source
AgeCommit message (Collapse)Author
2020-03-24Fix T74872: Clipping Region not updatingPhilipp Oeser
Caused by rBc476c36e4008. This hooks into the existing FIXME (workaround for a missing update tagging), needs to also check the clip_state (to detect changes in DRW_STATE_CLIP_PLANES). Maniphest Tasks: T74872 Differential Revision: https://developer.blender.org/D7193
2020-03-24Fix T74957: Matcap flip not updatingPhilipp Oeser
Caused by rBc476c36e4008. This hooks into the existing FIXME (workaround for a missing update tagging from operators), needs to also check the shading.flag (to detect changes in V3D_SHADING_MATCAP_FLIP_X). Differential Revision: https://developer.blender.org/D7192
2020-03-24Fix T74096: Paint Masking overlay can`t be hiddenPhilipp Oeser
Caused by rB9516921c05bd. Dont really see a reason to draw overlays here if overlays are disabled. Looks like this only affects Face/Vertex mask selection drawing [which should indeed be hidden when overlays are disabled] next to two exceptions: - OVERLAY_paint_vertex_cache_populate draws weights as well [D7176 / T70807 might be related here, but to me it looks like drawing weights here is actually not needed at all] - OVERLAY_paint_texture_cache_populate calls DRW_cache_mesh_surface_texpaint_get [not sure about this one, this is also called from workbench_cache_texpaint_populate, looks like this is not needed when overlays are hidden] Maniphest Tasks: T74096 Differential Revision: https://developer.blender.org/D7179
2020-03-24RNA: expose comparison tolerance for Mesh.unit_test_compareHabib Gahbiche
2020-03-24Fix T75036: Assert when copying pose bonesCampbell Barton
2020-03-24Fix solidify complex degenerate cases with duplicate facesHenrik Dick
The removal of duplicate faces that are created during the handling of degenerate cases was implemented already but didn't work. This patch should fix some crashes with the solidify complex mode related to that. See D7221 for details.
2020-03-24UI: add Blender -> System menuCampbell Barton
Include technical operators here so they're available when using menu-search.
2020-03-24UI: add menu search functionality to operator search menuCampbell Barton
This has some advantages over operator search: - Some operators need options set to be usefully accessed. - Shows key bindings to access menus (for actions that don't have key bindings themselves). - Non operator actions such as check-boxes are also shown. - Menu items can control execution context, using invoke or execute where appropriate so we can control how the operator runs. Part of the design task T74157. This can be tested using the 'Experimental' preferences section or selected in the key-map editor.
2020-03-24Cleanup: clang-formatCampbell Barton
2020-03-24Cleanup: spellingCampbell Barton
2020-03-24Fix invalid comma useCampbell Barton
2020-03-24Fluid: Enforce minimum thickness to planar flow / effector objectsSebastián Barschkis
Planar object now have a thickness by default. This should make it more intuitive for users as there is no need to specify an object thickness.
2020-03-24Fix T73505 EEVEE: Group output node sockets default value not workingClément Foucault
This just cleanup the code and apply the expand to group output nodes.
2020-03-23Fix possible endless loop in Auto Merge & SplitGermano Cavalcante
2020-03-23Revert "COW: Edit Mesh: Do not copy the looptris pointer"Germano Cavalcante
The looptri is repeated in the linked Meshes but the pointer is only referenced in the evaluated ones. This reverts commit 64982e213f014123d1b0406cf9ae893910a6a3d3.
2020-03-23Fix T74984: Crash opening specific production filesSergey Sharybin
More detailed symptoms: there was no curve cache created for an object which was used by draw manager. A bit tricky situation, which involves collection instances and their proxies. The root of the problem in the dependency graph was that instanced collections visibility was not updated when object is requested with different visibility. So what was happening is that one of the objects was pulled as an indirect dependency of something invisible, so it built instanced collections as if the instancer is invisible. After that the same object was built as visible. Before this fix this was only update object flags, the instanced collections still believed they are invisible. Since there is no path via relations which would connect visible object with instanced objects the visibility flush which is happening during graph finalization did not "fix" the visibility flags. This change makes it so instanced collections are updating their visibility when their instancer's visibility is changing to truth. This is similar to how collections will accumulate their visibility when same collection is used from multiple ones with different visibility. However, this alone wasn't enough to get crash fixed. This marked collections as visible, but the geometry component of the curve object was still considering self as invisible. This is something tricky, since the code which is responsible for this issue was added as an optimization in afb4da6650d. This looks like like an oversight in that commit since it's rather weird that ID node's flag would depend on construction order (in "normal" object builder the ID node's directly_visible flag is initialized to object's visibility). So it seems logical to get this part of code in sync between "regular" and "accumulative" object builder. And last but not least the naming is_directly_visible is old and does not really represent what it actually mans now: a more correct name would be "will be used by the draw manager". Differential Revision: https://developer.blender.org/D7217
2020-03-23Fix T74782: WorkBench TAA Artifacts During Painting/DrawingJeroen Bakker
When the TAA is finished the screen can still be redrawn by other operations without the TAA needs to be reset. If that happened the TAA did add a blank sample to the result. This patch will add an early exit in the case TAA was finished. Note that there are still some cases still not working. The overlay engine can in certain circumstances draw directly into the default_fb what can lead to render artifacts.
2020-03-23Bump subversion for previous theme additionsJulian Eisel
2020-03-23UI: Theme options for checkerboard pattern colors and sizeMichael Soluyanov
This patch adds ability to set up colors and size of background (transparency) checkerboard pattern in viewport and 2d editors. No new backgrounds, only changing colors in existing ones. This is not the background of the viewport, it is a transparency checkerboard that is turned on only in render mode, when the transparency mode is on. And also in 2D-editors, (image, sequencer, etc). Reviewed By: Pablo Vazquez, Julian Eisel Differential Revision: https://developer.blender.org/D6791
2020-03-23Change solidify's material offset in complex mode to conform with simple modeHenrik Dick
this patch will change the behaviour of the material offset in complex mode to fit simple mode output. Previously in complex mode this would offset the material of the enire shell, because when you read the tooltip it says material for new generated geometry. In complex mode everything is new generated geometry though. In simple mode on the other hand, this would give you a way to only change the inside faces material. There may be cases in large modifier stacks where material offset like it is implemented currently in complex mode may be useful, but it is much more useful in the way it is implemented by simple mode. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D7215
2020-03-23Fix T74195: Solidify Complex Dissolve Crash.Henrik Dick
I also added a few more comments to the code as I gone along. Maniphest Tasks: T74195 Differential Revision: https://developer.blender.org/D7214
2020-03-23Depsgraph: Driver Relations, skip finding possible relation with one driverSybren A. Stüvel
The `build_driver_relations()` function in the depsgraph relations builder adds relations between drivers that potentially write to the same memory location. This of course is only useful when there are two or more drivers.
2020-03-23Fix T73593: Drivers on hide_viewport and hide_render are unreliableSybren A. Stüvel
My previous fix (rB4c30dc343165) worked, except for an off-by-one error.
2020-03-23Fix T74923: Weight Painting Overlay Invisible for In Front ObjectsJeroen Bakker
For In Front Objects we need to use the in front depth buffer. This patch will use the in front depth buffer and also makes sure that it is filled with the center pixel depth. Reviewed By: fclem Differential Revision: https://developer.blender.org/D7216
2020-03-23Fix T74586: Image Editor Uses Invalid Display ChannelsJeroen Bakker
When using the image editor the display channels attribute can become invalid when selecting another image/buffer. This patch will check what display channels are valid and when an invalid channel is selected it will fall back to the color channel. To de-duplicate the code it also introduces a `ED_space_image_get_display_channel_mask` function that will determine the valid bitflags for the display channel of a given `ImBuf`.
2020-03-23COW: Edit Mesh: Do not copy the looptris pointerGermano Cavalcante
No functional changes. Differential Revision: https://developer.blender.org/D7173
2020-03-23Sound: Fix asymmetrical mutex lock/unlock logicSergey Sharybin
Started to happen after recent fix for T72632. Was caused by runtime fields backup doing an early exit in the case the given ID was never expanded by the Copy-on-Write mechanism, but it was not done int the backup restore function (since it was not possible to know "locally"). Now both init() and restore() will do an early exit when the ID had nothing to be backed up.
2020-03-23Fix T72632: Blender crashes using Jack with AV Sync enabled (repeatable)Jörg Müller
2020-03-23Fix T74964: Stereo Viewport Rendering Not WorkingJeroen Bakker
On some platforms the stereo viewport rendering was not working. The issue was that the fragment shader and vertex shaded didn't match. Some platforms will remove the non-matching in/out parameters and blender needs to provide only the optimal set of parameters. Other platform still want to receive data for the parameters that aren't used. This fix uses the correct vertex shader that matches the fragment shader making both platforms render the same result.
2020-03-22Fix T73988: Mantaflow fluid simulation - Particles for Spray, Foam and ↵Sebastián Barschkis
Bubbles are one frame ahead of Mesh Fixes an issue with secondary particles being out of sync with the main simulation. Cleaned up the secondary particle code in general too (making sure that all solver attributes - timestep, framelength, etc. - are set correctly).
2020-03-22Cleanup: spelling, correct Mesh.mface docsCampbell Barton
2020-03-22Cleanup: use static declarationCampbell Barton
2020-03-21GPencil: Fade to Viewport colorAntonio Vazquez
Actually, the fade objects always fade to Black color, but this is not a good solution. This patch fade the object to the viewport color. Differential Revision: https://developer.blender.org/D7206
2020-03-21Fix T67712: cryptomatte sockets created in wrong order in some casesBrecht Van Lommel
Simplify the logic and always create node outputs in the order specified by the render engine, I can't see a reason why built-in passes must be first.
2020-03-21Fix crash with empty volume object and points drawingBrecht Van Lommel
2020-03-21Cleanup: compiler warningsBrecht Van Lommel
2020-03-21GPencil: New Hardeness mode for Opacity modifierAntonio Vazquez
Add new option to change the stroke hardeness. This option works at stroke level, not at point level. Also replaced the "Both" name mode by "Stroke and Fill". Differential Revision: https://developer.blender.org/D7195
2020-03-20GPencil: Fix unreported slow transform with proportional editionAntonio Vazquez
Now a hash is used to avoid double update of the same stroke. The old method was not correct with proportional edition.
2020-03-20Python API: add bl_use_stereo_viewport for RenderEngineBrecht Van Lommel
To indicate if the render engine supports rendering a stereo 3D viewport. This is not currently supported for Cycles. Fixes T62582
2020-03-20Fix T74649: Outliner: Cannot set/clear parent with 'Keep Transforms'Philipp Oeser
Parenting in the outliner via drang and drop would always happen without the 'Keep Transforms' option. Since this is often desired, this adds the ability to hold Alt for doing this to the drop action. Adding the hint to hold Alt to the operator name is not nice, but since the operator name is used for the UI, there doesnt seem to be a nicer way of doing this. If modifier keys are needed back for other actions, spawning a menu instead could be an alternative for the future. Maniphest Tasks: T74649 Differential Revision: https://developer.blender.org/D7120
2020-03-20Multires: Fix assert when removing modifier in edit modeSergey Sharybin
It is not guaranteed that with Multires modifier existing there will be CD_MDISPS and CD_GRID_PAINT_MASK custom data layers. Fixes assert in the following scenario: - With default cube, go to edit mode - Add Multires modifier - Remove the Multires modifier
2020-03-20Cleanup: Use IDTypeInfo data for `id_swap` functions.Bastien Montagne
Part of T74960.
2020-03-20Cleanup: Move `BKE_libblock_get_alloc_info` to using IDTypeInfo.Bastien Montagne
Part of T74960.
2020-03-20Fix T74154: Mantaflow crash: Baking data for domain type fluid on a plane.Sebastián Barschkis
Added sanity check to prevent bakes from being triggered when there is no fluid object present.
2020-03-20Fix T74885: Stamped lens metadata is wrong when camera lens is animatedSybren A. Stüvel
The Lens metadata stamped on rendered images was wrong when the camera lens is animated. This was caused by the render pipeline passing the original camera to the metadata system, and not the evaluated camera.
2020-03-20Fix T74811: GreasePencil Stereo RenderingJeroen Bakker
When using grease pencil in a stereo rendering the grease pencil objects are only visible in the left eye. In the viewport it renders both. Issue is related that `DRW_render_gpencil` only renders a single view. But `DRW_render_to_image` renders all views. This patch puts this in a loop to render both eyes. Reviewed By: fclem Differential Revision: https://developer.blender.org/D7154
2020-03-20Fix T74643: Outline Overlay Shows Hidden FacesJeroen Bakker
When in editmode faces can be hidden, but in object mode these faces are still visible. The flag if a face was hidden in edit mode is stored in object mode, but should not be used. The edge detection gpu batch did detect hidden faces and didn't add them to the draw batch. The edge detection gpu batch is used for workbench shadows, custom bone shapes and object outlines. This patch adds all faces to the edge detection batch. Reviewed By: fclem Differential Revision: https://developer.blender.org/D7157
2020-03-20Cleanup: clang-format, comment indentationCampbell Barton
2020-03-20Cleanup: sort file, struct listsCampbell Barton
2020-03-20Cleanup: remove old header conventions recently re-introducedCampbell Barton