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
2018-03-09Fix T53857: Incorrect framerate for videos imported from OBSSergey Sharybin
This is an issue with which value to trust: fps vs. tbr. They both cam be somewhat broken. Currently the idea is: - If file was saved with FFmpeg AND we are decoding with FFmpeg we trust tbr. - If we are decoding with Libav we use fps (there does not seem to be tbr in Libav, unless i'm missing something). - All other cases we use fps. Seems to work all good for files from T53857, T54148 and T51153. Ideally we would need to collect some amount of regression files to make further tweaks more scientific. Reviewers: mont29 Reviewed By: mont29 Differential Revision: https://developer.blender.org/D3083
2018-03-08Cleanup: Rename view3d context set functionCampbell Barton
Use common prefix so adding related functions share the prefix.
2018-03-08Cleanup: use edit/active objects from view contextCampbell Barton
Needed to implement multiple edit-objects.
2018-03-08Cleanup: set the view-context onceCampbell Barton
2018-03-08Cleanup: Use BKE_ prefix for all public functions exposed by the NLA moduleJoshua Leung
2018-03-08T54233: NLA "Push Down" discards Blend Mode, Extrapolation, and InfluenceJoshua Leung
Each AnimData block has a set of Blend/Extrapolation/Influence settings that can be used to control how the active action is blended with the NLA stack. However, these settings were not getting copied over to the newly created strips (as the push-down code existed long before these settings were added). This commit solves this in several ways: * Active Action Blend/Extrapolation/Influence settings now get copied to the new strips when adding them to the NLA stack via Push Down. Note: This doesn't happen when there are no existing NLA tracks, as these settings don't get used in that case. * Strip Influence will be copied across when inf < 1.0 (i.e. when a non-default value is used), to maintain the effect. To make this work, the influence value will get added as a keyframe to the strip's "Influence" Control FCurve. - See code comments for an alternative approach and why that was not chosen - Strip Time still doesn't get keyframes added automatically yet. * To ensure the "extrapolation mode" settings don't get always overwritten, I've put in place a compromise: the extrapolation will only get changed if the chosen setting will cause problmes (i.e. hold forward & back -> hold forward if there are other tracks before it already). Not safe for backporting to 2.79[x] stable releases.
2018-03-08Fix crash if NLA strip with "Use Animated Influence" setting is enabled ↵Joshua Leung
without the Influence Strip F-Curve existing
2018-03-08Cleanup: Fix invalid name prefixJoshua Leung
2018-03-08Fix T54206: bevel and inset operations repeat did not remember offset.Brecht Van Lommel
Now repeating the operator will use the previously chosen offset, either with the modal operator or typed in. The modal operator will still start at zero.
2018-03-07EditMesh: pass object data to notifiersCampbell Barton
Both were being passed in different parts of the code, use object data for consistency.
2018-03-07Cleanup: edit-mode undo APICampbell Barton
Move function descriptions into the struct, minor improvements to variable naming, use convention of 'g_' prefix for static vars.
2018-03-06Cleanup: unused varCampbell Barton
2018-03-06Utility to enter sculpt modeCampbell Barton
2018-03-06Fix T54234, add BLENDER_VERSION_CHAR to .plistArto Kitula
2018-03-06Fix T53206: Array modifier doesn't merge vgroupsCampbell Barton
Vertex group remapping utility function, now shared between object join and array modifier cap-ends. Weights which don't exist are removed. D3092 by @Foaly
2018-03-05Sequencer: Expose read-only FPS property for movie-type stripsSergey Sharybin
Main purpose is to make it possible to cover FPS detection with regression test. But it might also be handy for some other scripters. Thanks Campbell for review!
2018-03-05Fix T54204: Wrong selection on Clean Tracks (Motion Tracking)Sergey Sharybin
A mistake in a fix for T53612. Regression in 2.79a, candidate for 2.79b :S
2018-03-05Fix T54225: Blur node stopped working when Map Range was fed with imageSergey Sharybin
The issue was happening with fast Gaussian blur, and caused by NaN value pixels in the input buffer. Now made it so Map Range output does not produce NaN, by returning arbitrary value of 0. Still better than NaN!
2018-03-05Cleanup: left wrong comment inCampbell Barton
2018-03-05Fix T53478, T53430: Sequencer cut edge case failsCampbell Barton
Previous fix for T53430 caused T54200. The edge case for soft & hard cuts weren't working, where the strip used start/end-still & the frame was placed exactly on the start/end of of the sequence content. T54200 fixed the end-still case but broke hard-cuts for all other cases. This fixes the case for soft/hard cuts with/without start/end-still.
2018-03-05Revert "Fix T53430: Cut at the strip end fails w/ endstill"Campbell Barton
This reverts commit 855799ecc1c5e53d9fbfe520fd5402bc0138f674. Caused T54200
2018-03-03Fix T54211: OpenGL debug error message in texture draw mode.Brecht Van Lommel
Quite harmless and won't be a problem in 2.8.
2018-03-02Depsgraph: Fix dependency cycle when ID prop drives ID propertySergey Sharybin
Introduced explicit ID property node for driers in depsgraph, so it is clear what is the input for driver, and what is the output. This also solved relations builder throwing lots of errors due to ID property not being found.
2018-03-02Depsgraph: Silence obviously noisy relations build errorsSergey Sharybin
Those were happening for drivers which points to invalid drivers, and those drivers will have their own dedicated error prints.
2018-03-02Depsgraph: Cleanup, use dedicated function to ensure node existsSergey Sharybin
2018-03-02Depsgraph: Cleanup, function return valueSergey Sharybin
Driver build result was never used, so no reason to return operation.
2018-03-02Depsgraph: Fix cycle detector to handle closed loopsSergey Sharybin
It was possible to have relations like A -> B -> C -> A (import thing is that no other operations points into this cluster) which were not detected or reported by dependency cycle solver. Now this is solved by ensuring we don't leave unvisited nodes behind.
2018-03-02Cleanup: Avoid double semi-colonSergey Sharybin
2018-03-02Maintain scaling ratio of non-free axes in Maintain Volume T48079 fix.Alexander Gavrilov
This is probably a better way to handle it: instead of totally discarding scaling of non-free axes, keep the ratio between them. Basically the logic of the constraint is now that it rescales the object uniformly in the non-free axis plane in order to force the total volume change to the desired value.
2018-03-02Object Mode: move logic to 'object_modes.c'Campbell Barton
Was mixed with edit-mode, centralize mode switching in a single file. No functional changes.
2018-03-02FCurve: only calculate single axis lengthCampbell Barton
Was calculating all 3
2018-03-02Fix building w/o PythonCampbell Barton
Also minor cleanup.
2018-03-01Discard non-free axis scaling in Maintain Volume to improve 2.79 compat.Alexander Gavrilov
It seems the reason the old version of the constraint overcompensates as reported in T48079 is to allow the constraint to work with uniform scaling on all axes. However the way it did that actually _requires_ uniform scaling for the constraint to work correctly, and breaks if only the free scaling axis is used to avoid redundant channels. This version attempts to allow both by discarding scaling in the non- free directions instead of applying the correction on top of it.
2018-03-01Refactor: Merge non-functional-change part of 'edit normals' 2017 GSoC.Bastien Montagne
This merges changes in internals, runtime-only of existing custom normals code, which make sense as of themselves, and will make diff of soc branch easier/lighter to review. In the details, it mostly changes two things: * Now, smooth fans (aka MLoopNorSpaceArray) can store either loop indices, or pointers to BMLoop themselves. This makes sense since in BMesh, it's relatively easy to get index from a BMElement, but nearly impracticable to go the other way around. * First change enforces another, now we cannot rely anymore on `loops` being NULL in MLoopNorSpace to detect single-loop fans, so we instead store that info in a new flag. Again, these are expected to be totally non-functional changes.
2018-03-01GPU_select: remove unused finalize functionCampbell Barton
Changed 2.8x code so this is no longer needed.
2018-02-28Cycles: change principled BSDF default distribution and SSS.Brecht Van Lommel
* Use a subsurface color equal to the base color, and give the subsurface radius skin like values by default. This is how the parameter should typically be used. * Use GGX by default, multiscatter GGX is still quite noisy and has some fireflies so let's keep it optional for now.
2018-02-28Fix T52685, part II: Add option to strip numbers from flipped bone names again.Bastien Montagne
While doing so with Bone_R.001, Bone_R.003, Bone_R.003 etc. is doomed to issues, doing that on duplicates of actually correctly named bones can be handy, and safe. So adding back as an option (was removed in rB702bc5ba26d5).
2018-02-28Fix T52685: Flip names for bones its not working.Bastien Montagne
Flip names operator changed in rB702bc5ba26d5, to some sensible behavior. But this breaks common workflow of 'duplicate part of the bones, scale-mirror new ones, and flip their names'. So now, instead of doing this in two steps, trying to guesstimate which bones should get which name, just add option to flip names to duplicate operator itself. Simpler, safer, and much, much more consitent behavior and predictable results.
2018-02-28Radial control: Skip operator properties from being savedSergey Sharybin
This solves issue with tweaking brush size when interleaving particle edit and texture paint modes. The issue was caused by texture paing setting more operator properties then it's done for particle edit mode, which made window manager to use saved proeprties for the "missing" ones. Don't see any reason why we would want to save any of those properties. This is a regression since rB83b60dac57a1.
2018-02-28Collada: Make EvaluationContext const as its only used for reading hereGaia Clary
2018-02-28collada: call from operator to Collada exporter/importer now uses structures ↵Gaia Clary
instead of passing many parameters
2018-02-28Collada: Moved structure definitions for export settings to the ↵Gaia Clary
exportSettings.h Also make typedefs for import/export structures.
2018-02-28De-duplicate tool settings copy and make tool settings freeing reusableSergey Sharybin
2018-02-28Null pointer check exiting sculpt modeCampbell Barton
Needed for 2.8x, harmless here.
2018-02-28Code cleanup: fix a few compiler warnings.Brecht Van Lommel
2018-02-28Cleanup: comment for depth picking code, const argsCampbell Barton
Note that setting `glDepthFunc` isn't important, since 2.8 branch changes this value it might seem like an error however it's harmless in this case - so better make note of this.
2018-02-28Cleanup: use 'uint' for GPU_selectCampbell Barton
2018-02-27Collada: Remove obsolete codeGaia Clary
2018-02-27fix: Collada Matrixdata Importer tried to fix rotations where nothing was to ↵Gaia Clary
fix. The matrixdata import is now only doing a matrix decompose and then pplies the decomposed values to 3 trans-, 3 scale- and 4 rot-curves)
2018-02-27Collada: removed unnecessary dup[licate matrix conversion in matrix data ↵Gaia Clary
exporter