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
2012-11-07fix [#33108] Running save_as_mainfile breaks relative texture pathsCampbell Barton
save-as with path remapping left the paths relate to the file written.
2012-10-09code cleanup: make header defines more consistent, JOYSENSOR header guard ↵Campbell Barton
had a typo too.
2012-09-04code cleanup: move file string defines into BLI_path_utils.h, ↵Campbell Barton
BKE_utildefines is now unused but keep incase we want to add defines there later.
2012-09-03code cleanup: split out defines in BKE_utildefines.h into BLO_blend_defs.h ↵Campbell Barton
and ui defines in interface_intern.h
2012-05-13code cleanup: header cleanup and remove some duplicate defines.Campbell Barton
2012-04-30code cleanup: header cleanupCampbell Barton
2012-02-17unify include guard defines, __$FILENAME__Campbell Barton
without the underscores these clogged up the namespace for autocompleation which was annoying.
2012-01-21change filepath limit from 240 to 1024Campbell Barton
2011-12-05syncing some minor formatting edits from bmesh branch.Campbell Barton
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-17fix spelling mistakes in comments (and in some python error messages), ↵Campbell Barton
nothing to effect translations.
2011-09-19cleanup endian handlingCampbell Barton
- define __BIG_ENDIAN__ or __LITTLE_ENDIAN__ with cmake & scons. - ENDIAN_ORDER is now a define rather than a global short. - replace checks like this with single ifdef: #if defined(__sgi) || defined (__sparc) || defined (__sparc__) || defined (__PPC__) || defined (__ppc__) || defined (__hppa__) || defined (__BIG_ENDIAN__) - remove BKE_endian.h which isn't used
2011-02-18doxygen: blenkernel under core as module.Nathan Letwory
2011-01-15remove/comment unused defines.Campbell Barton
2011-01-07remove references to BKE_utildefines where its not needed.Campbell Barton
- move GS() define into DNA_ID.h - add BLI_utildefines as an automatic include with makesrna generated files.
2011-01-07split BKE_utildefines.h, now it only has blender specific defines like GS() ↵Campbell Barton
MAKE_ID, FILE_MAXDIR, moved the generic defines to BLI_utildefines.h. no functional changes.
2011-01-07another error in commit r34143, was using the define's 'BLEN' & 'DER_' ↵Campbell Barton
however the latter is incorrect since DER- is used for 64bit blend files. removed the define.
2011-01-07patch [#25490] Fix for [#22096] Blender tries to open non-blend fileCampbell Barton
from Alexander Kuznetsov (alexk) with edits. From the report: Blender assumed that all files are .blend as retval = 0; Now retval is initialized as file cannot be open (-1) for gzopen fail and directory case retval = -2; is defined for not supported formats This must be assigned before #ifdef WITH_PYTHON because this part can be missing Finally retval = 0; if it is a .blend file --- also made other edits. - exotic.c's blend header checking was sloppy, didn't check data was actually read, only checked first 4 bytes and had a check for "blend.gz" extension which is unnecessary. - use defines to help readability for BKE_read_exotic & BKE_read_file return values. - no need to check for a NULL pointer before calling BKE_reportf(). (will just print to the console) - print better reports when the file fails to load.
2010-12-15BKE_assert(), only prints the error unless cmake define WITH_ASSERT_ABORT is ↵Campbell Barton
enabled and it will call abort(). made this option advanced so people don't enable along with other features.
2010-10-31own recent commit broke this python import:Campbell Barton
from mathutils.geometry import PolyFill I couldn't find a way for python's inittab to do this so just inserting mathutils.geometry into sys.modules manually.
2010-10-30warning/portability fixes.Campbell Barton
2010-10-20Quiet compiler warnings.Campbell Barton
2010-10-20[#24267] Hook fails after SolidifyCampbell Barton
Solidify modifier wasn't assigning origindex values. - BLI_math.h array functions: range_vni(), mul_vn_fl(), mul_vn_vn_fl(), add_vn_vn(), fill_vni(). - define 'AT' as __FILE__ ":" STRINGIFY(__LINE__), useful for quick debug prints.
2010-10-19Mangle unused parameter names also on non-GCC platforms. This should help in ↵Nathan Letwory
situations where a coder starts using the previously unused tagged parameter after all, reminding the coder to remove the tag and check further.
2010-10-16- UNUSED macro wasn't throwing an error with GCC if a var become used.Campbell Barton
- made interface, windowmanager, readfile build without unused warnings. - re-arranged CMake's source/blender build order so less changed libs are build later, eg: IK, avi
2010-10-14UNUSED() macro so -Wunused-parameter can be used with GCC without so many ↵Campbell Barton
warnings. applied to python api and exotic.c, removed some args being passed down which were not needed. keyword args for new mathutils types were being ignored when they should raise an error.
2010-10-03- rna bugfix where ints were not clamped and would overflow, now raise an ↵Campbell Barton
error and print valid range. - fixed WM_OT_context_cycle_int was causing problems with int overflow, now it cycles properly. - rename QUOTE macro to STRINGIFY_ARG, and added STRINGIFY, which is used more often since it gives the value as a string.
2010-05-25blend file thumbnailingCampbell Barton
- uses same thumbnail system as image browser - blend files show thumbnails in ubuntu/gnome (freedesktop spec) - 128x128 images are embedded into the blend file header, a simple loader avoids reading the entire blend file to extract it when generating thumbnails in the file selector. When the image browser reads a directory it loads images and creates thumbnails, blend files embedded images are treated just like loading an image. - the thumbnail is created from the camera view in solid mode. (no camera == no thumbnal). - readfile/writefile.c: had to use the 'TEST' code name to save thumbnails, anything else would segfault older blender versions on load. (its not used elsewhere).
2010-05-24BLI_args cleanupMartin Poirier
Adding documentation strings in argument data. --help is auto generated (options not manually categorized end up in the "others" section at the bottom)
2010-05-18Fix [#22304] Tiff 16bit gives darker imagesMatt Ebb
Also fixed similar issue for jpeg2000
2010-04-14SVN maintenance.Guillermo S. Romero
2010-02-12correct fsf addressCampbell Barton
2010-02-09Warning fixesDamien Plisson
2010-01-23Initial results of my profiling of the animation system. Joseph Eagar
Basically two simple changes, changes, I pulled in the faster ghash in bmesh (which uses mempools for allocation, providing a substanstial speedup in some cases, and also I inlined some of the functions), and I changed __inline to __forceinline for inlining of math functions. I also removed the timer in the view3d zoom op (ctrl-middlemouse) that was making it nonfunctional. Why was that there?
2010-01-01Fix some build warningsDamien Plisson
2009-12-10Sculpt Branch:Brecht Van Lommel
Revised external multires file saving. Now it is more manual in that you have to specify where to save it, like an image file, but still saved at the same time as the .blend. It would ideally be automatic, but this is difficult to implement, so for now this should at least be more reliable.
2009-09-15svn merge -r 22571:22800 ↵Andre Susano Pinto
https://svn.blender.org/svnroot/bf-blender/trunk/blender svn merge -r 22800:23207 https://svn.blender.org/svnroot/bf-blender/trunk/blender Merged volumetric with new raytrace code (it compiles and rendered volume-cube.blend withouth problems) Part1: source/blender
2009-09-13after some discussion, this is the replacement for the old loopcut tool: ↵Joseph Eagar
edge ring select displays a preview of the edge ring, and you can move the mouse with ctrl-alt held down and change the edge ring selection.
2009-09-11curve twistCampbell Barton
* added new twist method - "Tangent", suggested by Martin. the nice thing about this is its stable no matter how you rotate the data, rotation is local to each segment. * added smooth option that smooths the twisting (before applying user twist), to workaround Z-Up and Tangent's ugly curve twisting. Id prefer not to have this however it makes tangent much nicer. Possibly tangent can be improved some other way and this can be removed. A smooth value of 1.0 will iterate over and smooth the twisting by the resolution value of the spline. * Minimum-Twist method now corrects for cyclic twist by taking the roll difference between first and last, then increasingly counter rotate each segment over the entire curve. Previously it calculated from both directions and blended them. details * BevPoints use quats rather then 3x3 matrix. * added BevPoint direction "dir" and tangent "tan" used only for 3D curves. * don't calculate BevPoint->cosa, BevPoint->sina for 3D curves. * split bevel tilt calculation into functions. * nurbs curves currently don't generate tangents and wont work with tangent twist method. * some of the use of quats should be optimized. * smoothing is not animation safe, the higher the smoothing the higher the likelyhood of flipping.
2009-08-17svn merge -r 22371:22571 ↵Andre Susano Pinto
https://svn.blender.org/svnroot/bf-blender/branches/blender2.5/blender
2009-08-16- typos in boxpack comments (incorrectly had comment that it was from NAN)Campbell Barton
- removed unused defines STREQ, STREQ2, STREQ3 and MINSIZE
2009-08-01svn merge -r 21508:22111 ↵Andre Susano Pinto
https://svn.blender.org/svnroot/bf-blender/branches/blender2.5/blender
2009-07-07made rtbuild object_heuristic_spliter fasterAndre Susano Pinto
I think its something like: old was: 4*nlogn + 3*(n*6) new is: (2*nlogn + 3*(n*6)) * f, with f<1 Still missing changing the sorting function to an introsort instead of qsort Other options like bucketing sort may be worth trying (for very large trees)
2009-07-02svn merge -r 21041:21301 ↵Andre Susano Pinto
https://svn.blender.org/svnroot/bf-blender/branches/blender2.5/blender
2009-07-02Reverted incorrect merge (missing files)Andre Susano Pinto
svn up -r 21247 svn merge -r 21247:21246 . (<= revert incorrect: merge -r 21041:21243) svn up
2009-06-22NLA SoC: Merge from 2.5Joshua Leung
21043 to 21072 (NOTE TO SELF: Campbell made a commit in 2.5 before this merge finished)
2009-06-21remove support for videoscape, amiga 3D app that came before lightwave.Campbell Barton
2009-06-21Spring CleaningCampbell Barton
* removed radiosity render code, DNA and RNA (left in radio render pass options), we'll get GI to replace this probably, better allow baking to vertex colors for people who used this. * removed deprecated solid physics library, sumo integrations and qhull, a dependency * removed ODE, was no longer being build or supported * remove BEOS and AMIGA defines and references in Makefiles.
2009-06-05NLA SoC: NLA-Evaluation BugfixesJoshua Leung
* Fixed an evil bug where the last frame of a strip was always incorrectly evaluated. This was because these frames were not being included in the strip's 'range' as defined by the IN_RANGE() testing macro, which only considers the given range as an open interval (i.e. non-inclusive of boundary points). I've added a new macro, IN_RANGE_INCL(), which is inclusive of boundary points, since this is a common test in many other parts of the code. * When an AnimData block is in 'tweaking' mode, the tracks following (and including the active track) are now correctly skipped during evaluation. * Finished coding the option of setting a single NLA-track per NLA-block to play 'solo' (i.e. only that track is enabled for evaluation). To enable this, simply click on one of the grey 'dots' beside the NLA-track names, turning this dot yellow. The 'yellow' dot means that the track will play by itself (even the 'active action' gets silenced). Only one track per AnimData block can play solo at a time. To disable, simply click on the 'yellow' dot again. NOTE: this currently uses the View3D layer-status icons. We probably need some special ones for these later (coloured vs grey star?) * Also (not related to evaluation) made the selection operators for the NLA Editor only work when not in tweaking mode, since in tweaking mode they can potentially result in data being resolved inappropriately when leaving tweaking mode.
2008-10-29fix for more disable python defines,Campbell Barton
FTOCHAR didnt have brackets around the value. FTOCHAR(a+b) didnt work, FTOCHAR((a+b)) did.