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
2019-04-21Cleanup: comments (mainly long lines)Campbell Barton
Comments after code can cause awkward line breaks.
2019-04-20Cleanup: add missing macros to clang-formatCampbell Barton
2019-04-20NLA: check that properties are animatable.Alexander Gavrilov
2019-04-20Cleanup: quiet extra-semicolon warningCampbell Barton
2019-04-19CMake: fix building without smoke enabledCampbell Barton
Was removed when removing sorted libs however it's needed for stubs.
2019-04-19UI: move top-bar into the spaces headerCampbell Barton
Currently this is only in the 3D viewport however all spaces that use the tool-system will have this region added. D4680 by @brecht with own updates.
2019-04-18Armature: remove remains of the object-level deformation data cache.Alexander Gavrilov
Now that B-Bone shape data is kept in bPoseChannel_Runtime, the armature level cache only holds one quaternion value per bone. It can also be moved to runtime, and the structure removed. This has an additional effect that, as far as I can tell, now the Armature modifier can run as soon as all of the bones it actually needs are done, thus making T59848 a purely depsgraph level problem.
2019-04-18Fix T63332: backup and restore bPoseChannel_Runtime data during COW.Alexander Gavrilov
2019-04-18Images: support packing edited images as OpenEXR or PNG.Brecht Van Lommel
This way float and multilayer images can now be packed without data loss. This removes the as_png option and always uses the appropriate file format depending on the image contents.
2019-04-18Cleanup: deduplicate single/multiview image packing code.Brecht Van Lommel
2019-04-18Cleanup: move image saving code to blenkernel.Brecht Van Lommel
2019-04-18Cleanup: deduplicate image user initialization, make consistent.Brecht Van Lommel
2019-04-18Cleanup: add trailing commas to avoid right shiftCampbell Barton
2019-04-18Cleanup: comment blocksCampbell Barton
2019-04-17Animation: Refactor storage usage during fcurve modifier evaluationJacques Lucke
Previously, when a fcurve modifier used storage, many heap allocations were done. This caused major slowdowns as described in T63656. Furthermore, the storage usage was a special case only used by the Cycles modifier. This refactor makes storage usage the "normal" case. That reduces the overall complexity. The storage is stack allocated now. The framerate on the provided test scene went up from ~5 fps to ~16 fps. Reviewers: angavrilov Differential Revision: https://developer.blender.org/D4701
2019-04-17Cleanup: Silence compiler warning with release buildsSergey Sharybin
2019-04-17ClangFormat: re-run (#if 0 caused noise)Campbell Barton
2019-04-17ClangFormat: format '#if 0' codeCampbell Barton
Previous cleanups didn't account for space after '#'.
2019-04-17ClangFormat: format '#if 0' code in source/Campbell Barton
2019-04-17ClangFormat: apply to source, most of internCampbell Barton
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
2019-04-17ClangFormat: disable for most of sobol.cppCampbell Barton
2019-04-16Cleanup: avoid adjacent C-style commentsCampbell Barton
Causes clang-format to give different results on a second run.
2019-04-16Spline IK: support changing individual bone length via Y scaling.Alexander Gavrilov
Previously Spline IK provided only two choices: either scale the length of the bone chain to fit the length of the curve, or don't scale the bone in the Y dimension at all (ignoring effects of actually fitting to the curve due to curvature and curve object scale). This patch adds a new option to use the pre-IK Y scale of the bones to adjust their length when fitted to the curve, allowing individual posing control over the length of the segments. Reviewers: brecht Differential Revision: https://developer.blender.org/D4687
2019-04-16ClangFormat: add comments to ignore formattingCampbell Barton
2019-04-16ClangFormat: add comments to ignore formattingCampbell Barton
2019-04-16Cleanup: trailing commasCampbell Barton
2019-04-16Fix T63204: Toggle collection visibility with shiftDalai Felinto
Shift was always turning the collection visible. It now toggles, similar to what we had in 2.79.
2019-04-16Cleanup: commentCampbell Barton
2019-04-16Fix T63642: Light Probe object.data defined as UNKNOWNCampbell Barton
2019-04-16Cleanup: move motion paths into editors/animationCampbell Barton
Having this in blenkernel caused bad level calls to bf_editors_anim, causing tests that use 'blenkernel' to require almost all libraries. (complicating gtest linking & causing large binaries).
2019-04-16CMake: cleanup, arg rename, add definitions lastCampbell Barton
2019-04-16Fix T62913: datablock append removing unrelated rigid body objects.Brecht Van Lommel
2019-04-16Fix proxy remapping on make local failing for more than one object.Brecht Van Lommel
2019-04-15Spline IK: fix continuity issues with influence and curve end rolloff.Alexander Gavrilov
Mainly, scaling needs to be continuously faded out in these cases. Plus, in the case of end roll-off, it seems better to integrate into this general fading system, instead of ad-hoc interpolation of tail.
2019-04-15GPencil: New Dots gradientAntonioya
This commit adds support for drawing Dots strokes with a gradient factor to get artistic effects like watercolor. Currently, the option is only supported by Dots materials, and in the future will be added to line strokes, but now there is a limitation on drawing engine and we will keep disabled on Line materials. Also, added the option to align Dots and Boxes strokes textures aligned with the drawing path to get more fluid strokes.
2019-04-14Fix copy & paste mistake in assert.Alexander Gavrilov
2019-04-14Depsgraph: fix hard CTD on dependency cycles through POSE_INIT.Alexander Gavrilov
As reported in T63582, it can cause chan_array to be not ready. To reliably avoid crashing, the only easy way seems to be to create the index during COW -- maybe @sergey has a better idea.
2019-04-14Fix T63599: fix the zero ease hack for the B-Bone end matrix.Alexander Gavrilov
Negate the second derivative, because it's effectively stepping back.
2019-04-14Fix T59622: dependency problems with Spline IK.Alexander Gavrilov
The bug is caused by problems in the dependency graph. Unfortunately, fixing is not just a matter of fixing the graph, because correct dependencies would cause a cycle here and in other reasonable use cases. The real fix thus requires refactoring Spline IK to require curve data only in the actual evaluation phase, and not in POSE_INIT_IK. In addition, this separates the normal bone evaluation loop from Spline IK computations for two reasons: - That still needs to be done even if spline IK can't evaluate due to missing curve data. - It should reduce issues with induced shearing, as Spline IK now controls how parent-child relations are handled in the chain, and can take care to only carry over rotation and location.
2019-04-14Fix T61981: Local With Parent broken as constraint own space.Alexander Gavrilov
Specifically, matrix multiplication order in Local With Parent to Pose space conversion was wrong, compared with Pose to LWP.
2019-04-14Gizmo: individual toggles for 3D view gizmosCampbell Barton
The popover for displaying gizmos now has options for empty, light & camera gizmos. Transform toggles are now checkboxes, which has the advantage that it's more obvious they can be mixed however changing from one to another now uses 3x clicks instead of a single click-drag action. We might need a faster way to switch between transform types.
2019-04-14Cleanup: doxy commentsCampbell Barton
Use doxy references to function and enums, also correct some names which became out of sync.
2019-04-13Gizmo: move transform to a persistent optionCampbell Barton
Based on feedback from animators, this is useful to keep as a view option (as in 2.7x). Now the transform gizmos can be enabled from the popover, the tools still work for location/scale/rotation. The transform tool has been removed. See T63518
2019-04-13Fix T62048: crash when turning off curve path animation with Spline IK.Alexander Gavrilov
Both fix missing depsgraph flag, and gracefully give up on missing data.
2019-04-13Fix T37500: implement Bendy bone segment deformation interpolation.Alexander Gavrilov
Previously B-Bone deformation mapped every vertex to just one B-Bone segment. This results in abrupt transformation differences between the sides of each threshold plane, reducing the quality of B-Bone deformation and making the use of shape keys impractical. This commit replaces this approach with a linear blend between the two closest segment transformations, effectively representing the B-Bone as two weight-blended plain bones for each vertex. In order to distribute the interpolation more evenly along the bone, segment matrices for deformation are now computed at points between the segments and at the ends of the B-Bone. The computation also uses the true tangents of the Bezier curve for the orientation. The nodes at the end of the bone require some special handling to deal with zero-length Bezier handles caused by a zero ease value. The Copy Transforms constraint now also smoothly interpolates rotation and scaling along the bone shape when enabled. The initial version of the patch was submitted by @Sam200. Differential Revision: https://developer.blender.org/D4635
2019-04-11Fix (unreported) potential infinite loop over collections' parents pointers.Bastien Montagne
It is crucial to properly tag as loopback that kind of pointers, otherwise some users of libquery's foreach_ID might end up in infinite loops.
2019-04-11Cleanup: remove unused codeCampbell Barton
This variable was never used.
2019-04-10Fix T62449: Subsurf+hidden facesJeroen Bakker
When using subsurf (and other modifiers) the edit flags are not propagated correctly. Currently we assume to read the edit flags from the original object which is kind off hinding the real issue. Modifiers use `mesh_new_nomain_from_template_ex` to create a copy from an existing mesh. this method is only used by modifiers. So by placing this we will make sure that editmesh is propagated. Reviewed By: fclem, sergey Maniphest Tasks: T62449 Differential Revision: https://developer.blender.org/D4666
2019-04-10Fix T63441: Cycles applies modifiers twiceSergey Sharybin
Was a mistake in df26f28835f, which caused access uninitialized variable.
2019-04-09Fix T63427: Annotations don'twork with 2.79 settingsAntonioya
The problem was the colors were not converted and the annotation flag was not enabled. Note: For Scene data (View3D) there is a convert operator.