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-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.
2020-03-11Fix Cycles crash in BVH8 build due to out of bounds memory accessGiovanni Remigi
Differential Revision: https://developer.blender.org/D7114
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-11Cleanup: stop encoding image data type in slot indexBrecht Van Lommel
This is legacy code from when we had a fixed number of textures.
2020-03-11Fix Cycles link error with debug + asan after RTTI changesBrecht Van Lommel
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-11Cycles: disable RTTI only for OSL files, other libraries like OpenVDB need itBrecht Van Lommel
This is a bit weak since it's not entirely clear where the boundary is, but tested to build and pass tests on all platforms.
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/workaround Eevee tests crashing with MantaflowBrecht Van Lommel
Skip light cache baking until T73921 is fixed. This should be fixed properly but being able to run the tests at all is important now.
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-11Fix Cycles incorrect result when compressing some 8 bit log colorspace imagesBrecht Van Lommel
Don't clamp and do premultiply after color space conversion.
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-11UI: show more digits for adaptive sampling noise thresholdBrecht 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 T74635: GPencil RMB-menu brush settings not working in Sculpt and Weight ↵Antonio Vazquez
Paint modes
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-11GHOST: tests now build againCampbell Barton
GLX gears work as expected, multitest_c only creates windows but misses font drawing still.
2020-03-11Cleanup: remove bitmap font drawing ifdef from MultiTest.cCampbell Barton
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