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
path: root/intern
AgeCommit message (Collapse)Author
2009-10-01Cocoa port, events WIP:Damien Plisson
- Fix keyboard keymap - NSAutoReleasePool now drained at every cycle - Tablet events combined with mouse events now handled
2009-09-30Render & Compositing Thread FixesBrecht Van Lommel
* Rendering twice or more could crash layer/pass buttons. * Compositing would crash while drawing the image. * Rendering animations could also crash drawing the image. * Compositing could crash * Starting to rendering while preview render / compo was still running could crash. * Exiting while rendering an animation would not abort the renderer properly, making Blender seemingly freeze. * Fixes theoretically possible issue with setting malloc lock with nested threads. * Drawing previews inside nodes could crash when those nodes were being rendered at the same time. There's more crashes, manipulating the scene data or undo can still crash, this commit only focuses on making sure the image buffer and render result access is thread safe. Implementation: * Rather than assuming the render result does not get freed during render, which seems to be quite difficult to do given that e.g. the compositor is allowed to change the size of the buffer or output different passes, the render result is now protected with a read/write mutex. * The read/write mutex allows multiple readers (and pixel writers) at the same time, but only allows one writer to manipulate the data structure. * Added BKE_image_acquire_ibuf/BKE_image_release_ibuf to access images being rendered, cases where this is not needed (most code) can still use BKE_image_get_ibuf. * The job manager now allows only one rendering job at the same time, rather than the G.rendering check which was not reliable.
2009-09-30SVN maintenance.Guillermo S. Romero
2009-09-30Cocoa port start:Damien Plisson
GHOST*Cocoa.mm & .h files creation First Cocoa version of GHOST_SystemCocoa.mm CMake files update to allow optional (WITH_COCOA option) Cocoa version build - disabled by default SCons files are not updated to allow Cocoa build (the ghost .mm files)
2009-09-28remove warnings, print errors if bpy_ops.py or bpy_sys.py fail to importCampbell Barton
2009-09-27Speed optimization in itasc when with armature with many bones and few ↵Benoit Bolsee
targets. Thanks to Brecht who pointed out a simple but efficient optimization in SVD decomposition.
2009-09-27Sound:Joerg Mueller
* Threading buxfix letting MSVC Debug builds crash because of corrupted std::lists * Adopted two property ranges * Changed the mixdown volume to set the device volume instead of the volume of every sound. I also removed the private redefinition of m_logicmgr in SCA_BasicEventManager, which was already defined protected in the parent class SCA_EventManager and thus caused a bug letting GE crash here because of an uninitialized pointer.
2009-09-26Add directives to support multi dir lib.Guillermo S. Romero
2009-09-25Fixing up Makefiles, its not fully working but its closer...Kent Mein
Kent
2009-09-25Warning fixes for ITASC. Also, use <stdlib.h> instead of <malloc.h>,Brecht Van Lommel
it works everywhere.
2009-09-25Fix OSX compilation problem with malloc.h in itascBenoit Bolsee
2009-09-25still doesn't work but this fixes make cleanCampbell Barton
2009-09-25SVN maintenance.Guillermo S. Romero
2009-09-25* some fixes to have scons/mingw compile the sources too, even with ↵Nathan Letwory
BF_DEBUG=1 and WITH_BF_GAMEENGINE=1
2009-09-25Merge of itasc branch. Project files, scons and cmake should be working. ↵Benoit Bolsee
Makefile updated but not tested. Comes with Eigen2 2.0.6 C++ matrix library.
2009-09-24fixed some indentation, and removedKent Mein
declaration of index in a couple of places because it was already defined and safe to use the old def. Kent
2009-09-22SVN maintenance.Guillermo S. Romero
2009-09-215 button mouse support from b333rt in IRC with some edits for X11.Campbell Barton
Tested in X11 where its fairly confusing. buttons 4 and 5 are used for the wheel which is well known, but it seems 6 and 7 are used for horizontal scrolling, my mouse assigns the extra 2 buttons to events 8 & 9. So the X11 events used for buttons called 4&5 in blender are 8&9 in X11. The mouse buttons can be re-ordered like this once xorg starts (swaps 6,7 with 8,9) xmodmap -e "pointer = 1 2 3 4 5 8 9 6 7" Couldn't test Win32, Apple not supported. If someone wants to add horizontal scrolling its quite easy.
2009-09-20Sound:Joerg Mueller
* Moved AudioData back to Scene * Updated RNA stuff * Added mixdown volume
2009-09-18remove brush_sample_falloff, #if 0, unused function is_tablet_cursorCampbell Barton
2009-09-18same as r23322 in 2.4xCampbell Barton
--- 2.4x log use functions to detect stylus and eraser from the wine project, supposed to work with non-wacom tablets too (searches for wizardpen & acecad as well as 'stylus'). 2.4x did an exact check on the name, 2.5 does a case insensitive search on the type. This does a case insensitive check on both the name and type. close the devices on exit too.
2009-09-17* fix compilation on osxMatt Ebb
2009-09-162.5 Ghost Compile Fix for windows. Patch by b333rt. Thanks! Thomas Dinges
2009-09-16- bpy.data.sounds was a collection of ID's rather then SoundsCampbell Barton
- last commit, missed include for rna_object_api.c & bad args to find_basis_mball - use enum for GHOST tablet type None/Stylus/Eraser, had duplicate definition for these in C. Only tested X11, may need to cast to an int for other OS's.
2009-09-15Also set utf8 encoded hint for window title.Guillermo S. Romero
2009-09-14Smoke:Daniel Genrich
* Totally new try to get cache running * Didn't try "bake" and such things yet Hint * Very verbose yet * Please do only test new blend files, not old ones! Please give me feedback on my blog about the old crashers.
2009-09-11* we currently can have *four* different sound devices, instead of 3.Nathan Letwory
2009-09-09Smoke:Daniel Genrich
* Enable cache for high res + new preview * Bugfix for smoke banding (in cooperation with N_T) Hint: Work-in-progress regarding collision objects so can be broken, didn't test Hint2: jahka enabled a general particle panel but * bake button doesn't work * step is not supported for cloth * several other things there ;)
2009-09-06* clean out some warnings (unrefenced vars mainly)Nathan Letwory
2009-09-06* cleaning up warnings (mostly windows). A collection of other warning fixes ↵Nathan Letwory
too (undefined function, assuming int, etc.) This compiled fine with scons/msvc and scons/mingw (gcc 4.4.0). Please test and report any problems.
2009-09-06white space commit. (2 spaces -> tab).Campbell Barton
Was annoying to use a different editor for cmake only. theeth says this should be ok with gsoc and merges from branches.
2009-09-05== SCons ==Nathan Letwory
* bring back 'player' libtype, after investigation with ideasman. scons/mingw works nicely, for some reason msvc fails to link still, will look further into it.
2009-09-04== SCons ==Nathan Letwory
* further cleaning of 'player' stuff. Now only 3 libs are remaining, of which ideally the stubs lib will be fixed at some point, fading away into the dark history of not-so-nice code. The current blenderplayer part is still a little bit hackish, I'll see if I can find a better alternative, for now it works good enough.
2009-09-04== SCons ==Nathan Letwory
* first working changes to get blenderplayer linking * blenderplayer/ moved into source/ (CMakeLists.txt changed for that too) * added externs for bprogname to gp_ghost, so that it links properly
2009-08-28Update MSVC project files.Benoit Bolsee
2009-08-26Close the old audio device before and not after opening the new.Joerg Mueller
2009-08-262.5 - Warning cleanups (for mingw+scons)Joshua Leung
Also, made the Outliner's horizontal scrollbar work better for keymaps view. It's still using an approximation of the width, but at least you can scroll now.
2009-08-26Update Makefile and missing include on voxeldata.cDiego Borghetti
Note that With libsndfile also need libflac and libogg here (Linux), right now I just add this two librarys to the NAN_SNDFILELIBS, but maybe it's better split this ? (NAN_FLAC/NAN_OGG)
2009-08-25blender 2.5 MSVC projectfilesAndrea Weikert
* update for volume rendering * update for audaspace jack * update for rna: animation_api.c, scene_api.c
2009-08-25Replaced G.sce by Main.name in sound.c.Joerg Mueller
I hoped for it to resolve the bug of loading sounds with relative paths didn't work, but Main.name isn't set before the sounds are loaded, so the bug resists! Someone who is into file loading should please fix this!
2009-08-25== SCons ==Nathan Letwory
* Add sndfile support (False by default). Note: for this to work, make sure that FFMPEG-support is disabled.
2009-08-22Bugfixing.Joerg Mueller
2009-08-222.5 MSVC projectfiles maintenanceAndrea Weikert
* AUD_filefactory added. * imbuf added to RNA include dirs.
2009-08-22Update Makefiles for audaspace.Diego Borghetti
This add support for: sdl, ffmpeg, openal, jack and sndfile. We have new options: WITH_OPENAL, default false WITH_JACK, default false WITH_SNDFILE, default false and with this: NAN_OPENAL, default /usr NAN_JACK, default /usr NAN_JACKCFLAGS, default -I$(NAN_JACK)/include/jack NAN_JACKLIBS, default $(NAN_JACK)/lib/libjack.a NAN_SNDFILE, default /usr NAN_SNDFILECFLAGS, default -I$(NAN_SNDFILE)/include NAN_SNDFILELIBS, default $(NAN_SNDFILE)/lib/libsndfile. Also add two new option on source/Makefile for jack and sndfile libs, but only for linux, so let me know for other OS.
2009-08-22SVN maintenance.Guillermo S. Romero
2009-08-21Audio file loading backend libsndfile!Joerg Mueller
2009-08-20update MSVC project files.Benoit Bolsee
2009-08-20Smoke:Daniel Genrich
* cache for low res (deactivating high res for now) * new way of view3d rendering of smoke (no longer 3 axes) -using 3dtexture now (introduced into gpu/intern) * introducing LZO and LZMA libs into extern (makefiles missing for now) * reducing memory usage after simulating for the frame ended (freeing temporary buffers) * splitting smoke into 2 modifier for the cache-sake (it cannot handle more than 1 cache on the same modifier-index) * no color on gui anymore * fixing non-power-of-2 resolutions (hopefully) * fixing select-deselect of domain drawing bug * fixing drawobject.c coding style (making Ton happy) ;-) HINT #1: If scons doesn't work -> cmakefiles are up-to-date, couldn't test scons (but i tried to mantain them, too) CODERS HINT #1: we really need a way to disable adding all modifiers through "Add Modifiers" dropdown! WARNING #1: before applying this commit, deactivate your SMOKE DOMAIN in your old files and save them then. You can open them then savely after that. WARNING #2: File and cache format of smoke can be changed, this is not final!
2009-08-19- fix for BGE warningsCampbell Barton
- when C++ uses guardedalloc SYS_DeleteSystem was called after MEM_printmemlist(), making it look like there was a leak.
2009-08-19SVN maintenance.Guillermo S. Romero