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-12Cleanup: spelling, clang-formatCampbell Barton
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-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: 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.
2020-03-11Windows: Clean-up linker warnings regarding MSVCRT.libRay Molenkamp
For debug builds we link the against the release mode libs for C based libraries, which are technically linked against a different CRT, which the linker will implicitly try to link. Which results in a linker warning about mixing the debug/release CRT. This patch prevents the implicit linking of the release CRT in debug configurations for sub projects that had issues with it.
2020-03-11Cleanup: Typo in comments.Bastien Montagne
2020-03-11LibQuery: Add option to NOT process embedded IDs.Bastien Montagne
Request from depsgraph department, which does basically consider those embedded IDs as any other data-block (unlike any BKE ID management code).
2020-03-11EEVEE: Replace octahedron reflection probe by cubemap arrayClément Foucault
We implement cubemap array support for EEVEE's lightcache reflection probes. This removes stretched texels and bottom hemisphere seams artifacts caused by the octahedral projection previously used. This introduce versioning code for the lightcache which will discard any lightcache version that is not compatible. Differential Revision: https://developer.blender.org/D7066
2020-03-11Workbench Simplification RefactorClément Foucault
This patch is (almost) a complete rewrite of workbench engine. The features remain unchanged but the code quality is greatly improved. Hair shading is brighter but also more correct. This also introduce the concept of `DRWShaderLibrary` to make a simple include system inside the GLSL files. Differential Revision: https://developer.blender.org/D7060
2020-03-11Fix (unreported) bad user refcounting of viewer image ID.Bastien Montagne
This is typical case where you do not want to use actual ID refcounting, but only the shallow 'user real' (aka 'user one') system...
2020-03-11Windows: Clean-up warning while building blendthumbRay Molenkamp
Casting a 64 bit pointer to a 32 bit DWORD gave 2 warnings. Solved by storing the actual DWORD in the registry table. Would have preferred to use a union, but C++ doesn't let you initialize anything other than the first field, and C99 style initializers are not supported until C++20, so this solution will have to do until then.
2020-03-11GPencil: Add missing Layer buttons in Dopesheet header and remove unneeded ↵Antonio Vazquez
options Update Dopesheet header to include missing buttons, remove Scene Active only buttton and also removed duplicated search box. The removed options come from old 2.7x version and they are not required now. Reviewed By: mendio, pepeland Differential Revision: https://developer.blender.org/D7107
2020-03-11Fix T74516: Armature Crash on Select Similar GroupDalai Felinto
Select Similar Group and Select Similar Shape had this issue since they were added. Basically it assumes there is pose data which in some cases it does not.
2020-03-11Eevee: internal support for arbitrary number of volume gridsBrecht Van Lommel
This has no user visible impact yet since smoke volumes only support a fixed set of attributes, but will become important with the new volume object. For GPU shader compilation, volume grids are now handled separately from image textures. They are somewhere between a vertex attribute and an image texture, basically an attribute that is stored as a texture. Differential Revision: https://developer.blender.org/D6952
2020-03-11Cleanup: add comment explaining reason for volume texture swizzlingBrecht Van Lommel
2020-03-11Smoke: put density/color in separate textures, fixes for workbench shaderBrecht Van Lommel
This is more in line with standard grids and means we don't have to make many special exceptions in the upcoming change for arbitrary number of volume grids support in Eevee. The workbench shader was also changed to fix bugs where squared density was used, and the smoke color would affect the density so that black smoke would be invisible. This can change the look of smoke in workbench significantly. When using the color grid when smoke has a constant color, the color grid will no longer be premultiplied by the density. If the color is constant we want to be able not to store a grid at all. This breaks one test for Cycles and Eevee, but the setup in that test using a color without density does not make sense. It suffers from artifacts since the unpremultiplied color grid by itself will not have smooth boundaries. Differential Revision: https://developer.blender.org/D6951
2020-03-11Fix broken logic in lib_query that could lead to NULL id_owner pointer.Bastien Montagne
Issue revealed by own recent cleanup in rB8820ab4, and moticed by @brecht, thanks. Note that am not 100% sure whether we should allow call on lib_query without a proper valid owner_id, for embedded data-blocks. But this can be investifated later, so far things have been working like that.
2020-03-11Fix T74296: Free depsgraph when view layer is removedJacques Lucke
Reviewers: sergey Differential Revision: https://developer.blender.org/D7110
2020-03-11Cloth: Copy point cache settings when copying cloth modifierJacques Lucke
This fixes the issue mentioned in the comment in T74515. Reviewers: mont29 Differential Revision: https://developer.blender.org/D7104
2020-03-11Cleanup: rename 'private' to 'embedded' for sub-data IDs.Bastien Montagne
'Private' can be a rather confusing term, especially when considering its meaning in programming languages. So now root node trees and master collections are 'embedded' IDs instead.
2020-03-11Cleanup in ID remapping code re owner_id vs. self_id.Bastien Montagne
The former is always a real, in-Main data-block, while the later, when different, should be one of those embedded 'private' IDs (like root node ree or master collection).
2020-03-11Cleanup: spellingCampbell Barton
2020-03-11Cycles: add view layer setting to exclude volumes, like hair and surfacesBrecht Van Lommel
2020-03-11Fix T74315: Cloth brush breaks orbit around selectionJacques Lucke
Reviewers: pablodp606 Differential Revision: https://developer.blender.org/D7095
2020-03-11Fix T74607: Modifier key click events ignore mouse wheelCampbell Barton
Alt-Wheel would sent Alt-Click event, prompting to switch tools.
2020-03-11Cleanup: clang-formatCampbell Barton
2020-03-11UI: edit modifier messages to clarify where auto-smooth is setGreg Neumiller
2020-03-11GPU: minor changes to support standalone GHOST buildsCampbell Barton
- Move gpuPush/Pop from GPU_draw.h into GPU_state.h as this is for pushing/popping state. - Add 'GPU_STANDALONE' define, to bypass use of user-preferences for theme colors and pixelsize, as well as pbvh init/free functions. Needed to get GHOST tests working again.
2020-03-10Fix T74596: Gpencil invert button was not working for Sculpt brushesAntonio Vazquez
The button was not checked, only the pen position or the control key.
2020-03-10GPencil: Use high precision float buffer for final renderingClément Foucault
This avoid color drifting due to R11G11B10 buffers.
2020-03-10Fix T74625 GPencil: Airbrush doesn't paint anythingClément Foucault
2020-03-10Fix T74525: Fluid caches overwrite each other by defaultJacques Lucke
Reviewers: sebbas Differential Revision: https://developer.blender.org/D7093
2020-03-10Fix T74200: Alembic import crashes BlenderSybren A. Stüvel
I've added a very minimal mesh validation before the Alembic mesh is actually converted to a Blender mesh. This prevents a specific crash with an example file attached to T74200.
2020-03-10Fix T74617: Gpencil Sculpt Strength brush gets wonky resultsAntonio Vazquez
Changed how the strength is calculñated and reduce the factor to get a smoother result.
2020-03-10Fix rendering artifacts when changing Face Sets visibilityPablo Dobarro
All sculpt operators and brushes need to use ID_RECALC_SHADING even when PBVH rendering is not used.
2020-03-10Cleanup: Clarify places to look for subversion bumpDalai Felinto
2020-03-10Fix T74613: Assign the default face set color in the versioning codePablo Dobarro
A default face set color was not being set in previously saved meshes, so it will always render the default face set with a random color until the colors were recalculated. Bump subversion to 283.8 Reviewed By: dfelinto Maniphest Tasks: T74613 Differential Revision: https://developer.blender.org/D7094
2020-03-10Cleanup: Add comment explaining DPI influence on RNA pixel-propertiesJulian Eisel
Good to be explicit about the fact that we may still use the pixel property sub-type when DPI will be applied. See comments in https://developer.blender.org/D7077.
2020-03-10UI: Clarify 3D View Grid Size TooltipHans Goudey
The 3D view grid size property is a multiplier, not the size of the grid itself. Reviewed By: brecht Differential Revision: https://developer.blender.org/D7085
2020-03-10Fix T65076: Missing EasingType implementation on the DopesheetSybren A. Stüvel
EasingType was implemented rBdaccaa713b6e for the GraphEditor (but never made it to the Dopesheet). If you can select Easing Mode in the DopeSheet, then you should also be able to select the associated Easing Type. Thanks @lichtwerk for the initial implementation. Maniphest Tasks: T65076 Differential Revision: https://developer.blender.org/D6094
2020-03-10Fix T74425: Cannot texture paint an images sequence anymorePhilipp Oeser
Caused by the introduction of UDIM (rBc30d6571bb47). We need to make sure the tiles ImageUser is set up correctly [especially the framenr], otherwise BKE_image_acquire_ibuf() and friends will fail to find the correct ImBuf. Also instead of initializing a minimal BKE_imageuser_default, now use an appropriate ImageUser if avaliable and pass this around (instead of just the tile_number). 2D painting can reuse the Image Editor ImageUser, for 3D painting we still rely on a default ImageUser in most places, but at least set the framenr correctly]. This also fixes crashes when doing image operations such as inverting or resizing on images in a sequence in the Image Editor. This also fixes color sampling (S) from the 3DView going wrong for image sequences (would fallback to OpenGL sampling because an ImBuf could not be found). Maniphest Tasks: T74425 Differential Revision: https://developer.blender.org/D7022
2020-03-10Fix T73369: corner pin & sun-beam nodes gizmos are too bigCampbell Barton
Note that dragging isn't working well, however this was an issue in previous releases.
2020-03-10Fix T74612: file browser thumbnails not showing and using CPU continuouslyBrecht Van Lommel
This started happening after changing filter ID to 64 bit in rB2841b2be3949, however there was a pre-existing error here in the comparison to detect updates to filter flags.
2020-03-10Modifiers: Corrective Smooth modifier, new Scale parameterLucas Veber
When scaling the root bone of a rig to apply a global scale, the corrective smooth modifier results in wrong deformation due to incorrect scaling. The delta calculations are not taking into account any scale value. To fix it, a scale property is added to the modifier, allowing to set manually the scale value for the deltas by simply multiplying the vectors by this value. There is a similar implementation in Maya's Delta Mush deformer. This property can be for example driven by the scale of the root bone of the rig, to dynamically update when the animator scale this bone. Reviewed By: brecht, sybren Differential Revision: https://developer.blender.org/D6622
2020-03-10OVERLAY: Viewport Background Color visible in Material Preview ModeJeroen Bakker
When user used a custom background color, this color was also visible in material preview mode, when the world opacity was less than 1. This patch will draw the theme color as it was used to.