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
2013-08-24ghash: reserve size when its known or can be guessed close enough.Campbell Barton
also avoid allocs per node in pbvh_bmesh_node_limit_ensure()
2013-08-24Fix bad draw of plane track when using Tiny display optionSergey Sharybin
2013-08-24Add stdlib.h to solve compilation error caused by missing abort() prototypeSergey Sharybin
Perhaps we'd better move this include to BLI_utildefines as we made with with other includes needed for BLI_abort?
2013-08-24correct error in face walker (was inserting into the wrong ghash which was ↵Campbell Barton
immediately freed after)
2013-08-24cloth was using edgehash not quite correctly:Campbell Barton
- was ordering vertex args unnecessarily. - was adding the same edges multiple times into the edgehash.
2013-08-24cloth spring building: replace MIN2/MAX2 in assignments with a function ↵Campbell Barton
which orders on assignment.
2013-08-24avoid double ghash lookup in sculpt map_insert_vertCampbell Barton
2013-08-24add versions of BLI_ghash_int_new, BLI_ghash_str_new, etc. that take a ↵Campbell Barton
reserve argument.
2013-08-24revert bucket size change (edgehash was this way for years, since r26206, ↵Campbell Barton
ghash since r57657) having 2 free buckets for each entry is faster but uses more memory. use the original size, best case 3 entries per bucket.
2013-08-24Fix #36541: blender internal raytrace render hangs with high ray depth. The codeBrecht Van Lommel
here is not efficient for such cases, a ray depth can give up to 2^depth rays due to the ray splitting in two at each depth. A proper solution requires a better algorithm, for now I've ensured that you can at least cancel such renders. The overhead from the extra test_break is negligible.
2013-08-24use reserve argument for more edgehashsCampbell Barton
2013-08-24fix for leak in cloth modifierCampbell Barton
- any error in cloth_build_springs wasn't freeing the edge-hash. - was checking BLI_edgehash_haskey on matching vertices. - was looping over setting NULL for all elements of a calloc'd array.
2013-08-24when the size of an edgehash is known or can be guessed,Campbell Barton
pass in the argument to reserve the size.
2013-08-24fix for leak in make_edges_mdata() if there were no edges to create,Campbell Barton
also reserve the total number of edges in the hash when its created.
2013-08-24edge hash: take an arg for the guarded-malloc string (as ghash does)Campbell Barton
2013-08-24ghash and edgehash api, allow newly defined hashes to take in the size of ↵Campbell Barton
the hash as an arg (avoids resizing in simple cases when the hash is created and filled immediately).
2013-08-24== filebrowser ==Andrea Weikert
* fix old bug: wrong layout that could happen when switching between thumbnail view and list view. This caused the layout to be recalculated sometimes and the items being moved. Reason was that the layout was wrongly initialized without the scroll bars, so calculated wrongly.
2013-08-24fix for GPU_update_bmesh_buffers not setting bmesh vertex index values as ↵Campbell Barton
dirty (could cause errors later).
2013-08-24Fix for [#36374] Read unitialized memory in Freestyle.Tamito Kajiyama
A variable keeping a bounding box was referenced after it was flagged as empty.
2013-08-24style cleanup: space around for loop wrappersCampbell Barton
2013-08-24Fix 36505: Collada exporter crashes Blender when exporting to locked fileGaia Clary
2013-08-24fix for crash in weight-paint-gradient, missing call to curve ↵Campbell Barton
curvemapping_initialize
2013-08-24Fix [#36330] Clicking Scrolled Object Properties Tab Brings Up Wrong OneBastien Montagne
Actually, happened in any view2D... Just added a call to WM_event_add_mousemove() in view_pan_apply, so that overed/active button is refreshed in this case.
2013-08-24add GPL header to treehash.c and add missing includes to cmake.Campbell Barton
2013-08-24code cleanup: change to r59443, TRUE/FALSE are deprecated, see BLI_sys_types.hCampbell Barton
2013-08-24Fix #36441: opengl render of smoke wrong after regular render with blender ↵Brecht Van Lommel
internal. Object.imat isn't always the inverse of Object.obmat, needs to be set before usage as mentioned in DNA_object_types.h. Thanks to Miika for tracking down the cause of this bug.
2013-08-24Related to [#36548] "Grease Pencil" ProblemsBastien Montagne
Use scene's GPencil when active object is deselected. Else it can be tricky and not user-friendly to access to the scene's GPencil once some objects have GPencil data (you have to select/active a non-gpencil object, or switch to a layout without active object...).
2013-08-24Code cleanup: use TRUE/FALSE instead of 1/0 for bool properties default ↵Bastien Montagne
values...
2013-08-24Fix state losses for recursive outliner trees (e.g. datablocks editor)Sv. Lockal
In previous optimization in outliner I assumed that order in treehash was not important. But testing outliner in datablocks mode revealed a problem: when user expands multiple recursive levels and then closes any element, it always closed the top level of recursion. Now it should work fine with recursive trees. Now treehash contains groups of elements indexed by (id,nr,type). Adding an element with the same (id,nr,type) results in appending it to existing group. No duplicates are possible in treehash. This commit should also make lookups a little bit faster, because searching in small arrays by "used" is faster than searching in hashtable with duplicates by "id,nr,type,used".
2013-08-23Fix compile in Visual Studio 2008:Andrea Weikert
* isfinite is not defined, in Blender code we use 'finite' instead
2013-08-23UI layout: Fix the fact that children layouts were implicitely ↵Bastien Montagne
inconditionnaly aligned when the parent was. E.g.in col = layout.column(True) row = col.row(False) Items in row would be 'aligned' in the same group as those in col. Now to get this happening, you have to set row as aligned as well. Please note that fixes for py UI scripts will follow in another commit. Also fixed labels of RNA pointers searchboxes, which were missing the colon!
2013-08-23patch to add backkbacks for game engine start/end,Campbell Barton
by sjoerd_de_vries
2013-08-23simplify dist_to_plane_v3 and add dist_squared_to_plane_v3Campbell Barton
2013-08-23Fix [#36538] Discontinuity (Euler) Filter - never ends - (deadlock?)Bastien Montagne
Code could enter in an infinite loop when curve value was an odd multiple of PI (i.e. 180°)... Current code was also factorized and got rid of fabs calls! ;)
2013-08-23math api edits - replace point-normal form for a plane with dist_to_plane_v3()Campbell Barton
also correct python mathutils api, was missing vector checks.
2013-08-23new mesh bisect had a problem not selecting faces with fill option in face mode.Campbell Barton
2013-08-23fix error in recently added symmetrize rewrite, verts already on the aligned ↵Campbell Barton
to the mirror-plane would not be welded.
2013-08-23fix leak in BM_face_split() with multires if the split failed.Campbell Barton
also remove redundant normal copy. only triangulate the mesh if its needed when enabling dyntopo.
2013-08-23new mesh bisect tool, available in the mesh menu.Campbell Barton
cuts the mesh in half based on the cursor location and the viewport, optionally supports filling the cut area (with uvs. vcols, etc), and removing geometry on either side of the cut.
2013-08-23correct error in recent commit triangle-fill-dissolve, need to check if the ↵Campbell Barton
edges face is removed (happens in rare cases).
2013-08-23* Compile fix for r59395, 'move bmesh tools into their own include'. Thomas Dinges
2013-08-23_another_ fix for recently added bisect operator, looping over mixed ↵Campbell Barton
geometry could read freed memory when vertices were removed.
2013-08-23add dissolve option to triangle fill operator, running dissolve after ↵Campbell Barton
scanfill isn't so simple because of errors if one edge can't merge.
2013-08-23fix for error in recetly added bisect operator, in rare cases it could ↵Campbell Barton
attempt to remove vertices twice.
2013-08-23optiona for bmesh triangle fill operator to take a normal argumentCampbell Barton
2013-08-23set function args in BLI_math_rotation as const where possible.Campbell Barton
2013-08-23Tracking Python API improvementsSergey Sharybin
- Solved issue with changing marker's frame number for tracks which doesn't belong to camera object. - Support find_frame, insert_frame and delete_frame functions for plane markers.
2013-08-23Fix #36535: Color difference when saving imageSergey Sharybin
Issue was caused by precision loss in alpha under code. Now it might be slower a bit, but it's as precise as it could be. At least i hope so :)
2013-08-23edits to new symmetrize toolCampbell Barton
- snap axis-aligned verts to the center. - expose the threshold for detecting if a vertex is on the axis.
2013-08-23modify closest_to_plane_v3 not to use point-normal form.Campbell Barton