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-07-19style cleanup: switch statements, include break statements within braces & ↵Campbell Barton
indent. also indent case's within the switch (we already did both of these almost everywhere)
2013-07-19code cleanup: use __linux__ define over linuxCampbell Barton
2013-07-19optimization: avoid extra loop in BLI_mempool_destroy(). free the list inline.Campbell Barton
2013-07-19code cleanup: simplify BLI_parent_dir using BLI_join_dirfileCampbell Barton
2013-07-19code cleanup: avoid sqrt in isect_seg_seg_v2_pointCampbell Barton
2013-07-16fix for checking char arrays against NULL, instead check their first ↵Campbell Barton
character. also remove some dead code (return directly after return).
2013-07-16correct own incorrect check bmesh edgerin subdivide, also add missing break ↵Campbell Barton
in orthogonalize_m3 though this one wouldn't effect release builds.
2013-07-16revert part of own commit r58254, utf8 isnt stepping by 1 always so use ↵Campbell Barton
less-than comparison.
2013-07-15correct placement of debug memset() for DEBUG_STRSIZECampbell Barton
2013-07-15fix for error in string copyCampbell Barton
- BLI_strncpy_wchar_from_utf8 wasn't NULL terminating the destination string, caused uninitialized memory use in BPY_python_start(). - BLI_strncpy_wchar_as_utf8 could write one byte past the buffer bounds.
2013-07-15debug option (off by default), for BLI_string to help find incorrect sizes ↵Campbell Barton
being passed in (enable in source files only)
2013-07-15fix [#36107] Moving origin of instanced objects doesn't work properlyCampbell Barton
now use the active object first if its selected, this means when multiple instances are selected, using the active object gives a predictable outcome.
2013-07-13fix for orthogonalize_m3,4, missing break statements in switch.Campbell Barton
2013-07-12optimize interp_weights_poly_v2(), well tested, was calculating the area ↵Campbell Barton
twice as much as was needed.
2013-07-11fix [#36105] Bevel UV FlickerCampbell Barton
interp_weights_poly_v2/3 functions used much too small an epsilon value, caused flickering.
2013-07-11utility function for printing arbitrary sizes vectors.Campbell Barton
2013-07-10no need to copy mat4x4 -> 3x3 in mat4_to_scaleCampbell Barton
2013-07-09Partial revert of rev58110Sergey Sharybin
There's one thing we didn't foresee from the beginning, which is apparently TLS is only available in OSX starting from version 10.7, and we still do support of 10.6. After recent Brecht's changes about locked viewport while initializing BI render this TLS is not needed in trunk anymore. So reverting this chunk of base iteration to use static variable. But leaving all the other static variables warped into context still, it should help a bit in the future refactor. Real fix would be to have some kind of graph context evaluation structure which would be passing to update routines (which will solve threaded mballs update) and making depsgraph responsible for getting a motherball. But this is all for GSoC project.
2013-07-09Fixed more threading issues with metaballsSergey Sharybin
This time issue was caused by static variables used in BKE_scene_base_iter_next function. Change is not so much ultimate actually, but didn't find more clear solution for now. So the changes are: - Wrap almost all the static variables into own context- like structure, which is owned by the callee function and getting passed to the iteration function. - Recursion detection wasn't possible with such approach, so recursion detection still uses static in_next_object variable, but which is now stored in thread local storage (TLS, or thread variable if this names are more clear for you). This makes code thread-safe, but for sure final solution shall be completely different. Ideally, dependency graph shall be possible to answer on question "which object is a motherball for this metaball". This will avoid iterating via all the bases, objects and duplis just to get needed motherball. Further, metaball evaluation ideally will use the same kind of depsgraph filtering, which will get result for question like "which objects belongs to this group of metaballs". But this ideal things are to be solved in Joshua's and mind GSoC projects. Tested on linux (gcc and clang) and windows (msvc2008), hopefully no compilation error will happen. Thanks to Brecht for reviewing the change and getting feedback for other possible ways we've dicussed!
2013-07-09fix [#36066] crash when Tab out text objectCampbell Barton
the way Curve.len is used at the moment is really stupid, calculate string size on save for now, but should really store the length in bytes and total number of characters.
2013-07-08Fix #35960, #36044: blender internal viewport rendering crash while editing ↵Brecht Van Lommel
data. Now the viewport rendering thread will lock the main thread while it is exporting objects to render data. This is not ideal if you have big scenes that might block the UI, but Cycles does the same, and it's fairly quick because the same evaluated mesh can be used as for viewport drawing. It's the only way to get things stable until the thread safe dependency graph is here. This adds a mechanism to the job system for jobs to lock the main thread, using a new 'ticket mutex lock' which is a mutex lock that gives priority to the first thread that tries to lock the mutex. Still to solve: undo/redo crashes.
2013-07-05fix [#35987] bevel gives nan verticesCampbell Barton
The line intersection function bevel uses could give nan intersections.
2013-07-02remove nan copyrights from code added since blender become opensource (copy ↵Campbell Barton
paste errors), also remove BKE_script.h
2013-06-28fix for out of bounds read in BLI_path_relCampbell Barton
2013-06-27- remove edge collapse loop operator (now replaced by dissolve).Campbell Barton
- fix missing null pointer check from own recent changes. - add asserts if BLI path functions are given wrong id's
2013-06-26remove unused callbackCampbell Barton
2013-06-26correct typos in comments.Campbell Barton
2013-06-25Fix #35824: finding missing files not working correct for filepaths with specialBrecht Van Lommel
characters on Windows. Replaced some uses of stat() by BLI_stat() to properly handle such filepaths.
2013-06-24remove own optimization in scanfill, in rare cases it caused problems, ↵Campbell Barton
reported as [#35861]
2013-06-23remove vec_rot_to_mat3(), replace with axis_angle_normalized_to_mat3()Campbell Barton
2013-06-23Make edgehash and ghash use the same limit for expanding buckets, r26206 ↵Campbell Barton
changed ghash. double checked and r26206 does indeed give a speedup, so change for edgehash too.
2013-06-23reduce sign conversion comparisons for smallhash and tweak warnings elsewhere.Campbell Barton
2013-06-23build fix for old gccs (after rev.57620)Dalai Felinto
enabling the new pragmas only when gcc >= 4.6 gcc 4.2.1 here (OSX)
2013-06-21Code cleanup: fix some vs2012 compiler warningsBrecht Van Lommel
2013-06-20reduce sign comparisons for ghash and add more strict warnings for gcc.Campbell Barton
2013-06-20move sort from vert/edge/face into mesh menu only (sorting isn't such a ↵Campbell Barton
common operation). correct own recently added assert.
2013-06-19correct for own regressions when refactoring select-path, was using heap ↵Campbell Barton
popmin incorrectly.
2013-06-18Fix for own mistake in r57555 :-(Jürgen Herrmann
Add include to autoexec.c instead of BLI_path_util.h Thanks Bastien Montagne for the hint.
2013-06-18Compile fix for r57554 missing include "BLI_string.h" in BLI_path_util.hJürgen Herrmann
2013-06-17fix for editmesh transform connected,Campbell Barton
the distance checks could get into a feedback loop so that the result depended on the order of verts/edges. now you can randomize vert/edge/faces and get exactly the same results. also made some internal improvements, - used fixed sized arrays (no need to realloc). - use vertex tag flags rather then a visit-hash. - remove 'tots' array that did nothing (not sure why it was added).
2013-06-16add BLI_strcpy_rlen, replace strcat, which was used in misleading way.Campbell Barton
2013-06-14utility function for calculating smooth groups from sharp edges: ↵Campbell Barton
BKE_mesh_calc_smoothgroups
2013-06-13Fix #35634: weight paint did not do z-buffer culling anymore on Windows ↵Brecht Van Lommel
after recent change to size of bool.
2013-06-10code cleanup: use boolean for intersection functions.Campbell Barton
2013-06-07text rendering: shadow offset was causing text to clip, now check for ↵Campbell Barton
clipping without the shadow since not-drawing characters because of subtle effect is rather annoying.
2013-06-06style cleanupCampbell Barton
2013-06-03add asserts when scanfilling or triangulating with zero length normal.Campbell Barton
2013-05-30remove null checks for list functions, all hard asserts so we would have ↵Campbell Barton
noticed problems already.
2013-05-30UI: support 3 digit hex colors like HTML, e.g. #123 becomes #112233.Brecht Van Lommel
Patch #35359 by Forest Ka.
2013-05-30remove redundant includes from cmake and scons.Campbell Barton