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-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
2013-05-30remove duplicate sys-types headers.Campbell Barton
also change define checks in BLI_sys_types.h (was warning a lot in linux about unused defines).
2013-05-29Addition to r57094 by Campbell:Jürgen Herrmann
VS 2010 and 2012 have stdint.h so we should use them for consistency instead of defining the inttypes ourselves. Added if condition for for stdint.h include for >= VS 2010 P.S.: Compiled and tested on VS2008-2012 and MinGW with scons and CMake ;)
2013-05-29Make sure bool will always have the same size in C and C++Sergey Sharybin
There were an issues with data structures defined in headers and being used by both C and C++ on systems with stdbool unavailable. This happened because bool in this case will be defined as unsigned int, which is 4 bytes. But C++'s bool is only 1 byte and this lead to alignment issues. Now bool is always 1 byte, also made sure there's no situation like bool foo = BitField & BitFlag, which could give overflow issues. Use (BitField & BitFlag) != 0 instead. Fixes #35553: Compositor broken (Backdrop & Preview)
2013-05-28add BLI_sys_types.hCampbell Barton
2013-05-28move BLO_sys_types.h -> BLI_sys_types.h (it had nothing todo with loading)Campbell Barton
remove MEM_sys_types.h which was a duplicate.
2013-05-28reorder includes for winCampbell Barton
2013-05-28optimize mirror merging, remove array reallocation, replace with fixed size ↵Campbell Barton
arrays.
2013-05-27fix error in own recent commit, also other minor changes.Campbell Barton
2013-05-26BLI_math rename functions:Campbell Barton
- mult_m4_m4m4 -> mul_m4_m4m4 - mult_m3_m3m4 -> mul_m3_m3m4 these temporary names were used to avoid problems when argument order was switched.
2013-05-26bmesh: replace BLI_array reallocs with alloca, also don't check all faces ↵Campbell Barton
for connecting verts.
2013-05-26code cleanup: quiet pedantic warning in array macro.Campbell Barton
2013-05-25use math functions rather then macros for bicubic interpolation.Campbell Barton
2013-05-23Support for bridge tool subdivisions, smoothing and shape along the profile.Campbell Barton
also added the underlying subdivision as a standalone operator in the edge menu, named: subdivide edge-ring. http://www.graphicall.org/ftp/ideasman42/bridge_subd.png
2013-05-21code cleanup: remove callbacks only added to wrap MEM_freeNCampbell Barton
2013-05-20code cleanup: scons - binreloc include was copied all over the place for no ↵Campbell Barton
reason, -pthread too.
2013-05-20code cleanup: split scons includes onto multiple lines, reduce chance of ↵Campbell Barton
include conflicts later on.
2013-05-20code cleanup: replace PARALLEL define with _OPENMPCampbell Barton
2013-05-19style cleanupCampbell Barton
2013-05-19code cleanup: simplify fast_ray_nearest_hit()Campbell Barton
2013-05-14style cleanupCampbell Barton
2013-05-13fix for building with mingwCampbell Barton
2013-05-12bmesh recalculate normals - remove BLI_array reallocation, the max size of ↵Campbell Barton
the array is known. replace with STACK_* macros (moved to BLI_utildefines.h).
2013-05-12Fix #35319: python 2x2 matrix inverse and adjugate were wrong.Brecht Van Lommel
2013-05-12quiet sign conversion warnings and reduce sign conversion for BLI_string, ↵Campbell Barton
and BLF.
2013-05-12correct assert for driver evaluation,Campbell Barton
also add asserts for listbase functions when the list is NULL, and use noreturn attribute for jpeg_error.
2013-05-11utility functions to reverse and rotate linklists.Campbell Barton
2013-05-10Fix #35270: files with numbers higher than 2147483648 or with different numbersBrecht Van Lommel
of leading zeros but otherwise the same would show in random order in the file browser. Selecting an item would change the order of all the items. Problem was that it was comparing by parsing the number into an int, which has only limited precision and does not care about the number of leading zeros. Now do the comparison directly on the string.
2013-05-10use unsigned ints for edgehashCampbell Barton
2013-05-10Optimize BKE_mesh_calc_normals(), gives approx 25% speedup.Campbell Barton
- no need to allocate polygon normal array. - no need to use BLI_array_ functions (realloc's). - reduce some of the looping.
2013-05-09bmesh: optimize bmesh_vert_separate, redice allocs (best cast it wont do any ↵Campbell Barton
allocs). gives approx 16% overall speedup to edgesplit modifier. also reduce size of smallhash stack, was 521, which got doubled and was quite large on the stack. reduce to 64.
2013-05-08more optimal method of calculating the normal for the solidify modifier.Campbell Barton
When adding 2 unit length vectors, the length can be used to calculate the angle.
2013-05-08Fix #35240: command line -t number of threads option did not work for cycles.Brecht Van Lommel
Now it works for blender internal, cycles and other multithreading code in Blender in both background and UI mode.
2013-05-08add in asserts when rv3d->viewmatob, rv3d->persmatob are not initialized.Campbell Barton
This is often hard to spot since in many cases it works correctly even when not initialized but may still fail in other situations.
2013-05-08rename BLI_ghashIterator_notDone() -> BLI_ghashIterator_done()Campbell Barton
was renamed fairly recently but other similar iterators not negated like this, would prefer to keep it as it was
2013-05-08remove unused define CLAMPTEST, move INPR toCampbell Barton
collision_compute_barycentric(), only place its used.
2013-05-08warn of sign conversions for low level apis - ghash, heap, mempoolCampbell Barton
2013-05-08add matrix multiply for projection that outputs 2d values.Campbell Barton
2013-05-08use unsigned int's for smallhash, avoids using ABS when converting anCampbell Barton
int from a key.
2013-05-06fix for cursor jumping error stepping backwards where the the first ↵Campbell Barton
character of a string would be skipped no matter what it was.
2013-05-05correction for uv template, also some doxygen comment corrections. Campbell Barton
2013-05-03knife sort_by_frac_along was re-calculating the reference factor for every ↵Campbell Barton
test, change to only calculate once and use line_point_factor_v3(). also add zero division check for line_point_factor_v3() since the 2d version already checked for this.
2013-05-02make rna layer access less cryptic by using ARRAY_HAS_ITEM(), modified this ↵Campbell Barton
to use unsigned offset.
2013-05-01Fix #35081: opening .blend files with chinese characters not working. ForBrecht Van Lommel
compressed files we were not passing the full wide char path to zlib, so not all file names worked. Now we use gzopen_w available in new zlib versions. Patch by Tamito Kajiyama, I added an extra check for the zlib version so it keeps compiling with older versions for now. For platform maintainers: Part of this commit are zlib 1.2.8 libraries for windows 32 bit. We still need update libraries for windows 64 bit and mingw. There's a readme.txt and build.bat included with instructions on how to build.
2013-04-30More painting fixes:Brecht Van Lommel
* 2D image painting with textures that contained alpha did not work correctly, had been broken for a while. * 2D image panels texture (mask) panels showed wrong buttons for texture overlay. * Texture map mode 3D now also uses masking, like Tiled and Stencil the texture does not move along with the brush so it works fine. * 2D image paint View mapping did not work correct, especially noticeable with Rake rotation. * Masking is now disabled for the smear tool, this can't really work because the original image is constantly changing and gave artifacts.