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
2014-04-16Fix for half pixel offset rasterizing masksCampbell Barton
2014-04-16Math Lib: optimize axis_dominant_v3_to_m3, approx 6x speedupCampbell Barton
build the matrix directly rather then calculating with axis/angle also remove unused function calc_poly_plane
2014-04-16Math Lib: increase epsilon for ortho_basis_v3v3_v3Campbell Barton
passing in a unit length vector wouldn't always compute unit length vectors because the epsilon tested was too small.
2014-04-16Fix T39445: Async LibLoad CrashMitchell Stokes
There was some deadlock due to trying manage Python's GIL. Instead of continuing to fight with it, anything needing to call into Python while conversion during lib loading is just delayed until it can be done in the main thread.
2014-04-16Fix T39745: "Origin to geometry" not working with Text objects. (regression)Campbell Barton
2014-04-16Fix T39509: Crash when assign an empty as a LoDDaniel Stokes
Missing check when looking for appropriate LoD
2014-04-16Dyntopo:Antony Riakiotakis
Store PBVH node ID in CustomData. This avoids a number of hash deletions and checks/insertions on big hashes.
2014-04-16Dyntopo: slightly change node invalidation, only vertices can change BBAntony Riakiotakis
recalculation, only faces can change normal invalidation.
2014-04-15Fix T39607: Audio not in synch when the blend file loads.Jörg Müller
The problem here was that animation buffers got initialized with zeros in the beginning for unknown parts. Now it gets initialized with the first known value. The bug's result was that the animation of the pitch started with 0 on first playback and thus any seeking while the pitch is zero resulted in seeking to the beginning.
2014-04-15Fix regression, sculpting on mesh with matcaps (without multires/Antony Riakiotakis
2014-04-15Building with C++ guarded alloc works againCampbell Barton
2014-04-15Fix T39685: triangulation modifier creates zero-area facesCampbell Barton
2014-04-15Use binary search threshold when deciding whether to create ActKeyColumns too...Joshua Leung
2014-04-15Optimisations for building "Long Keyframes"Joshua Leung
For a long time, one of the bottlenecks when drawing summary channels in the dopesheet (especially with many objects) was how the long keyframes feature (i.e showing holds between keyframes) got built. Specifically, it was the step where we check on the previous keyframe to see whether there's a hold between those two. The old code performed some elaborate checks, which made sense back when we used to handle certain summary channels (e.g. object-action/ipo, and groups IIRC) differently. However, nowadays, everything just does it by going over the FCurves one by one, so the offending code wasn't really providing much benefit. Unless I've forgotten some other reason why that old method is necessary, this commit should provide a decent speedup here, making things somewhat interactive now (if still a bit jerky). Other Tweaks: 1) Introduced float-precision threshold when checking to see whether an existing long keyframe could be reused. This should hopefully reduce the number of fp-jitter issues when creating summaries for many channels, reducing the number of duplicates created. 2) Precompute colours used for shading the long keyframes, instead of recomputing for each block.
2014-04-15Move binary-search threshold used for FCurves to BKE_fcurve.h headerJoshua Leung
Since this is now pretty much the de-facto "minimum distance between keyframes", we might as well expose this in this header so that other places which need similar thresholds can perform similar checks (needed for my next commit)
2014-04-15Fix T39234: popup menus behave poorly when they have not enough width for ↵Bastien Montagne
all their columns. Issue fixed by: * Not having constant width for all columns, but adapt each to its content's width; * Adapting undo's menu height to undo list length (so that we never have more than three columns). It is still possible to get issues in extreme cases (small screen, high DPI size, long op names everywhere...), but this should now be rare corner cases. Also fixes a minor glitch with undo menu (first column had one item less than the others...).
2014-04-15Structural cleanup and improvements for the compositor.Lukas Tönne
Many parts of the compositor are unnecessarily complicated. This patch aims at reducing the complexity of writing nodes and making the code more transparent. == Separating Nodes and Operations == Currently these are both mixed in the same graph, even though they have very different purposes and are used at distinct stages in the compositing process. The patch introduces dedicated graph classes for nodes and for operations. This removes the need for a lot of special case checks (isOperation etc.) and explicit type casts. It simplifies the code since it becomes clear at every stage what type of node we are dealing with. The compiler can use static typing to avoid common bugs from mixing up these types and fewer runtime sanity checks are needed. == Simplified Node Conversion == Converting nodes to operations was previously based on "relinking", i.e. nodes would start with by mirroring links in the Blender DNA node trees, then add operations and redirect these links to them. This was very hard to follow in many cases and required a lot of attention to avoid invalid states. Now there is a helper class called the NodeConverter, which is passed to nodes and implements a much simpler API for this process. Nodes can add operations and explicit connections as before, but defining "external" links to the inputs/outputs of the original node now uses mapping instead of directly modifying link data. Input data (node graph) and result (operations graph) are cleanly separated. == Removed Redundant Data Structures == A few redundant data structures have been removed, notably the SocketConnection. These are only needed temporarily during graph construction. For executing the compositor operations it is perfectly sufficient to store only the direct input link pointers. A common pointer indirection is avoided this way (which might also give a little performance improvement). == Avoid virtual recursive functions == Recursive virtual functions are evil. They are very hard to follow during debugging. At least in the parts this patch is concerned with these functions have been replaced by a non-virtual recursive core function (which might then call virtual non-recursive functions if needed). See for example NodeOperationBuilder::group_operations.
2014-04-15Math Lib: avoid having to pass a pre-calculated normal tot area_poly_v3Campbell Barton
add normal_poly_v3
2014-04-15Various fixes/improvements regarding BMesh's elem_index_dirty and BM_LOOP ↵Bastien Montagne
handling. Most notably, BM_LOOP and BM_FACE index recompute should now be fully decoupled.
2014-04-15Fix T39743: Crash when deleting faces in with new autosmooth.Bastien Montagne
Odd I did not catch this one... :/
2014-04-15Fix T37675: blender internal viewport render wrong for volumes after rotation.Brecht Van Lommel
We really should not have Object.imat_ren, that's the wrong place to put render data. But just update it now on rotation rather than doing a bigger refactor to remove it.
2014-04-15Fix T39610: Shared mesh used for Mesh Deform causes crashSergey Sharybin
For now disable using linked edit mesh in the meshdeform modifier. This is because editbmesh_get_derived_cage_and_final() might easily conflict with the thread which evaluates object which is in the edit mode for this mesh. We'll support this case once granular dependency graph is landed.
2014-04-15Fix T39607: Audio not in synch when the blend file loads.Bastien Montagne
Root of issue is probably in AUDASPACE itself (or even in OpenAL?). Issue not present with SDL backend, only OpenAL afaik. For now, workaround in Blender is to call seek twice when starting play (not needed when resuming from pause).
2014-04-15Some style cleanup in sound area.Bastien Montagne
2014-04-15Code cleanup: indentationCampbell Barton
2014-04-15Fix compilation (size_t not defined) by including stddef.h in BLI_sys_types.hBastien Montagne
2014-04-15Fix my last commit cad4bfe: Added 'use_' prefix to Freestyle edge/face mark ↵Tamito Kajiyama
properties.
2014-04-15Revert part of last commit,Campbell Barton
RNA is low level data access, setting mesh values shouldn't change draw options. Also its redundant to name attrs Face.freestyle_face_mark, removed edge/face from attr names
2014-04-15GHash: add BLI_ghashutil_uinthash_v4 for hashing 4 ints at onceCampbell Barton
2014-04-15Freestyle: Added missing mesh property definitions for Freestyle Edge/Face ↵Tamito Kajiyama
marks. This revision also addresses the issue of these properties not shown in the Outliner in the Datablocks display mode. Now Freestyle edge/face marks can be keyframed through the Outliner.
2014-04-15GHash: add typed hash functions (were all (void *))Campbell Barton
- BLI_ghashutil_strhash_n takes string length, to avoid terminating the string before hashing. - BLI_ghashutil_inthash/uinthash take ints, to avoid casting to (void *) This also showed up incorrect use of inthash, which was using a pointer.
2014-04-15Style cleanup: C & pep8Campbell Barton
2014-04-15Fix T39740: New Autosmooth instant crash entering Edit ModeBastien Montagne
One should always be wary of last minute changes, especially in comples code area... :/
2014-04-14Fix video FFmpeg nt being able to produce video files due to usage of ↵Sergey Sharybin
deprecated settings
2014-04-14Fix T39700: Plane deform still works foreverSergey Sharybin
Clamped the EWA sampling region to buffer size now. Solves the issue, but needs more tests to be sure weights are correct.
2014-04-14Fix T39736: Ctrl+V reports "Objects Pasted" regardless if it worked or not.Bastien Montagne
2014-04-14Fix for the eyedropper fixes from todaySergey Sharybin
Missing color copy, noticed by @campbellbarton, thanks!
2014-04-14Fix T39702: VSE channel preview: strips used as effect operands no more visibleSergey Sharybin
2014-04-14Fix T39704: Texture painting fails with different float image working spaceSergey Sharybin
This was rather a TODO item related on supporting the proper painting color space, but added a small tweaks which will make things working for now in most of the situation (assuming the default view of display is ivnertible, as it is to be expected to be anyway). Shouldn't give much overhead since the conversion processors are cached in the color management code. And for the note: no, projection painting does not requite such a tweak because viewport works in sRGB space anyway.
2014-04-14Fix the eyedropper not working properly with different scene linear spacesSergey Sharybin
Either was some residue from the past or somebody didn't implement this in the right way. Also fixed memory leak in ED_space_clip_color_sample() caused by missing image buffer release.
2014-04-14Fix for crash un-indenting in the text editorCampbell Barton
2014-04-13Reduce overhead when sampling texture images for brushes. The tests canAntony Riakiotakis
be cached and reused.
2014-04-13Cleanup:Antony Riakiotakis
Naming: Change pressure to size_pressure, it notes correctly that this value is updated and expected to be used for size updating only. Change name of cursor function and since it is used for uv sculpting only now move to the relevant file. Also cleanup unneeded functionality from function. Stroke: Separate updating of stroke variables to invariants (updated when stroke->init = false) and variants.
2014-04-13Fix T39430, incorrect color management in paint cursor when usingAntony Riakiotakis
texture nodes. Adopt a similar system to texture sampling for painting.
2014-04-13Compile fix for Windows.Thomas Dinges
2014-04-13Split Normals I (4/5): Add support of split normals to BI renderer.Bastien Montagne
Note that this commit completely replaces old behavior of the auto_smooth feature in BI. Also note that split normals are only handled when no "advanced geometry post-processing" is used (something like Displace will obviously break it, since it has to re-compute normals after displacement...). Reviewers: brecht Reviewed By: brecht CC: campbellbarton Differential Revision: https://developer.blender.org/D368
2014-04-13Split Normals I (3/5): Add 3Dview shading support of split normals.Bastien Montagne
Mostly monkey coding in gpu ("modern" VBO drawing) and DM variants ("legacy" drawing) code... Reviewers: brecht Reviewed By: brecht CC: campbellbarton Differential Revision: https://developer.blender.org/D367
2014-04-13Split Normals I (2/5): Add basic BMesh support of split normals.Bastien Montagne
* Merely a re-implementation of core split algorithm for BMesh, taking advantage of topological data available. * This code needs valid loop indices, so added BM_LOOP support to BM_mesh_elem_index_ensure() & co. Reviewers: campbellbarton Reviewed By: campbellbarton CC: brecht Differential Revision: https://developer.blender.org/D366
2014-04-13Split Normals I (1/5): basis for split normals (nearly nothing user-visible ↵Bastien Montagne
here): * Add a new calcLoopNormals function to DerivedMesh struct, and implement it for CDDM and CCGDM (subsurf). EditDerivedBMesh (edit mode DM) only gets a dummy one in this commit. * Add a tessellated version of CD_LOOPNORMAL layer (CD_TESSLOOPNORMAL), with relevant code to handle it (tessellation, rna access, etc.). * Change auto_smooth options of Mesh (angle now in radian internaly, and toggle is now used to enable/disable split normals in DM creation process). Note BI render code is not touched here, hence its behavior regarding this option is now incoherent, will be addressed in a separate commit. Reviewers: campbellbarton CC: brecht Differential Revision: https://developer.blender.org/D365
2014-04-13Revert "Fix T39484: Time line: highlighted area for frame range one frame ↵Bastien Montagne
too short." This reverts own commit e9d733a8bd9ebf803d4afac419670974792a3c0d. Turns out there is no consensus here, better to open a design task. :/