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-20BGE: Fixing memory leaks when deactivating Sensors, Controllers, or actuators.Mitchell Stokes
Found by Coverity and confirmed with Valgrind.
2014-04-19Math Lib: add shell_v3v3_normalized_to_dist and v2 versionCampbell Barton
bypass angle calculation to avoids (asin, sqrt, cos).
2014-04-19Minor change to recent commit (avoid transpose)Campbell Barton
2014-04-19Math Lib: minor optimization to barycentric_transformCampbell Barton
replace rotation_between_vecs_to_quat with axis_dominant_v3_to_m3.
2014-04-19Math Lib: add rotation_between_vecs_to_mat3Campbell Barton
- behaves like rotation_between_vecs_to_quat - avoids calling sin,cos calls (approx 1.6x faster).
2014-04-19Math Lib: minor optimization for axis_angle_normalized_to_mat3Campbell Barton
2014-04-18Change Vector.slerp to accept nonunit vectorsCampbell Barton
2014-04-18CMake was missing headerCampbell Barton
2014-04-18Code cleanup: de-duplicated includes.Tamito Kajiyama
2014-04-18Freestyle: New options for sorting to arrange the stacking order of lines.Tamito Kajiyama
Line styles now have a set of new options for rearranging the stacking order of lines. This gives artists more control to determine which lines should be drawn on top of others. Two available sort keys are the distance from camera and curvilinear 2D length. Since the distance of a line from camera may vary over vertices, another option called integration type is used to compute the sort key for a line from the values computed at individual vertices. Available integration types are MEAN, MIN, MAX, FIRST and LAST (see the tool tips for more detail).
2014-04-18Quite compiler warnings.Tamito Kajiyama
2014-04-18Dyntopo: Solve issue with test file by Jens.Antony Riakiotakis
Seems like custom data indices can be mangled when many layers are present in the mesh, so use more strict calculation of offset (copied over from BM_CD_LAYER_ID). I was under the impression that all custom data would be deleted on entering dyntopo, it seems this is not the case though.
2014-04-17Make sure we invalidate the node ID layer each time the PBVH is reset.Antony Riakiotakis
It makes code more tidy (avoids having to call invalidation on a myriad places). Also makes sure other invalidation cases (some mesh change, e.g.) work as expected.
2014-04-17BI: cleanup in autosmooth area.Bastien Montagne
2014-04-17Optimize and symmetrize operators missed reset of node layer.Antony Riakiotakis
2014-04-17Refactor to Dyntopo node customdata commit.Antony Riakiotakis
Don't use a dedicated node layer but use temporary int layer instead. Works like a charm as long as we are careful resetting the layer when needed (after pbvh clearing and always after bmesh has been filled in undo) Tip by Campbell, thanks!
2014-04-17Recreating a bmesh log did not account for modified faces.Antony Riakiotakis
It shouldn't create issues in practice because modified face ids should have been reclaimed from an added face on a previous entry, but add for completeness.
2014-04-17View3D: use smoothview for localview switchingCampbell Barton
2014-04-17Code cleanup: use const for array argsCampbell Barton
2014-04-17View3D: no need to mask mask out localview for each objectCampbell Barton
2014-04-17Add missing node update in dyntopo flood fill.Antony Riakiotakis
2014-04-17Fix T39765 crash on text with generative modifiers.Antony Riakiotakis
2014-04-17Fix another Freestyle building glitch.Bastien Montagne
2014-04-17Attempt to fix one more issue with Freestyle compilationSergey Sharybin
2014-04-17Support multiple distortion models, including a new division modelSergey Sharybin
This commit makes it so CameraIntrinsics is no longer hardcoded to use the traditional polynomial radial distortion model. Currently the distortion code has generic logic which is shared between different distortion models, but had no other models until now. This moves everything specific to the polynomial radial distortion to a subclass PolynomialDistortionCameraIntrinsics(), and adds a new division distortion model suitable for cameras such as the GoPro which have much stronger distortion due to their fisheye lens. This also cleans up the internal API of CameraIntrinsics to make it easier to understand and reduces old C-style code. New distortion model is available in the Lens panel of MCE. - Polynomial is the old well-known model - Division is the new one which s intended to deal better with huge distortion. Coefficients of this model works independent from each other and for division model one probably want to have positive values to have a barrel distortion.
2014-04-17Fix compilation error of FreestyleSergey Sharybin
Seems to be some sort of namespace conflict or so which is solved by reshuffling the includes a bit.
2014-04-17Style cleanupCampbell Barton
2014-04-17Code cleanup: use bools for DMCampbell Barton
2014-04-17Fix error in last commitCampbell Barton
2014-04-17Fix T39758: Blender Crash when removing pinned Scene.Bastien Montagne
2014-04-17Fix T39766: bone calculation from edit mode goes wrongBastien Montagne
Own logic error in previous commit...
2014-04-17Fix mistake in recent DM material changesCampbell Barton
2014-04-17Viewport Text Drawing: replace single allocs with a memarenaCampbell Barton
- pass label strlen since in many cases its already known. - use single linked list for cached text drawing. - add BLI_link_utils.h for single linked list macros. own tests give approx 22% overall speedup.
2014-04-17Code cleanup: use boolsCampbell Barton
also rename BLI_omp_thread_count -> BLI_system_thread_count_omp
2014-04-17Freestyle: removed unnecessary #include "FreestyleConfig.h".Tamito Kajiyama
2014-04-17Freestyle: removed unused *_EXPORT qualifiers for building Windows DLLs.Tamito Kajiyama
These qualifiers were leftovers of the stand alone Freestyle program and not used (set to an empty string) in Blender for years.
2014-04-17Fix for missing changes in commit 6b0b6f876a4d68acd5c9252270a5135d0308d782.Tamito Kajiyama
2014-04-17Replaced assert() with BLI_assert().Tamito Kajiyama
2014-04-17Freestyle: removed unnecessary #include files and made minor code cleanup.Tamito Kajiyama
2014-04-17Freestyle: Fix for VC++ warnings about 'hypot' macro redefinitions (Part 4).Tamito Kajiyama
(See commit e1771e72fbbf828dbf5bed871b814288389f3611 for more detail of the problem). Fix for a C++ scope issue caused by 'using namespace Freestyle' that was assumed even within the Freestyle namespace definition.
2014-04-17Freestyle: Fix for VC++ warnings about 'hypot' macro redefinitions (Part 3).Tamito Kajiyama
(See commit e1771e72fbbf828dbf5bed871b814288389f3611 for more detail of the problem). Made changes to intern/view_map/Interface0D.h and intern/python/Director.h to avoid #include <Python.h> and keep non-Python header files independent of it.
2014-04-17Freestyle: Fix for VC++ warnings about 'hypot' macro redefinitions (Part 2).Tamito Kajiyama
(See commit e1771e72fbbf828dbf5bed871b814288389f3611 for more detail of the problem). Fixed for #include <Python.h> not properly put in the extern "C" { ... } construct. Also removed redundant inclusion of the header file in the Freestyle Python API code.
2014-04-17Freestyle: Fix for VC++ warnings about 'hypot' macro redefinitions (Part 1).Tamito Kajiyama
The issue was caused by including both Python.h and BLI_math.h. Since the macro definition in Python.h was unconditional, it was necessary to include it first and then BLI_math.h. Addressing the issue turned out to affect many Freestyle source files. There were several other coding flaws that complicated the situation: 1. intern/system/FreestyleConfig.h was abused just to include BLI_math.h which was in fact unnecessary in FreestyleConfig.h. While addressing this, inclusion of both math.h and BLI_math.h had to be duly dealt with to avoid a compiler error about round(). 2. #include <Python.h> was not properly put in the extern "C" { ... } construct. 3. intern/view_map/Interface0D.h and intern/python/Director.h, both of which included Python.h, were included from within Freestyle header files that were almost or completely independent of Python. These non-Python header files were used everywhere in the Freestyle code base, causing many cases of the reported macro redefinitions. 4. The Director.h file was also declaring 'using namespace Freestyle', which was causing another scope issue in several Freestyle header files. This commit is intended to address the first problem above. Subsequent commits will deal with the other three.
2014-04-17Fix T39767: Parent in Mask mode crashesCampbell Barton
2014-04-17Fix T39768: GLOBAL_X/Y/Z don't exist for bpy.ops.armature.calculate_roll ↵Joshua Leung
type enum
2014-04-17BGE - button for deactivate sensors, controllers and actuatorsJorge Bernal
This change introduces a new checkbox to deactivate the sensors, controllers and/or actuators. It is useful during the development phase to avoid delete sensors, controllers or actuators if you want to test something new. NOC: The wiki page is being updated (the images mostly), but the feature is already in the 2.71 release log. {F61628} Reviewers: moguri, dfelinto, campbellbarton, dingto, #user_interface, billrey Reviewed By: moguri CC: billrey Differential Revision: https://developer.blender.org/D16
2014-04-16Fix Knife bug T39617: midpoint snap should affect intermediate points.Howard Trickey
This reverts to the 2.69 behavior, where the snap-to-midpoint option affected the intermediate crossed edges as well as the endpoints.
2014-04-16Fix T39756: Extrude, immediate scaleCampbell Barton
While not exactly a bug, switching to scale isnt generally useful to keep normal constraint.
2014-04-16Code cleanup: use bools & const argsCampbell Barton
2014-04-16Fix T39750: Bones disappearing with strange transforms.Bastien Montagne
Fixed this issue and another similar one, and some minor optimizations.