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-09-01Move GCC attributes into a centraized definesSergey Sharybin
Instead of having ifdef __GNUC__ all over the headers to use special compiler's hints use a special file where all things like this are concentrated. Makes code easier to follow and allows to manage special attributes in more efficient way. Thanks Campbell for review!
2013-09-01Tag unused arg as unused.Sergey Sharybin
2013-09-01Remove some unneeded type conversions.Sergey Sharybin
2013-09-01add view3d roll to navigation menu.Campbell Barton
2013-09-01Fix OS X compile error after enabling strict build flags for this module.Brecht Van Lommel
2013-09-01Fix #36620: sss + indirect light rendering artifacts, due to wrong ↵Brecht Van Lommel
correlation in the random numbers.
2013-09-01Fix #36613: view select/all shortcuts not working in graph editor with theBrecht Van Lommel
maya key configuration preset.
2013-09-01Patch #36622, by Henrik Aarnio: Fit backdrop image to the area dimensions.Lukas Toenne
A new operator to alter the backdrop zoom level so that it fits fully within the node editor area, and centers the image. Shortcut alt-home, as home is used for fitting stuff into the view everywhere.
2013-09-01kd-tree,Campbell Barton
- replace numbers with defines for allocation increments and default array size. - move array reallocation into a static function (deduplicate 2x). also fix own mistake with uninitialized slop-space var in memory printing statistics.
2013-09-01Mingw/Windows Compiling Fix:Joshua Leung
In file included from source\blender\compositor\operations\COM_PlaneTrackMaskOperation.cpp:31:0: source\blender\blenlib/BLI_jitter.h:36:65: error: expected ',' or '...' before numeric constant source\blender\blenlib/BLI_jitter.h:37:65: error: expected ',' or '...' before numeric constant It appears that an include used in COM_PlaneTrackMaskOperation.cpp brings in some Windows header file, which in turn defines rad/rad1/rad2 as some numeric constants.
2013-09-01Mingw Compiling Fix - Conversion from int to unsigned char...Joshua Leung
Apparently mingw/gcc is too stupid to recognise that the values in alphatest will only be used if they're within the range of unsigned char (i.e. 0 <= x < 255) when this is done using a ternary operator. Then again, it's quite hard for humans to immediately parse what is going on here either! Converting this clever code back to a more obvious form that mere mortals (and compilers it seems) can handle with ease ;)
2013-09-01Mingw/Windows Compiling FixJoshua Leung
This commit attempts to fix the following error: intern\guardedalloc\intern\mallocn.c: In function 'rem_memblock': intern\guardedalloc\intern\mallocn.c:977:48: error: conversion to 'intptr_t' from 'size_t' may change the sign of the result [-Werror=sign-conversion] From the references I've managed to find, it appears that the second arg to munmap() should be size_t not intptr_t. Fortunately though, we don't use this arg anyways atm, so this should be quite harmless...
2013-09-01use strict flags for lasso, boxpack, gsqueue and quadric's.Campbell Barton
for lasso also use unsigned ints rather then shorts for the path length.
2013-09-01use strict flags for scanfill, also replace shorts with unsigned shorts and ↵Campbell Barton
ints/bools in some cases.
2013-09-01use strict flags for guarded allocCampbell Barton
2013-09-01move strict compiler checks into a header so its easier to manage in one ↵Campbell Barton
place (pragmas were copied around). also enable more strict warnings for BLF (which had some incorrect casts).
2013-08-31Cycles:Thomas Dinges
* World background samples (Branched Path) were missing after integrator rename.
2013-08-31patch [#35928] View roll operatorCampbell Barton
from Kevin Mackay (yakca), with my own additions to make it modal (though there are no keys bound to modal roll by default).
2013-08-31text spacing was using DPI rather then the size of the text.Campbell Barton
characters could draw outside the selection when the text was scaled up.
2013-08-31text drawing glitche - highlight line was offset slightly from selection.Campbell Barton
2013-08-31remove calls to CTX_wm_region(C) when the region is already known.Campbell Barton
also remove unused toggle vars in uiHandleButtonData
2013-08-31fix for ui glitch, pressing backspace over a button to reset to the default ↵Campbell Barton
value didnt work for the uilist text button (others too), missing redraw.
2013-08-31Cleanup:Thomas Dinges
* Silence /arch:SSE2 warning on msvc x64.
2013-08-31Cycles: Thomas Dinges
* More build fixes, 2 link errors remain. http://www.pasteall.org/45279 Note: Probably those paths should only be added for Windows and Linux, as "OPENIMAGEIO_LIBPATH" already inherit them for Mac OS. Also "OPENIMAGEIO_LIBRARIES" inherits the libs for Linux already. Is that intended or a lack of consistency?
2013-08-31Cycles / Standalone:Thomas Dinges
* Fix some link errors on Windows, still missing png, zlib, jpeg and tiff. I couldn't yet figure out the correct flags to pass on here, and the 2300 lines huge main CMakeLists file doesn't help with it...
2013-08-31tweak mempool loop comparisons when we know there is no chance for skipping ↵Campbell Barton
past the last value. also correct typo.
2013-08-31Simplify line/plane intersection, add line_plane_factor_v3().Campbell Barton
Remove no_flip option for isect_line_plane_v3(), its quite specific and only used for ED_view3d_win_to_3d().
2013-08-31Cycles: viewport render now takes scene color management settings into account,Brecht Van Lommel
except for curves, that's still missing from the OpenColorIO GLSL shader. The pixels are stored in a half float texture, converterd from full float with native GPU instructions and SIMD on the CPU, so it should be pretty quick. Using a GLSL shader is useful for GPU render because it avoids a copy through CPU memory.
2013-08-31RenderEngine API: add viewport draw utility functions to bind a GLSL fragmentBrecht Van Lommel
shader for converting colors from linear to display space, based on the scene color management settings. if engine.support_display_space_shader(scene): # test graphics card support engine.bind_display_space_shader(scene) # draw pixels .. engine.unbind_display_space_shader()
2013-08-31Fix #36137: cycles render not using all GPU's when the number of GPU's is largerBrecht Van Lommel
than the number of CPU threads
2013-08-31remove unnecessary check in BLI_mempool_iterstep and add doxygen comments to ↵Campbell Barton
mempool.
2013-08-31mempool internal change, use unsigned ints where possible (less overhead),Campbell Barton
also quiet compiler warning for BLI_LINKSTACK_FREE macro.
2013-08-31use CMAKE_DL_LIBS rather then linking libdl directly.Campbell Barton
added to cycles standalone too.
2013-08-30Fix for [#36610] The new sky model produces strange resultsThomas Dinges
* Clamp theta sky coordinates, to prevent a negative solarElevation. Note: This means that you cannot get absolute night with the new model, but this is not supported anyway. So when you reach the maximum sunset, use the World Strength to further decrease the light.
2013-08-30Cycles / Standalone:Thomas Dinges
* Standalone can now be compiled without the GUI, making the glut dependency optional. Added WITH_CYCLES_STANDALONE_GUI cmake flag.
2013-08-30Fix #36609: glsl materials with reroute nodes not working correct.Brecht Van Lommel
2013-08-30Fix #36611: cycles issue loading png file with 2 channels.Brecht Van Lommel
2013-08-30quiet compiler warningsCampbell Barton
2013-08-30Cycles Standalone: Thomas Dinges
* Fix compiler warning, == / = mismatch.
2013-08-30Some knife fixes. Avoids duplicating verts; better handling of cut-through ↵Howard Trickey
ortho. Now cut lines detect vertices that they pass (almost) exactly over and snap to them, to avoid making verts vert close to other ones. Added radius arg to BKE_bmbvh_ray_cast so that can detect an obscuring face when the ray might otherwise go exactly between two triangles. Needed an isect_line_tri_epsilon function for similar reason. Fixes last part of bug #35002. Other knife bugs still present but getting this commit in now before continuing bug fixing.
2013-08-30Cleanup, bitflags as bitshift ops, and some formating...Bastien Montagne
2013-08-30execute bisect immediately (without starting modal input) if the plane is ↵Campbell Barton
already set or if there is no 3d view available.
2013-08-30minor ui editsCampbell Barton
- move addon refresh button into header - uilist, use icon for sorting by name (gives more room for name, icon is used in fileselector for same purpose). - rename orderby to sort in rna and flag names. - simplify BKE_nurb_handle_calc_simple
2013-08-30refresh paint_common_properties file on script refresh, found by Sebastian ↵Antony Riakiotakis
Koenig, thanks
2013-08-30Followup for rev59629.Sergey Sharybin
Condition in pose mode seemd to be inverted, which made it so pose mode could not be entered.
2013-08-30Fix [#36600]: Smoke subframes not working with initial velocityMiika Hamalainen
2013-08-30Fix for [#36599] Freestyle: Line thickness modifier with certain blend types ↵Tamito Kajiyama
incorrectly calculated. The inner/outer thickness values were separately blended by Multiply, Divide and other binary operators, which resulted in the wrong thickness values reported in the issue. The operations must be applied to the sum of the inner and outer thickness values. Also the Minimum and Maximum operators were not properly implemented (one of the two operands were ignored by mistake).
2013-08-30Fix #36605: Segfault when border selecting markers in the "graph" mode when ↵Sergey Sharybin
no track is active
2013-08-30Attempted fix for #36569: couldn't unmap memory errors on Windows. The ↵Brecht Van Lommel
guardedalloc optimizations were not entirely thread safe for mmap.
2013-08-30Cleaning up some prints related to SDL.Mitchell Stokes