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
2011-09-15fix [#28658] python can assign non utf8 and crash because of string lenth ↵Campbell Barton
limits. add BLI_strncpy_utf8() which which ensures there are no partially copied UTF8 characters, limited by the buffer size.
2011-09-15move utf8 string.c functions into their own file, also add python tip for ↵Campbell Barton
printing operators.
2011-09-12use vector size and const args where possible (no functional change)Campbell Barton
2011-09-12replace VECCOPY -> copy_v3_v3, added copy_v*_v*_short too for typesafe ↵Campbell Barton
copying, some parts of the code are copying float -> short normals without scaling. fix coming next.
2011-09-11minor edits / cleanup - no functional changes.Campbell Barton
- use 'const float *' and array size in some function declarations. - replace macros for BLI_math functions INPF, VECCOPY, VECADD etc. - remove unused VertRen.clip struct member. - remove static squared_dist() from 2 files, replace with BLI_math function len_squared_v3v3(). - use vertex arrays for drawing clipping background in the 3D viewport.
2011-09-09Apply small patch by Shane Ambler:Nathan Letwory
* inline of math funcs for Apple PPC * eltopo big/little endian ifdef
2011-09-09- turn RNA_warning into a macro which includes the function name (was being ↵Campbell Barton
written in manually but had incorrect func names in places). - add __func__ define to BLI_utildefines.h for MSVC.
2011-09-06fix for error in strinc.c's BLI_strescapeCampbell Barton
2011-09-06Merged the particles-2010 branch with node improvements into trunk.Lukas Toenne
This branch adds mostly organizational improvements to the node system by renaming the node folders and files. A couple of internal features have been added too. Detailed information can be found on the wiki page: http://wiki.blender.org/index.php/User:Phonybone/Particles2010
2011-09-05Code cleanup: warning fixes.Brecht Van Lommel
2011-09-05Fix #28394: clouds texture error with high noise depth and blender originalBrecht Van Lommel
noise, patch from Campbell,
2011-09-01spaces -> tabs (configure you're editors right!)Campbell Barton
2011-08-31patch [#28218] During-render callback functionalityCampbell Barton
from Jesse Kaukonen (gekko) --- text from the patch. Recently Campbell Barton added callback functionality for Python's usage, but this only includes pre- and post-render callbacks. There are no callbacks for the duration of the render. This patch adds the few lines required for executing a callback while Blender Render is working. The callback resides in the rendering pipeline stats function, so whenever statistics are printed, the callback is executed. This functionality is required if one wants to: 1) Observe what is happening while Blender is rendering via the command line 2) Add custom statistics that Blender prints while the renderer works 3) The user wants to continue executing his Python script without the code halting at bpy.ops.render.render() Personally I'm currently using this for printing out more detailed progress reports at Renderfarm.fi (such as CPU time, time spent rendering, total progress in regards to the entire rendering process). Tested on Windows, Linux and OS X. Example on how to use the callback: def statscall(context): print("Thanks for calling!") bpy.app.handlers.render_stats.append(statscall) bpy.ops.render.render(animation=False, write_still=True)
2011-08-31typo fix: end of lines ;; --> ;Campbell Barton
2011-08-30Fixes for snprintf usage:Brecht Van Lommel
* replace by BLI_snprintf in various places, note _snprintf on windows does not properly null terminate the string. * fix overflow in sequencer proxy code due to buffer being smaller than specified size. * fix some usage of snprintf as strcpy, this is will go wrong if the string contains % characters. * remove BLI_dynstr_printf function in gpu module, use BLI_dynstr_appendf
2011-08-30fix for some warnings with the recent merge, also tag unused args.Campbell Barton
2011-08-28RNA_property_as_string now escapes the string (so operator redo can include ↵Campbell Barton
strings with ", \n etc), also fixed a bug in string escape length limit.
2011-08-28- use static vars and functions where possible.Campbell Barton
- use NULL rather than 0 when used as pointers.
2011-08-28remove implicit casts to doubles in the noise code, also use floating point ↵Campbell Barton
math functions rather then double since the noise functions range is already limited by casting to ints in many places. - gives a very small speedup.
2011-08-28fix [#28388] Clouds at high depth give artifacts.Campbell Barton
http://projects.blender.org/tracker/download.php/9/498/28388/17476/screen_bad.png
2011-08-27remove deprecated & unused mat3_to_vec_rot and mat4_to_vec_rot functions.Campbell Barton
2011-08-27eek F4TOCHAR4 was assigning alpha twice too!, tsk tsk.Campbell Barton
2011-08-27F3TOCHAR4 macro was assigning the same value twice (setting the alpha, then ↵Campbell Barton
overwriting with 255).
2011-08-27sub_v4_v4v4 was taking float[3] arguments.Campbell Barton
2011-08-23BLI_strescape for a basic, python like string escaping, currently only use ↵Campbell Barton
for drag and drop ID's into the console but should eventually be used for the animsys too.
2011-08-23change compression level for gzip saving to 1, approx twice as fast when ↵Campbell Barton
saving a 194mb blend file and only slightly bigger.
2011-08-19warning cleanup for -Wdouble-promotionCampbell Barton
2011-08-15Code cleanup: add UNUSED_FUNCTION macro to avoid warning messages about unusedBrecht Van Lommel
functions.
2011-08-15comment unused lines.Campbell Barton
2011-08-12un-inline GHash functions r26206, these are quite large functions to inline ↵Campbell Barton
and increase binary size by 30kb, (tested on stripped, cmake release build). Ran some speed tests and difference was close to the noise level, but inlining gives only ~2 - 3% speedup with build modifier which uses ghash a lot.
2011-07-31== PBVH ==Nicholas Bishop
OK, after that failure of committing a bunch of old junk, hopefully this is what I actually meant to commit :) * Added big comments to some of the fields in struct PBVHNode. I always forget the details of these, so finally wrote it down properly. * Changed types of PBVHNode.face_vert_indices and PBVHNode.flag to better reflect their contents. * There should be no functional changes here.
2011-07-30quiet some compiler warnings & fix possible (but unlikely) crash.Campbell Barton
also added GPLv2+ header to resources.c.
2011-07-20patch [#28031] Minor typo in BlenlibCampbell Barton
from Scott Giese (sgiese)
2011-07-17cmake: cleanup include paths, some duplicates and going up some unneeded dirs.Campbell Barton
2011-07-17cmake source definitions:Campbell Barton
remove missing includes and use more strict formatting.
2011-07-09fix for NULL pointer usagesCampbell Barton
2011-07-06Fix #27877: writing .avi files > 4 GB not working on windows.Brecht Van Lommel
Solution is to replace "long" by "int64_t" and "fseek" by "_fseeki64", because long on 64 bit windows is still 32 bit.
2011-07-05Patch #27842: build fix for solaris, missing finite(). Patch by A. Hettinger.Brecht Van Lommel
2011-07-04Paths: remove some temporary code that was only needed for 2.57.Brecht Van Lommel
2011-07-04fix for own error in intersect_line_sphere_2d(), using 3d function on 2d vectorsCampbell Barton
2011-07-03fix 2 bugs in project from view from a camera objectCampbell Barton
- panorama mode was scaled 2x too high. - scaled camera objects would incorrectly effect the result.
2011-07-03fix [#27839] UV 'Project from view' ignores camera lens shiftCampbell Barton
2011-06-262d version of line/circle intersec function.Campbell Barton
2011-06-26renamed math functions and made publicCampbell Barton
lambda_cp_line --> line_point_factor_v3 lambda_cp_line2 --> line_point_factor_v2 correction to previous commit function name isect_seg_sphere_v3 --> isect_line_sphere_v3 ... since its not clipped. added a clip argument to the python version of the function.
2011-06-26math func to find the intersection(s) between a segment and a sphere for ↵Campbell Barton
C/python. from python: i1, i2 = mathutils.geometry.intersect_line_sphere(l1, l2, sphere, radius)
2011-06-25SVN maintenance.Guillermo S. Romero
2011-06-24own patch [#27752] Python Callback (Scriptlink functionality)Campbell Barton
Python: * adds bpy.app.handlers which contains lists, each for an event type: render_pre, render_post, load_pre, load_post, save_pre, save_post * each list item needs to be a callable object which takes 1 argument (the ID). * callbacks are cleared on file load. Example: def MyFunc(scene): print("Callback:", data) bpy.app.handlers.render_post.append(MyFunc) C: * This patch adds a generic C callback api which is currently only used by python. * Unlike python callbacks these are not cleared on file load.
2011-06-24move callbacks file out of intern (only contains 1 function but re-using it ↵Campbell Barton
for new callback api)
2011-06-24fix [#27746] Black and White Render doesn't work and/or Saves as a Blank screenCampbell Barton
convert to grayscale when saving renders rather then only writing the red channel.
2011-06-18rename cmake include/libraries to conform with suggested cmake namesCampbell Barton