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
2020-03-12Fix boundary edges detection ignoring Face Set visibilityPablo Dobarro
If one of the faces connected to a vertex is hidden in the face sets, we can assume that the vertex is part of a boundary edge, so it should be cosidered like that in all automasking and edge detection functions. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D7126
2020-03-12Fix flood fill operation not taking into account hidden verticesPablo Dobarro
The idea of the visibility system is that tools should behave like hidden vertices do not exist, so the flood fill operation should ignore hidden vertices for all operators. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D7125
2020-03-12Use golden ratio conjugate for Face Sets hue generationPablo Dobarro
The face set ID is sequential, so implementing this was straightforward. Suggested by Jeroen Bakker Reviewed By: jbakker Differential Revision: https://developer.blender.org/D7123
2020-03-12Fix Face Set operators not modifying sigle poly Face SetsPablo Dobarro
The face_set_set function which sets a face sets given a vertex index can ignore all modifications to hidden face sets, so we can skip all vertex visibility checks outside that function. This makes the code faster, simpler and fixes multiple bugs. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D7122
2020-03-12Fix T74646: Pick a random face set to be rendered white when randomizing the ↵Pablo Dobarro
colors The previous solution was also working fine as the white face set has no meaning, but now it is a little bit more random. Also, bigger face sets have more chance of getting the white color. Reviewed By: jbakker Maniphest Tasks: T74646 Differential Revision: https://developer.blender.org/D7111
2020-03-12Fix T74648: Do not relax with 0 neighbors or no vertex normalPablo Dobarro
The mesh provided in the report has 0 area faces and overlapping vertices, causing the relax code to fail when calculating the plane to constraint the vertex movement. Now it works fine both in the brush and in the mesh filter. Reviewed By: jbakker Maniphest Tasks: T74648 Differential Revision: https://developer.blender.org/D7109
2020-03-12Fix mesh shrinking when using the relax mesh filter.Pablo Dobarro
If the relax mesh filter was used on a non manifold mesh with open boundaries, all the vertices were relaxed and the mesh was shrinking. This was an unintended behavior that was making the filter unusable with these meshes. The mesh filter is now initializing an automasking buffer using the same boundary automasking function from the brush code. Now edges are preserved and the relax filter works as it should. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D7097
2020-03-12Fix memory leak in recent Cycles image texture refactorBrecht Van Lommel
2020-03-12GPencil: Move Vertex Paint mode to topbarAntonio Vazquez
It's more easy to find in the topbar
2020-03-12GPencil: Fix color management in Vertex Paint toolsAntonio Vazquez
The brush is using sRGB and need to be Linear
2020-03-12Fix T73049: Drag & drop on overlapping panels behaves incorrectlyJacques Lucke
Reviewers: brecht, Severin Differential Revision: https://developer.blender.org/D7024
2020-03-12Fix T74670: crash during copy paste of objects.Bastien Montagne
Embedded data should always be considered as outside of Main database here. Note that it's a bit of an edge case to decide whether those should always have their `LIB_TAG_NOMAIN` set too, or not? For now, let's keep things as they are here.
2020-03-12Expose 'is embedded data' ID flag to RNA.Bastien Montagne
Relevant currently for root node trees and master collections.
2020-03-12Fix T66505: Dope Sheet shows empty Grease Pencil/Annotation layersSybren A. Stüvel
The behaviour of GP layers is the same as annotation layers: they show in the dope sheet regardless of whether they have frames or not. This is easily resolved by adding some extra filtering.
2020-03-12Cleanup: simplified Grease Pencil animdata filterSybren A. Stüvel
Part of the function was following an "if-ok: do-this" pattern, and then mid-function switched to a "if-bad: skip" pattern. The function now just uses the latter. No functional changes.
2020-03-12Cleanup: add device_texture for images, distinct from other global memoryBrecht Van Lommel
There was too much image texture specific stuff in device_memory, and too much code duplication between devices.
2020-03-12Fix build error with recent OpenImageIO versionsBrecht Van Lommel
2020-03-12EEVEE: Update Preview file with new lightcacheClément Foucault
2020-03-12GPencil: Fix unreliable comparisonAntonio Vazquez
2020-03-12Fix T73228: UI shows settings of wrong marker when movie clip is offsetJacques Lucke
2020-03-12Fix T73212: Gizmo's are still interactive when behind nodesCampbell Barton
2020-03-12Cleanup: move gizmo handling into a functionCampbell Barton
2020-03-12Fix T71961: Soft body behavior is incorrect when CTRL + F12 animation is ↵Sebastian Parborg
rendered. The softbody modifier was missing the transform depsgraph relation and thus the object matrix would not get updated during animation render.
2020-03-12Cleanup: remove unused node tree user counting functionsJacques Lucke
2020-03-12Bug report preset update (last worked version)Dalai Felinto
I updated the "Worked" field in the online form but forgot to do it for the oeprator from within Blender.
2020-03-12Fix T74605 Key Indicator for motion paths not updating for objectsSybren A. Stüvel
This fixes a functional change in 4db2a08281f8495421938e0b2f6a802420afba36, which was marked as 'should have non-functional changes only'.
2020-03-12GPencil: Change Build modifier UI layout for Influence FiltersAntonio Vazquez
The layer filter was not following the standard layout
2020-03-12Fix T74659: Seaching for operator crashes BlenderAntonio Vazquez
The poll function was not checking the paint pointer.
2020-03-12DrawManager: Pack Draw State BitsJeroen Bakker
Some draw state bits are mutual exclusive. This patch will free some draw state bits by packing the mutual exclusive bits in a mask. Reviewed By: fclem Differential Revision: https://developer.blender.org/D7088
2020-03-12Fix T74392: HDRI preview spheres appear in render passes and reflectionsJeroen Bakker
Do not render HDRI Previews when a renderpass is active Reviewed By: fclem Differential Revision: https://developer.blender.org/D7005
2020-03-12Fix move-3D gizmo in use 2D spacesCampbell Barton
This fixes node corner-pin and sun-beam gizmo's cursor offsets.
2020-03-12Cleanup: text view APICampbell Barton
- Use typed enum for line_data callback. - Pass in 'const' arguments where possible. - Use 'r_' prefix for return arguments. - Remove unused return value from line_get callback. - Remove redundant casts.
2020-03-12Ocean: add new spectra modes to the ocean modifierPhil Stopford
This extends the ocean modifier to add new spectra (Pierson-Moskowitz, Jonswap, TMA). These models are very different to the Phillips spectrum. They are intended for more established, large area, oceans and/or shallow water situations.
2020-03-12Cleanup: spelling, clang-formatCampbell Barton
2020-03-12Cleanup: use term suppress instead of repressCampbell Barton
Also check MSVC instead of WIN32, for setting MSVC flags.
2020-03-12EEVEE: Bump minimum probe level to make rough reflection more preciseClément Foucault
2020-03-12EEVEE: Hair: Fix wrong color when using color attribute without actual dataClément Foucault
2020-03-11Windows: Clean-up warnings originating from bulletRay Molenkamp
Bullet currently generates the majority of the warnings on windows all of them are silly. This patch disables all warns from bullet for now. We should revisit this if/when we update bullet to a newer version. Reviewed By: sergey brecht Differential Revision: https://developer.blender.org/D7118
2020-03-11Windows: Cleanup warning about non returning dtorRay Molenkamp
`google::LogMessageFatal::~LogMessageFatal` calls `abort` which MSVC correctly identifies as 'not returning' and warns about a potential memory leak. Given this is intended behaviour and glog is not overly concerned with shutting down the process nicely, we can safely ignore this warning.
2020-03-11Fix T73626: crash scrubbing timeline with Cycles viewport and smoke/fireBrecht Van Lommel
2020-03-11Cleanup: refactor image loading to use abstract ImageLoader base classBrecht Van Lommel
Rather than passing around void pointers, various Blender image sources now subclass this. OIIO is also just another type of image loader. Also fixes T67718: Cycles viewport render crash editing point density settings
2020-03-11Cleanup: add ImageHandle to centralize image ownership logicBrecht Van Lommel
2020-03-11Cycles: add internal default volume shader, to be used for new volume objectBrecht Van Lommel
This is mostly straightforward, but required some refactoring to ensure that the default volume material does not always turn on the volume feature for GPU rendering.
2020-03-11Cleanup: remove foreach include from header, conflicts with OpenVDBBrecht Van Lommel
2020-03-11Fix Optix build error on Linux with some compilersBrecht Van Lommel
2020-03-11Cleanup: Fix build warning on windows.Ray Molenkamp
printf is called for a size_t (64 bit on x64) type but the formatter is `%lu` (32 bit) leading to a warning with MSVC. `%zu` is the appropriate formatter.
2020-03-11EEVEE: Fix test crashingClément Foucault
Probe counting now needs to have proper gl capabilities initialised to run correctly.
2020-03-11Cleanup: Fix unused debug var warning.Bastien Montagne
2020-03-11GPencil: Change default hardeness for AirbrushAntonio Vazquez
2020-03-11Depsgraph: Fix crash deleting Viewer image from OutlinerSergey Sharybin
Was happening when having compositor open with Viewer node attached directly to Render Layers output. There were two things involved here: 1. The code which was storing CoW-ed versions of IDs was checking all IDs for whether they are expanded or not. This was causing access of freed memory for deleted IDs which do not need CoW (such as IM). Simple fix: store ID type as a scalar and use early check before doing more elaborate check based on accessing fields of id_cow. 2. The code which was ensuring view layer pointer is doing CoW for scene. This isn't an issue on its own, but scene might have an embedded ID such as compositor which was actually traversed by the ID remap routines. This was causing remapping procedure to go into non-updated copy of compositor, accessing freed Viewer image ID. Solved by not recursing into embedded IDs for datablocks as those are supposed to have own copy-on-write operations which takes care of re-mapping. Reported my Bastien, and also pair-coded with him.