Blender Git Commits

Blender Git "master" branch commits.

Page: 966 / 5574

December 16, 2019, 21:54 (GMT)
Cleanup: replace 'if 0' with 'DEBUG_PRINT' define

Allows enabling debug prints in this file easily,
differentiates it from code which has been disabled for other reasons.

Also remove unused DEBUG_TIME.
December 16, 2019, 21:47 (GMT)
Fix linking errors WITH_MOD_FLUID=OFF
December 16, 2019, 17:54 (GMT)
GPencil: Fix unreported missing onion skin in renders

When the option was enabled, the onion was not render as expected.
December 16, 2019, 15:39 (GMT)
Mantaflow [Part 12]: Updated docs

Updated diff with latest changes from fluid-mantaflow branch

Reviewed By: sergey

Maniphest Tasks: T59995

Differential Revision: https://developer.blender.org/D5620
December 16, 2019, 15:39 (GMT)
Mantaflow [Part 8]: Customization for particle system

The particle system needs some tweaks so that it can be used for particles created in Mantaflow (i.e. to read both FLIP and secondary particles from Mantaflow).

Reviewed By: sergey

Maniphest Tasks: T59995

Differential Revision: https://developer.blender.org/D3857
December 16, 2019, 15:37 (GMT)
Mantaflow [Part 5]: Update other /intern packages

Cycles needs some smaller updates so that the up-res smoke wavelet noise and the liquid mesh speed vector export work correctly.

Reviewed By: mont29

Maniphest Tasks: T59995

Differential Revision: https://developer.blender.org/D3854
December 16, 2019, 15:37 (GMT)
Mantaflow [Part 6]: Updates in /blender/source

A collection of smaller changes that are required in the /blender/source files. A lot of them are also due to variable renaming.

Reviewed By: sergey

Maniphest Tasks: T59995

Differential Revision: https://developer.blender.org/D3855
December 16, 2019, 15:35 (GMT)
Mantaflow [Part 11]: Updated entire smoke.c code

Probably the most significant changes are in smoke.c.

New functionality includes:
- support for adative time steps (substeps)
- write flow objects to grid structure so that Mantaflow can generate levelsets
- no more distinction between FLUID_3D and WTURBULENCE objects. Everthing that communicates with Mantaflow now lives in a FLUID object.

Reviewed By: sergey

Maniphest Tasks: T59995

Differential Revision: https://developer.blender.org/D3861
December 16, 2019, 15:35 (GMT)
Mantaflow [Part 9]: Updated rna smoke code

All new simulation parameters need to be registered in the RNA. Especially for liquids a lot of new ones need to be added.

Reviewed By: sergey

Maniphest Tasks: T59995

Differential Revision: https://developer.blender.org/D3858
December 16, 2019, 15:34 (GMT)
Fix: Missing category in IMAGE_PT_paint_settings_advanced panel

Addresses raised concern in fb74dcc5d69d
December 16, 2019, 15:33 (GMT)
Mantaflow [Part 7]: Added bake configuration

Similarly to physics_fluid.c (in same directory) which handled the baking process for Elbeem, there is now physics_manta.c which handles it for Mantaflow.

There are two types of jobs: one for baking and another for freeing. The generic jobs will be used to bake / free specific parts of the simulation (e.g. bake mesh, free particles, etc.).

The jobs are only being used in the "modular" cache mode where the simulation has to be baked in parts.

Reviewed By: sergey

Maniphest Tasks: T59995

Differential Revision: https://developer.blender.org/D3856
December 16, 2019, 15:32 (GMT)
Mantaflow [Part 4]: Adapted build config

Smaller changes in the build files to reflect the new Mantaflow macro.

Reviewed By: sergey

Maniphest Tasks: T59995

Differential Revision: https://developer.blender.org/D3853
December 16, 2019, 15:31 (GMT)
Mantaflow [Part 10]: Updated fluid modifier settings

All the new fluid simulation parameters need to be added the according structs (i.e. domain settings, flow settings).

Reviewed By: sergey

Maniphest Tasks: T59995

Differential Revision: https://developer.blender.org/D3860
December 16, 2019, 15:30 (GMT)
Mantaflow [Part 3]: Customized UI for Manta fluids

With Mantaflow the current smoke modifier UI will accommodate both smoke and liquids.

In addition, there is now an option for Mantaflow liquids in the quick effects section ("Quick Liquid").

Reviewed By: sergey

Maniphest Tasks: T59995

Differential Revision: https://developer.blender.org/D3852
December 16, 2019, 15:29 (GMT)
Mantaflow [Part 2]: Added fluid wrapper files

Files from /intern/mantaflow handle the communication between core Blender code and Mantaflow itself. It's the bridge to communicate with Mantas Python functions.

Code from /intern/mantaflow/intern/strings/ is pure Manta code and would likely need less attention in the review.

Reviewed By: sergey

Maniphest Tasks: T59995

Differential Revision: https://developer.blender.org/D3851
December 16, 2019, 15:27 (GMT)
Mantaflow [Part 1]: Added preprocessed Mantaflow source files

Includes preprocessed Mantaflow source files for both OpenMP and TBB (if OpenMP is not present, TBB files will be used instead).

These files come directly from the Mantaflow repository. Future updates to the core fluid solver will take place by updating the files.

Reviewed By: sergey, mont29

Maniphest Tasks: T59995

Differential Revision: https://developer.blender.org/D3850
December 16, 2019, 15:09 (GMT)
Fix T72467: Crash when using many (>64) images in a shader

Previously this limit was rather high, but with UDIMs it's fairly easy
to reach this many images. Even though this exceeds the texture limit
on most hardware as far as I can tell, it should at least not crash.

The old code uses a fixed array which overflows eventually, this fix
replaces the array with a GSet.

Reviewed By: fclem

Differential Revision: https://developer.blender.org/D6416
December 16, 2019, 11:53 (GMT)
Fix T72474: UDIM breaks box mapping in Cycles

The ImageTextureNode incorrectly used the tile slot encoding for box-
mapped textures as well. Since box-mapping always generates UVs that
lie in the 1001 tile, there's no need to support tiles here.
December 16, 2019, 11:41 (GMT)
Fix T72440: Dragging & dropping color in the Image Editor crashes

This was caused by a call to paint_2d_bucket_fill that I missed in the
UDIM changes.

Now, this feature does not only not crash, but it even works with tiled
images!
December 16, 2019, 09:44 (GMT)
Fix typo in UDIM operator (always capitalize UI labels)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021