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
2017-12-07Cleanup: extract BKE_colorband from BKE_textureCampbell Barton
2017-12-06Library: Add flag top keep ID library pointer aroundSergey Sharybin
This only applies to ID being copied outside of bmain. Handy for cases when it is important to check if the copy corresponds to a data block coming from library. Example of that is proxy evaluation with copy on write. Thanks Bastien for review!
2017-12-05Types are to have explicit forward declarationSergey Sharybin
2017-12-05Version patching fixes for F-Curves (as required for fixes for T48988 and ↵Joshua Leung
T52009) * For the T48988 fix (i.e. separate Ease In/Out properties for Bendy Bones in Edit vs Pose modes), old animation data needed to be patched to use the new property names. This is needed to partially fix some of the issues in T53356 (though the Rigify code itself still needs to be patched). * For the T52009 fix, old files needed to have the frame_start and frame_end properties on the FModifier (base-class) updated to match that of the FMod_Stepped type-specific class. This wasn't done in the earlier commit since it wasn't worth going through all animation data just for the sake of updating these relatively-rare settings, but since we're doing it anyway now, it makes sense to include this here.
2017-12-05Added BKE_fcurves_main_cb(), a wrapper around BKE_animdata_main_cb to make ↵Joshua Leung
it easier to apply fixes to all F-Curves in a file
2017-12-05Cleanup/Style Tweaks to fit rest of codeJoshua Leung
2017-12-04Cleanup: wrap long function args in seqeffectsCampbell Barton
2017-12-04Cleanup: styleCampbell Barton
2017-11-30Removing OMP: legacy ccgsubsurf.Bastien Montagne
Performances gain is rather low this time, about 5% on average (in whole affected functions).
2017-11-30Fix T53410: 3D Text always recalculatedCampbell Barton
2017-11-29Fix T53116: default texture coordinates for volume materials are blank.José Luis Oliveira Cunha
Differential Revision: https://developer.blender.org/D2935
2017-11-29Sequencer: add many more color blend modes, and a new color mix strip.Maikon Araujo
Differential Revision: https://developer.blender.org/D2872
2017-11-29Cleanup: De-duplicate code in object update routinesSergey Sharybin
2017-11-29Cleanup: Split depsgraph uber transform function callbackSergey Sharybin
2017-11-29Cleanup: Remove unused argumentSergey Sharybin
2017-11-29Cleanup: Make object_handle_update easier to followSergey Sharybin
2017-11-29Cleanup: Remove unused functionSergey Sharybin
2017-11-29Transform: Avoid use of ob->recalc in snapping codeSergey Sharybin
Do a direct update of object transform instead, without involving manual trickery of recalc flag. Shouldn't be functional changes as far as artists are concerned, but will allow us to get rid of recalc flags in 2.8. Thanks Bastien for review!
2017-11-28Cleanup (remove commented OMP directive).Bastien Montagne
2017-11-28Removing OMP: BKE's tracking_stabilize.Bastien Montagne
Again, 2 times quicker with BLI than with OMP (from about 5ms to 2.5ms per frame for the parallelized loop, on a rather small video...).
2017-11-27Sequencer: Add option to render OpenGL preview with DoFSergey Sharybin
The title says it all actually, controlled with DoF check box next to textured solid check box. Thanks Campbell for review!
2017-11-27Refactor view3d offscreen drawing to avoid having multiple boolean argumentsSergey Sharybin
This is fully unreadable to have lots of boolean arguments scattered across the whole argument list. What does `false, true, true` mean in terms of behavior? Replace those with bitfield which has advantage of having more human readable meaning.
2017-11-27Tracking: Cleanup. make code friendly for multi-column editingSergey Sharybin
2017-11-26Cleanup: ImageEditor's mask drawing code was re-implementing ↵Bastien Montagne
`BKE_maskrasterize_buffer`! So this deduplicates and simplifies code, yeah. Also, as an odd bonus, new code seems slighly quicker than previous one (about 5 to 10% quicker).
2017-11-26Removing OMP: BKE's mask_rasterize.cBastien Montagne
Once again nothing much to say here, except that whole mask rendering process from VSE is about 25% quicker now. ;)
2017-11-26Removing OMP: autotrack BKE code.Bastien Montagne
Pretty straightforward this time, we already have a single struct pointer containing all needed data (or nearly). And we gain about 10-15% speed on tracking! :)
2017-11-23atomic_ops: add char versions of uint8_t atomic primitives.Bastien Montagne
2017-11-23Cleanup: use signed atomic ops when needed.Bastien Montagne
2017-11-23Use custom SWAP macro for swapping userdef dataCampbell Barton
Avoids complicating the common case
2017-11-22Fix T53274: Saving template prefs overwrites default prefsCampbell Barton
2017-11-22WM: minor correction to user-pref writingCampbell Barton
When saving templates had wrong return value.
2017-11-21Cleanup: redundant ELEM useCampbell Barton
2017-11-19Fix T53343: Custom Normal Data Transfer Crashes when some vertexes have no ↵Bastien Montagne
faces. Odd nobody noticed this earlier, was obvious bug in code logic here... :/ To be backported to 2.79a.
2017-11-19Cleanup: remove BKE_utildefinesCampbell Barton
This was meant to be used for less general macros but was never used. Rename BKE_BIT_TEST_SET to SET_FLAG_FROM_TEST
2017-11-19Swap priority of system path overrides for dev buildsJulian Eisel
Suggested by Campbell, thanks! Also moved the exception into own function and improved comments. Fixes T53008.
2017-11-19Fix T53347: Vertex paint crash on undo/exitCampbell Barton
2017-11-18Cleanup: styleCampbell Barton
2017-11-14Cleanup: order BLI before BKE headersCampbell Barton
This was done nearly everywhere already
2017-11-10mball_tessellate: Simplify face creationGermano
Faces that have the last two indices equal are considered triangles, and not those that the last index is 0 Improvement of 7% in performance of the `polygonize` function
2017-11-08Fix various issues with (multiview) OpenEXR file save/load.Brecht Van Lommel
* Fix saving a multiview render from the image editor giving invalid files. * Fix failure to load multiview images with a single view per part. * Fix loss of multiview metadata when saving/loading a single view. * Fix Z-Buffer writing option for single layer EXR not being respected. Multiview EXRs are now always handled as multilayer internally, significantly reducing the amount of code. Reviewed By: dfelinto Differential Revision: https://developer.blender.org/D2887
2017-11-08Fix EXR multilayer compositing result saving issues.Brecht Van Lommel
* It was saved as Combined.Combined instead of Composite.Combined. * It was written even if no compositing was enabled.
2017-11-08Cycles: add bevel shader, for raytrace based rounded edges.Brecht Van Lommel
The algorithm averages normals from nearby surfaces. It uses the same sampling strategy as BSSRDFs, casting rays along the normal and two orthogonal axes, and combining the samples with MIS. The main concern here is that we are introducing raytracing inside shader evaluation, which could be quite bad for GPU performance and stack memory usage. In practice it doesn't seem so bad though. Note that using this feature can easily slow down renders 20%, and that if you care about performance then it's better to use a bevel modifier. Mainly this is useful for baking, and for cases where the mesh topology makes it difficult for the bevel modifier to work well. Differential Revision: https://developer.blender.org/D2803
2017-11-06Rename ID_IS_LINKED_DATABLOCK to ID_IS_LINKED.Bastien Montagne
This makes code closer to id_override/assent-engine ones, which introduce a new type of linked data, and hence reserve ID_IS_LINKED_DATABLOCK to real linked datablocks.
2017-11-05Cleanup: remove paranoid NULL checkCampbell Barton
2017-11-05Cleanup: spellingCampbell Barton
2017-11-02Cleanup: code styleCampbell Barton
2017-11-01Implement a new automatic handle algorithm to produce smooth F-Curves.Alexander Gavrilov
The legacy algorithm only considers two adjacent points when computing the bezier handles, which cannot produce satisfactory results. Animators are often forced to manually adjust all curves. The new approach instead solves a system of equations to trace a cubic spline with continuous second derivative through the whole segment of auto points, delimited at ends by keyframes with handles set by other requirements. This algorithm also adjusts Vector handles that face ordinary bezier keyframes to achieve zero acceleration at the Vector keyframe, instead of simply pointing it at the adjacent point. Original idea and implementation by Benoit Bolsee <benoit.bolsee@online.be>; code mostly rewritten to improve code clarity and extensibility. Reviewers: aligorith Differential Revision: https://developer.blender.org/D2884
2017-11-01Fix for T48988 - Enabling bbone easing for posemodeJoshua Leung
This fix enables the usage of bbones easing parameters for edit and pose mode seperately. This allows animators to take advantage of the functionality and may eliminate confusion as the parameters now behave similar to other bbone parameters. Note that splitting the parameters between the modes effectively creates a new parameter set. Blend files of previous versions do not contain this information and will have the values set to 0 on load. As it broke backwards compatibility for pose mode values anyway, I also took the liberty to rename the easing parameters in some places for consistency (which breaks edit mode values). Reviewers: aligorith Subscribers: aligorith Tags: #animation Differential Revision: https://developer.blender.org/D2796
2017-11-01Cleanup: styleCampbell Barton
2017-10-31Add ability to specify custom fields to be saved from render resultSergey Sharybin