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-01-30Fix changing shape key in multi-object edit modeCampbell Barton
Updating only accounted for the active object.
2020-01-30Fix T65146: Curve Texture Coordinates in Cycles and Eevee differClément Foucault
Remove the use UV for mapping option.
2020-01-29Fluid: Updated UISebastián Barschkis
UI updates include: - More descriptive tool tips - Removed texture panel for liquid flow objects - Adjusted alignment for some smoke / fire parameters
2020-01-29Fluid: Removed wireframe drawtype setter for fluid domainsSebastián Barschkis
Fluid domains with (auto-generated) particle systems were set to wireframe drawtype automatically. This was a convenience feature that made particles visible immediately. As the auto switching is sometimes a bit annoying though this has been removed. Instead, the Quick Liquid Operator switches the viewport shading type to wireframe.
2020-01-29Fix T73188: RenderResult as Camera BG ImageJeroen Bakker
In blender 2.79 you could use a render result as a camera background image. This is useful during layout/compositing. During Blender 2.80 development there were 2 issues introduced that removed this feature. * to receive a render result the image required a lock. This lock wasn't passed and therefore no image was read from the result. Generating an GPUTexture from an Blender image also didn't do the locking. * the iuser->scene field wasn't set what is required for render results. This change adds an optional `ibuf` parameter to `GPU_texture_from_blender` that can be passed when available. Reviewed By: fclem, brecht Differential Revision: https://developer.blender.org/D6684
2020-01-28Fix T54422 FluidSim: ColorRamp set position does not update the viewportClément Foucault
This was a missing notification because of wrong type. Also remove the id tag as the changes are still picked up by workbench and does not affect geometry or the particle system directly.
2020-01-24Sculpt: Rename Topology Brush to Slide Relax BrushPablo Dobarro
The full name was "Topology Slide/Relax", but it didn't fit in the toolbar UI. This was causing some problems: - The mesh filter that does the same thing is called "Relax" - We may want to add a "Topology Brush" tool in the future that is more oriented to retopology task (like creating strips of quads), so by doing this we avoid having two tools with the same name in the UI. Reviewed By: billreynish Differential Revision: https://developer.blender.org/D6590
2020-01-24Fix T73336: Several issues (including crashes) with ID pointer IDProps and RNA.Bastien Montagne
`RNA_property_pointer_set()` was just broken when assigning to an ID pointer IDProp, on both debug/checks and actual assignment. That was at least affecting RNA copying and liboverrides area...
2020-01-23CMake: Refactor external dependencies handlingSergey Sharybin
This is a more correct fix to the issue Brecht was fixing in D6600. While the fix in that patch worked fine for linking it broke ASAN runtime under some circumstances. For example, `make full debug developer` would compile, but trying to start blender will cause assert failure in ASAN (related on check that ASAN is not running already). Top-level idea: leave it to CMake to keep track of dependency graph. The root of the issue comes to the fact that target like "blender" is configured to use a lot of static libraries coming from Blender sources and to use external static libraries. There is nothing which ensures order between blender's and external libraries. Only order of blender libraries is guaranteed. It was possible that due to a cycle or other circumstances some of blender libraries would have been passed to linker after libraries it uses, causing linker errors. For example, this order will likely fail: libbf_blenfont.a libfreetype6.a libbf_blenfont.a This change makes it so blender libraries are explicitly provided their dependencies to an external libraries, which allows CMake to ensure they are always linked against them. General rule here: if bf_foo depends on an external library it is to be provided to LIBS for bf_foo. For example, if bf_blenkernel depends on opensubdiv then LIBS in blenkernel's CMakeLists.txt is to include OPENSUBDIB_LIBRARIES. The change is made based on searching for used include folders such as OPENSUBDIV_INCLUDE_DIRS and adding corresponding libraries to LIBS ion that CMakeLists.txt. Transitive dependencies are not simplified by this approach, but I am not aware of any downside of this: CMake should be smart enough to simplify them on its side. And even if not, this shouldn't affect linking time. Benefit of not relying on transitive dependencies is that build system is more robust towards future changes. For example, if bf_intern_opensubiv is no longer depends on OPENSUBDIV_LIBRARIES and all such code is moved to bf_blenkernel this will not break linking. The not-so-trivial part is change to blender_add_lib (and its version in Cycles). The complexity is caused by libraries being provided as a single list argument which doesn't allow to use different release and debug libraries on Windows. The idea is: - Have every library prefixed as "optimized" or "debug" if separation is needed (non-prefixed libraries will be considered "generic"). - Loop through libraries passed to function and do simple parsing which will look for "optimized" and "debug" words and specify following library to corresponding category. This isn't something particularly great. Alternative would be to use target_link_libraries() directly, which sounds like more code but which is more explicit and allows to have more flexibility and control comparing to wrapper approach. Tested the following configurations on Linux, macOS and Windows: - make full debug developer - make full release developer - make lite debug developer - make lite release developer NOTE: Linux libraries needs to be compiled with D6641 applied, otherwise, depending on configuration, it's possible to run into duplicated zlib symbols error. Differential Revision: https://developer.blender.org/D6642
2020-01-21Fix T72619: Fix/implement support of particle modifiers in liboverride.Bastien Montagne
Some modifiers (like particle system, but also some other physics simulations) require extra steps besides creating the modifier itself, so had to switch to higher-level `ED_object_modifier_add()` to add inserted modifiers in an overriding object data-block. Due to how particle modifier handles copying, some extra nasty hacks/work-around were also needed to get it working.
2020-01-21Fix T73297: Incorrect lock properties tooltipCampbell Barton
2020-01-21Fix T70891: Motion Path - Changing endframe clamps startframe to 1Sybren A. Stüvel
There were two strange things going on: - Start frame was clamped to 1, even when frame 0 is always a valid number. This also ignored the 'Allow Negative Frames' user preference. - Start frame was only clamped when setting the end frame, so first setting the end frame and then the start frame would result in a different result than doing it in the opposite order. This commit fixes both issues by: - Clamping the lower bound of the start frame only if negative frames are not allowed, and - apply that clamp both when setting the start and the end frame.
2020-01-20Fixed secondary particle combined export functionalitySebastián Barschkis
The combined export was using the old flag format.
2020-01-20Fluid: Improved cache file loadingSebastián Barschkis
Cache file loading for mesh and particle files now works through the direct update_structures functions. The final cache mode now also only bakes the most essential files and is therefore not resumable anymore.
2020-01-16Cleanup: Clarification of the `Particle.uv_on_emitter()` function docsSybren A. Stüvel
Just some rewording of the documentation of `Particle.uv_on_emitter()`, so that it no longer refers to 'derived mesh' but 'evaluated mesh', and document that it expects a modifier from an evaluated object. No functional changes.
2020-01-16Fix T73121: Blender crashes on accessing particle uv_on_emitterSybren A. Stüvel
Blender wasn't checking whether the passed modifier actually contained an evaluated mesh, before accessing the mesh pointer.
2020-01-16Cleanup: unused warningsCampbell Barton
2020-01-16Fix T73133: UDIM texture count in Eevee is limited by OpenGLLukas Stockner
Based on @fclem's suggestion in D6421, this commit implements support for storing all tiles of a UDIM texture in a single 2D array texture on the GPU. Previously, Eevee was binding one OpenGL texture per tile, quickly running into hardware limits with nontrivial UDIM texture sets. Workbench meanwhile had no UDIM support at all, as reusing the per-tile approach would require splitting the mesh by tile as well as texture. With this commit, both Workbench as well as Eevee now support huge numbers of tiles, with the eventual limits being GPU memory and ultimately GL_MAX_ARRAY_TEXTURE_LAYERS, which tends to be in the 1000s on modern GPUs. Initially my plan was to have one array texture per unique size, but managing the different textures and keeping everything consistent ended up being way too complex. Therefore, we now use a simpler version that allocates a texture that is large enough to fit the largest tile and then packs all tiles into as many layers as necessary. As a result, each UDIM texture only binds two textures (one for the actual images, one for metadata) regardless of how many tiles are used. Note that this rolls back per-tile GPUTextures, meaning that we again have per-Image GPUTextures like we did before the original UDIM commit, but now with four instead of two types. Reviewed By: fclem Differential Revision: https://developer.blender.org/D6456
2020-01-15Fix T72970: [Mantaflow] When changing the domain settings, the current frame ↵Sebastián Barschkis
of the scene is set to 1
2020-01-15Fluid: Fix T72971Sebastián Barschkis
Incorporated suggestions from the task discussion
2020-01-15WM: support keys F20-F24Asher
This was already supported by GHOST on X11, WIN32. macOS goes up to F20.
2020-01-08Revert recent change to the particles RNA, and only affect the UI.William Reynish
Even though the name change is more correct, we don't want to change the API at this time.
2020-01-07Sculpt: Pose Brush with Inverse KinematicsPablo Dobarro
This commits introduces the pose_ik_segments brush property in the Pose Brush. When increasing the IK segments count, the brush generates more segments and weights associations following the topology of the mesh. When moving the brush, these segments are transformed using an IK solver and they are used to deform the mesh. When pressing Ctrl, the brush controls the segments' roll rotation instead of using the IK solver. The brush falloff controls how much rotation is propagated from the first to the last segment in the chain. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D6389
2020-01-06Fix T70821: Hair Radius Is Actually Hair DiameterWilliam Reynish
Renamed hair tip and root properties to be called diameter rather than radius. The old name was incorrect.
2020-01-06USD Exporter: removed from experimental featuresSybren A. Stüvel
There were two reasons the USD Exporter was listed as experimental: - Originally there was no deduplication of mesh normals & UV coordinates (resolved in rBf5e00f735106b5ec635806a4c795a2bc46ae8369), and - the way materials were exported was incompatible with instancing with USD 19.07. This seems to be resolved with the current version of USD (19.11). Blender (more specifically, `makesdna`) doesn't seem to like empty DNA structs, so I couldn't remove all properties from `UserDef_Experimental`. Instead I have just kept `char _pad0[8]`. Reviewed by: campbellbarton Differential Revision: https://developer.blender.org/D6519
2020-01-03Tool System: enable fallback tool by defaultCampbell Barton
This defaults to selection when not using a gizmo. The previous behavior to drag anywhere can be set in the tool settings or by selecting the fallback tool (Alt-W). See: T66304
2020-01-03Tool System: store the fallback tool for re-useCampbell Barton
The fallback tool was run-time only data, now it's stored in the blend file.
2020-01-02Transform: Pose: Partial support for Auto IK + X-Mirrormano-wii
Fix T69572 TODO: support `Relative-Mirror` as well. Maniphest Tasks: T69572 Differential Revision: https://developer.blender.org/D5862
2019-12-30Cleanup: clang-formatLukas Stockner
2019-12-30Sculpt: Add color alpha controls to the brush cursorPablo Dobarro
Previously the alpha was hardcoded to 0.7. Now it is possible to control the cursor alpha by changing the alpha color of the cursor color property. New alpha default is 0.9. This, with the new saturated colors, should make the cursor more visible on highdpi screens. I also removed the cache location preview as it is too visible right now with the new alpha and color values. Reviewed By: billreynish Differential Revision: https://developer.blender.org/D6433
2019-12-30Fix T72747: Increase minimum voxel size in the voxel remesherPablo Dobarro
This was causing an ArithmeticError in OpenVDB with a voxel size that small. Another solution could be scaling both the mesh and the OpenVDB grid with opposite values to support a larger range of voxel sizes, but I would like to have a better solution to the voxel remesher compatibility with small objects. Reviewed By: JacquesLucke Maniphest Tasks: T72747 Differential Revision: https://developer.blender.org/D6498
2019-12-27UI: Remove leftover look dev (rename to HDRI preview)Aaron Carlisle
In Blender 2.81 Look Dev was renamed to Material Preview also the old look dev HDRIs could also be used in both cycles and eevee. A more generic name was need.
2019-12-24Action Constraint: introduce a mix mode setting.Alexander Gavrilov
Currently the action channels are applied after the existing transformation, as if the action controlled a child of the bone. This is not very natural, but more importantly, the transform tools are not designed to work conveniently with an additional 'pseudo-child' transformation, resulting in effects like an unexpected pivot location. Implementing a Before mode that integrates the action channels as if applied to a parent allows using the special transform tool code intended for dealing with such constraints. Note that in either mode, Action constraints should be added in reverse order, putting a new constraint before the existing ones that the Action was keyframed to work together. In order to implement the option, extract a utility from the Copy Transform constraint code for combining transforms with special anti-shear scale handling that matches the Aligned Inherit Scale mode. The Before mode also requires switching the constraint to the Local owner space, while the After mode can still use the World space for efficiency as before. Since the constraint doesn't have an Owner space option in the UI, this has to be handled in an RNA setter. For full backward compatibility, the original simple matrix multiplication mode is preserved as the third option, but it is not recommended due to creating shear. Differential Revision: https://developer.blender.org/D6297
2019-12-24Docs: clarify wire-frame tool-tipCampbell Barton
2019-12-24Fix T72578: overwrite not animatable in 2.8xCampbell Barton
This was disabled as part of b66ae8259e015 which disabled animation for display mode and other cases where it doesn't make sense. However it's useful to be able to overwrite frame ranges, adding this back.
2019-12-20Fix T71817: Preferences tagged dirty by 'Enabled Add-ons Only'Campbell Barton
2019-12-19Cleanup: use 'context' to make panels show in their sectionCampbell Barton
All panels were calling poll to draw in their section causing a lot of repeated boiler plate poll functions. Also rename 'PreferencePanel' to 'CenterAlignMixIn' since this is it's purpose.
2019-12-18Workbench: Force Vertex Colors in Paint ModeJeroen Bakker
Vertex colors behaved differently as the paint overlay mixed the colors in display mode and the results was multiplied on top of the original shading. This patch will align the implementation to texture painting where the colors are drawn by the workbench engine so the correct shading is applied. This also means that we don't show the vertex colors overlay when not in solid mode. Reviewed By: fclem Differential Revision: https://developer.blender.org/D6436
2019-12-18Cleanup: use ELEM macroCampbell Barton
2019-12-17Fluid: Fix that maps old smoke and fluid modifiers to new manta modifierSebastián Barschkis
2019-12-17Fluid: Fix particle settings typeSebastián Barschkis
2019-12-17Cleanup: spellingCampbell Barton
2019-12-17Cleanup: RNA namingCampbell Barton
- Use abbreviations min/max this is used throughout the existing API. - Rename use_adaptive_stepping to use_adaptive_timesteps since this is used with timesteps_min/max it's clearer to use matching terms.
2019-12-17Cleanup: rename effec -> effectorCampbell Barton
Effector is already used elsewhere for this purpose.
2019-12-17Cleanup: renaming guiding -> guideCampbell Barton
The term guide makes sense on it's own in this context.
2019-12-17Cleanup: replace verbose checks with read-only attributesCampbell Barton
These attributes checked for any baked / baking since this is a common test that was performed in layout code. Also follow our naming convention - using an 'is_/has_' prefix in this case since "cache_baked_data" reads as if it's used to access the baked data.
2019-12-17Cleanup: naming for BKE_fluid particle functionsCampbell Barton
Create/Destroy are more commonly paired terms in BLI/BKE API's.
2019-12-17Cleanup: sort struct declarationsCampbell Barton
2019-12-17Cleanup: sort file listsCampbell Barton
2019-12-17Cleanup: use BKE_fluid prefix for fluid APICampbell Barton