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
2014-02-03Fixed a possible access to null pointer reference.Sergey Sharybin
Patch by tamerlan311 (Alex Babahin) Reviewers: sergey Reviewed By: sergey Differential Revision: https://developer.blender.org/D282
2014-02-03Fix T38447: Deactivated hotkeys are still showing in menuJoshua Leung
2014-02-03Use bool where appropriateJoshua Leung
2014-02-03Code cleanup: white space and cmake was broken on all platformsCampbell Barton
2014-02-02Fix T38435: Crash when pressing MMB in walk modeBastien Montagne
Snap code may be called with a NULL region, add check about this and assume ray_start is OK in this case!
2014-02-02Code cleanup: suffix vars to make obvious they are squaredCampbell Barton
2014-02-02Fix: Compile error due to missing #define for MSVC9 (VisualC++ 2008)Andrea Weikert
Added some relevant #defines copied from extern\libmv\third_party\msinttypes to BLI_sys_types.h so they can be used in blenlib. Made smallhash.c use the BLI_sys_types.h include rather than including <stdint.h> directly
2014-02-02Freestyle: Fix for iterations over 0D elements in the reversed order.Tamito Kajiyama
The revision is concerned with Interface0DIterator and StrokeVertexIterator. These iterators can be generated by Interface1D::vertices_end() and Stroke::stroke_vertices_end(), respectively. These methods return an iterator poinitng the next index of the last 0D element (i.e., iterator's is_end property is true). When the iterators created in this way are used with Python's iterator protocol (e.g., in a for-loop), iterations over 0D elements are automatically performed in the reversed order. This functionality was broken after recent revisions concerning Freestyle iterators. Also made minor code cleanup (white space).
2014-02-02Docstring updates and code cleanup by flokkievids (Folkert de Vries).Tamito Kajiyama
2014-02-02Code cleanup (mostly indentation and white space).Tamito Kajiyama
2014-02-02Fix for iterators' at_start flag left unset in C++ to Python conversion ↵Tamito Kajiyama
utility functions. Also changed the type of the 'reversed' flag from int to bool.
2014-02-02Imported D222 Diff 2 (ID 781) by flokkievids (Folkert de Vries).Tamito Kajiyama
2014-02-02Add include needed for clang, quiet warningCampbell Barton
2014-02-02BMesh: optimize loop_find_regions, reserve array sizeCampbell Barton
2014-02-02BMesh: optimize lookups for triangle fillCampbell Barton
2014-02-02Smallhash: add reserve option to avoid resizing when size is knownCampbell Barton
2014-02-02Smallhash: fixes/improvementsCampbell Barton
- use magic numbers based on uintptr max, not uint max, to avoid possible collisions with real pointer values on 64bit systems. - comment BLI_smallhash_remove for now, its not used. - added smallhash_val_is_used replacing ELEM() checks - updated docs
2014-02-01Smallhash: optimizationsCampbell Barton
- remove static array used only for copying (use alloca on resize) - set SMSTACKSIZE to one of the values in 'hashsizes' since the full available size was never used. - ensure ~1.5x as many buckets as entries, was 3x which caused malloc's quite early on.
2014-02-01Code cleanup: use length squared where possibleCampbell Barton
2014-02-01Math lib: simplify size_to_mat4 and use in b_bone_spline_setupCampbell Barton
2014-02-01Math lib: add axis_angle_normalized_to_quat, use when length is knownCampbell Barton
2014-02-01Fix T38432, Fix 38432: more stupid error in view3d ray code, sorry about that.Bastien Montagne
2014-01-31Code cleanup: be less vague checking invalid index valuesCampbell Barton
2014-01-31Fix for error setting unique names for tracksCampbell Barton
2014-01-31Code cleanup: comments and warningsCampbell Barton
2014-01-31Fix for T32843gaiaclary
Exported angles for spot size animation is in radians , however Collada expects it to be in degrees. This patch is for fixing import and export, and also renaming a variable Reviewers: gaiaclary Reviewed By: gaiaclary Differential Revision: https://developer.blender.org/D273
2014-01-31Events: fix for wmEvent prevx, prevy not updatingCampbell Barton
2014-01-30More snapping fixes (this is ridiculous).Bastien Montagne
I hope this time we are done!
2014-01-30Code cleanup: remove BLI_has_parentCampbell Barton
2014-01-30Code cleanup: add BLI_testextensie_n, replacing multuple calls to ↵Campbell Barton
BLI_testextensie also use attributes for BLI path functions
2014-01-30Fix T38409: Snapping BugBastien Montagne
Issue partially caused by own errors (glicth in new BKE_boundbox_ray_hit_check() code causing segfault in volume snapping, and we have to treat ortho and persp differently in case of face snapping, because in persp our ray_start might very well already be *inside* the boundbox of the checked object), and partly due to the fact that ED_view3d_win_to_vector() was returning wrong vector (negated one) for ortho views (see previous commit).
2014-01-30Fix a nice bug in ED_view3d_win_to_vector() - vector returned for an ortho ↵Bastien Montagne
view was negated compared to vector returned for the same view in perspective... Found while working on snapping issues, confirmed using bisect tool: previous to this commit, inner/outer parts were swapped when switching from otho to persp!
2014-01-30Fix for crash linking node groups through bpy.data.libraryCampbell Barton
Defer creating the Python objects until after appending is finished because NodeTree's types are not initialized until then.
2014-01-30Fix T38403: Laplacian smooth on instanced objects leads to crash.Lukas Tönne
The laplacian modifiers (smooth and deform) use the OpenNL library, which is not threadsafe due to the use of a global context variable. Ideally this would be changed so that an explicit context can be created for every caller of the OpenNL functions, but since OpenNL's most recent version is from 2010 this is unlikely to happen. As a workaround for now just use a mutex to prevent conflicting OpenNL calls. Eventually OpenNL can be replaced by eigen or ceres.
2014-01-30Fix T38358: typo in own rB77089a3bf203.Bastien Montagne
Also allowed me to fine another potential issue, hit.dist was no more initialized correctly - and I had forgotten to take into account Brecht's remark about normalize_v3() also returning the vector's previous length.
2014-01-30Smallhash: refactor and fixesCampbell Barton
- BLI_smallhash_remove didnt decrement total entries. - rename vars to match closer to ghash. - smallhash_lookup returns NULL when no entry found. - using a zero value key wasn't supported. - no need to memset or calloc bucket arrays - add asserts for unsupported conditions. - added BLI_smallhash_lookup_p
2014-01-30PyAPI: noise.seed_set(), note that zero is a special case.Campbell Barton
2014-01-30Fix T38402: invalid message for bad type assignments (Quat, Vector)Campbell Barton
2014-01-30UI: move toggle icons out of layout checks into rnaCampbell Barton
2014-01-30UI API: don't use a text label when icon_only is setCampbell Barton
2014-01-29Fix T38400: crash in image_listener accessing deleted object.Brecht Van Lommel
Listeners should never dereference this pointer because the object may have been deleted, it can only be used for comparisons.
2014-01-29Fix T38358: Face snapping fails on Orthographic viewBastien Montagne
Issue is caused by start point of ray used to detect faces under the mouse is set rather far away in ortho 3dviews. The loss of precision on the ray location induced by this can lead to face snapping failures. Solution is to do the raycasting with a temp start point, much closer to the object we check, and add back to the found distance the diff to the real start point once detection is done (as we need all hit distances from all tested objects to be relative to a common point!). Note this commit only addresses the "face snapping on mesh" case, other kind of snapping do not seem to suffer from this issue. Reviewers: brecht, campbellbarton Differential Revision: https://developer.blender.org/D268
2014-01-29Fix T37661: color ramps and curve mapping editing not disabled for linked data.Brecht Van Lommel
2014-01-29Code cleanup: remove redundant makesrna call with platform "linuxcross".Lawrence D'Oliveiro
Reviewed By: brecht Differential Revision: https://developer.blender.org/D235
2014-01-29Fix accidental description change in recent commit.Brecht Van Lommel
2014-01-29Fix bone transform issue where the bone roll depends on intermediate mouse ↵Brecht Van Lommel
positions. It computed the roll compatible with the previous mouse position roll value, now it uses the initial roll value.
2014-01-29Fix T38359: incorrect display of material slot with pinned particle settings.Brecht Van Lommel
Just hide it in this case, the material slot is not really valid without an object in the context.
2014-01-29Fix T36955: API docs referred to sys.maxint which does not exist in Python 3.Brecht Van Lommel
2014-01-29Fix T38393: bone roll not restored properly after cancelling rotation of bones.Brecht Van Lommel
2014-01-29renamed unclear API parametergaiaclary