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-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-22CMake: Make language explicit for per-file strict flags removalSergey Sharybin
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
2018-06-17Cleanup: trailing space for blenkernelCampbell Barton
2018-06-17Cleanup: BLI path extension APICampbell Barton
Use BLI_path_extension_* prefix.
2018-06-16Fix T55427: Removing Vertex Group used by Data Transfer Modifier results in ↵Bastien Montagne
crash. Only fixing crash, proper handling (a.k.a remapping) of all possible cases here, for all possible data layers, is rather involved...
2018-06-15Cycles: change Ambient Occlusion shader to output colors.Lukas Stockner
This means the shader can now be used for procedural texturing. New settings on the node are Samples, Inside, Local Only and Distance. Original patch by Lukas with further changes by Brecht. Differential Revision: https://developer.blender.org/D3479
2018-06-15Cleanup: some more G.main removal/validation...Bastien Montagne
2018-06-15WM: 2.8 screen compatibilityCampbell Barton
Without these minor changes loading files from 2.8 will crash. Manually applied edits from 26786a2b87a08
2018-06-13Fix undo of transform after frame change undoing too much.Brecht Van Lommel
For grouped undo we should not skip the undo push, rather replace the previous undo push. This way undo goes back to the state after the last operation in the group.
2018-06-13Cleanup: get rid of last G.main in BMesh code.Bastien Montagne
2018-06-13Cleanup: moar ugly G.main removal...Bastien Montagne
Note that due to RNA get/setters issue, that one may actually add some G.main usages to the total... But at least it's not hidden anymore in a very low-level, dark corner of BKE pointcache code!
2018-06-13Cleanup: remove more G.main from BKE area.Bastien Montagne
2018-06-12Cleanup: moar G.main removal from BKE area.Bastien Montagne
2018-06-12Cleanup: BKE_scene_free should not have to worry about cleaning its usages.Bastien Montagne
This is supposed to be handled by calling code! Henceforce, no need to call BKE_sequencer_clear_scene_in_allseqs() here, and... no need for that ugly G.main case. ;)
2018-06-12WM: remove sloppy region type accessCampbell Barton
Avoid accidentally operating on the wrong region type.
2018-06-12WM: rename BKE_regiontype_from_idCampbell Barton
This returns the first as a fallback, causing confusing usage. Renamed and added a version of the function that doesn't.