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
2018-09-24Tracking: Use pixel aspect from clipSergey Sharybin
Don't force square pixel, since on a more real pipeline expected delivery is same anamorphic as an input footage.
2018-09-20Cleanup: styleCampbell Barton
2018-09-19Fix possible misuse of `BLI_strncpy`.mano-wii
Same issue as rB39f7c8256d58.
2018-09-19Fix unreported: Undo of texts pasted in the Text Editor misses one character.mano-wii
Caused by commit rB28c34ae7e2d6 Unlike `strncpy`, `BLI_strncpy` ensures the last character is '\0'.
2018-09-19BLI_utildefines: rename pointer conversion macrosCampbell Barton
Terms get/set don't make much sense when casting values. Name macros so the conversion is obvious, use common prefix for easier completion. - GET_INT_FROM_POINTER -> POINTER_AS_INT - SET_INT_IN_POINTER -> POINTER_FROM_INT - GET_UINT_FROM_POINTER -> POINTER_AS_UINT - SET_UINT_IN_POINTER -> POINTER_FROM_UINT
2018-09-08Fix T56720: Lattice: crash on setting points_u/v/w from python.Bastien Montagne
One need to check that there is something to free, before trying to free it...
2018-09-05CCG: Remove number of layers from keySergey Sharybin
The issue there was that number of layers did not include normals, while element size counts bytes used by normals. This sounds very fragile and dangerous to work further. Also, one value can easily be delivered from another, so it is redundancy going on here. Possible difference now is that multires subdivision will copy normals to a higher levels. Shouldn't be big of a problem, since leaving old normals and updating coordinates is not correct either.
2018-09-05Fix T54152: --env-system-scripts fails on win32Ray Molenkamp
2018-09-03ClosthCollision: fully avoid computing BVHTree when we have no collision ↵Bastien Montagne
objects to test against. Followup to rBc6bbe6c5aac29, much more elegant solution to the problem. ;)
2018-09-03Fix (unreported) potentially giant memory leak in Cloth collision solver.Bastien Montagne
Not freeing its BVHTree in case there were no collision objects, could quickly lead to hundreds of MB of memleak!
2018-09-02Cleanup: comment blocksCampbell Barton
2018-08-31Remove CCGDM from PBVHSergey Sharybin
The statement that PBVH needs to keep track of CCGDM is wrong, PBVH itself does not care about CCGDM at all, and it's weird for it to carry on this beast so others can access. Even more, nobody will actually caring about CCGDM itself, all the usages were checking whether there is CCGDM or not. This is as good as simply checking PBVH type. Tested with an original report T53551 and everything is still stable.
2018-08-29Cleanup: indentationCampbell Barton
2018-08-26Cleanup: styleCampbell Barton
2018-08-23Fix T56506: Different behaviour of Bounds Clamp with positive and negative axis.Bastien Montagne
Small typo on minus sign position... ;)
2018-08-20RNA: Spline.calc_length() utility functionCampbell Barton
D1810 by @Matpi w/ edits
2018-08-14Fix object copying not ensuring validity of material arrays.Bastien Montagne
Related to T56363, this is not fixing the root of the bug, but ID copying should always be a good occasion to ensure sanity of our data (and error checking is always better than a crash!).
2018-08-14Cleanup: use braces w/ particle loop macrosCampbell Barton
2018-08-13Cleanup: avoid too close namings, prone to typo mistakes!Bastien Montagne
2018-08-13Fix T56224: Blender2.8 will force a quit when trying to open a scene ↵Bastien Montagne
containing clip track created by blender 2.79. Beautiful example of typo going unoticed and firing back up in totally unexpected place years later. Guess nobody actually duplicated a Clip data-block before! :P Most likely own fault, during refactor of ID copying code.
2018-08-13Fix T56344: Crash when used Twist for Emitter type of Particles System.Bastien Montagne
That effect is NOP with emitter particles anyway...
2018-08-08Fix T55095: Undo crash w/ linked library dataCampbell Barton
2018-08-08Fix T54584: Crash w/ image undoCampbell Barton
Using accumulation undo type (eg painting) as the first undo step, broke code which adds an initial memfile undo.
2018-07-30Use Ctrl Snap to seconds w/ play-head dragCampbell Barton
D3056 by @alourenco
2018-07-24Fix T55958: allow the user to select between spring and spring2.Alexander Gavrilov
The old springs with damping 1.0 operate in a special way that is more similar to plastic deformation than a spring. Some users rely on that, so let the user choose which implementation to use. This also restores full backward compatibility with 2.79. Reviewers: sergof Differential Revision: https://developer.blender.org/D3544
2018-07-23Fix T55668: Volume Keyframe on Cut-ted Metastrip.Bastien Montagne
We actually still had cases of Meta strip duplication resulting in non-unique strip names. Quiet surprising this went unoticed for so long. :( Fixed that bug, and think it was last one (at least, no other case of SEQ_DUPE_UNIQUE_NAME usage should be broken, I think...), and raised subversion and updated doversion to run uniquename check on strips on all previous fileversions. Note: will have to do that again when merging in 2.8...
2018-07-20Cleanup: Move 'WAVEFORM_LOADING' of sounds from flags to tags.Bastien Montagne
This is purely runtime data, so move it to new tags. ;)
2018-07-20Fix T55414: waveforms are reprocessed when undoingBastien Montagne
Add new tag to bSound (runtime flags), and make read code to set a 'no reload waveform' new tag, since it uses a mapping to get existing waveform in undo case...
2018-07-19Resolve the opposite vector ambiguity in Damped Track constraint.Alexander Gavrilov
Damped Track by specification attempts to arrive at the desired direction via the shortest rotation. However with opposite vectors there are infinitely many valid 180 degree rotations. Currently it gives up and does nothing. I think that it would be more reasonable to resolve the ambiguity arbitrarily, so that Damped Track won't have a weird dead zone. To make it more predictable I use a local axis. In addition, the singularity area vicinity has some floating point precision problems that result in significant jitter. This applies workarounds for two causes of instability. Differential Revision: https://developer.blender.org/D3530
2018-07-18Cycles: add Principled Hair BSDF.L. E. Segovia
This is a physically-based, easy-to-use shader for rendering hair and fur, with controls for melanin, roughness and randomization. Based on the paper "A Practical and Controllable Hair and Fur Model for Production Path Tracing". Implemented by Leonardo E. Segovia and Lukas Stockner, part of Google Summer of Code 2018.
2018-07-18Compositor: Cryptomatte compositing node.Stefan Werner
This patch adds a new matte node that implements the Cryptomatte specification. It also incluces a custom eye dropper that works outside of a color picker. Cryptomatte export for the Cycles render engine will be in a separate patch. Reviewers: brecht Reviewed By: brecht Subscribers: brecht Tags: #compositing Differential Revision: https://developer.blender.org/D3531
2018-07-16Fix (IRC-reported) wrong usercount handling of deprecated IPO datablocks.Bastien Montagne
versionning code would unref those twice... Reported by @ßergey on IRC, thanks!
2018-07-16Cleanup: Remove obscure flag which was only used for read in subsurf codeSergey Sharybin
Some sort of rudiment from many years ago, is never set by 2.5x code.
2018-07-16Cleanup: Use const qualifier for UV vertex mapSergey Sharybin
2018-07-16Cleanup: More clear naming in UV vertex/element mappingsSergey Sharybin
Also use unsigned short for loop index within a polygon for UV vertex mapping, which matches UV element mapping.
2018-07-13Cleanup: id-property API useCampbell Barton
Also clarify comments.
2018-07-13Cleanup: right shift argumentsCampbell Barton
2018-07-12Cleanup: remove legacy mesh save supportCampbell Barton
This was used for saving files for Blender 2.6x.
2018-07-11Minor cleanup to logic in BKE's imbuf releasing code.Bastien Montagne
2018-07-10OpenSubdiv: Make more flexible C-API to specify FVar interpolationSergey Sharybin
2018-07-06Empty Object: Center images by defaultCampbell Barton
2018-07-06BKE_addons: utility to remove by nameCampbell Barton
2018-07-02Cleanup: use bool for poll functionsCampbell Barton
2018-07-01RNA: use bool for boolean RNA typesCampbell Barton
We were using int's for bool arguments in BKE, just to avoid having wrapper functions.
2018-06-29Cleanup: trailing newlinesCampbell Barton
2018-06-27Cleanup: styleCampbell Barton
2018-06-22Tweak new BKE_id_is_in_global_main to accept NULL pointer (and consider them ↵Bastien Montagne
as valid).
2018-06-22BKE_library: Add func to check an ID is actually in G_MAIN database.Bastien Montagne
2018-06-20Cleanup: remove some G.main from BKE's node.cBastien Montagne
Validate some cases using G_MAIN instead (I don't think we want to work on any other Main than G.main one when registering/unregistering nodes etc.). And when freeing, all ID not in Main shall now be tagged accordingly, so we *should* not need to do that stupi search over all ntrees in G.main to check wether we have to free it ourself or not!
2018-06-20UI: only show "Edit Translations" when addon usedCampbell Barton