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-02-23remove unused functions,Campbell Barton
note: BPY_class_validate() could come in handy later if we need to check classes for properties/functions but for now there is no point in keeping it in.
2011-02-21I swear, it was just an innocence change in guardedalloc!Nathan Letwory
The butterfly wing flap, causing a nice storm in the rest of blender. Now all dependencies should point ok again. CMakers, do double-test.
2011-02-20misc warnings/fixesCampbell Barton
- WITH_OPENJPEG wasn't defined for creator.c with CMake. - remove shadowed/redefined vars. - remove some unused RNA report args. - re-arrange IMB_FILE_TYPES so IRIS is not the first format tested, since its not very common test JPEG and PNG first.
2011-02-17Starting work on doxygen cleanup. Many things still to be done.Nathan Letwory
2011-02-14Bug fix #26021Ton Roosendaal
Very nasty UI code issue: since every button is re-defined on a redraw, having UI redraws while using a button was not possible. This was solved long ago by copying over data from previous button. However, this fails when buttons have callbacks with its own (or a parent button) pointer. This bug reporter found crashes in draw-overlap UI mode, this draws entire UI over for every menu redraws, making previous button pointers invalid. (for triple buffer, the UI is not redrawn, only the menus). In general: all systems falling back to old swapbuffers would have suffered some instability because of this. Fix is that now the old button gets lifted out from the previous list and inserted in the new list. Works fine, but needs some tests! Also in this commit: TIFF endian switching not needed for 16 bits tiff.
2011-02-13warning cleanup.Campbell Barton
- fix mistake with grease pencil UI (&& was intended but & used). - use (void) rather then () across _all_ blenders code. - a few minor edits, don't shadow stack variables in roll calculation & avoid running memset() for VBO vertex map.
2011-02-13many functions in blender are not marked static but should be.Campbell Barton
most local modifier,GPU,ImBuf and Interface functions are now static. also fixed an error were the fluid modifier definition and the header didnt have the same number of args.
2011-02-12fix for more warnings.Campbell Barton
- modifier code was using sizeof() without knowing the sizeof the array when clearing the modifier type array. - use BLI_snprintf rather then sprintf where the size of the string is known. - particle drawing code kept a reference to stack float values (not a problem at the moment but would crash if accessed later).
2011-02-12- resource leak in pointcache, opendir without closedir()Campbell Barton
- reading pointcache was using an incorrect, always NULL variable. - commented NDof code, was giving warnings and isnt used now.
2011-02-10Bugfix #26001Ton Roosendaal
Adding a byte rect to float ImBuf was always freeing the mipmap levels. Removed this convention since it crashes renders + image texture draw. Proper ownership handling of ImBuf is high on the wish list :)
2011-01-30remove nan-makefilesCampbell Barton
2011-01-27[#25815] Patch gcc 4.6Campbell Barton
with minor edits, made sure it works in CMake too.
2011-01-25use cmake defined names for jpeg, png, zlib and python libs, building on ↵Campbell Barton
*nix with non-standard libjpeg/png/zlib locations was broken. in the case of python this makes it easier to move to find_package(PythonLibs) when 3.x is supported.
2011-01-22comment dead code and fix 2 missing NULL checks (pointer used after NULL ↵Campbell Barton
check and checking against incorrect pointer before use).
2011-01-17Bugfix #25657Ton Roosendaal
Three code fixes for 1 report. User experienced crashes while painting on float buffer + having preview renders on. - Texture Nodes: Image was re-allocated without using proper thread lock - Paint code: old convention to free the byte rect from a float image as signal to re-create now is a proper flag. This keeps image memory unchanged. Nice for render. - Imbuf: call to make a byte rect from float was freeing mipmaps unnecessary.
2011-01-15remove/comment unused defines.Campbell Barton
2011-01-15remove unused vars & avoid some clang warnings.Campbell Barton
2011-01-13remove/comment unused varsCampbell Barton
also removed unnecessary NULL checks (where the pointer was used later without checking).
2011-01-12remove redundant assignments & unused vars.Campbell Barton
also minor functional changes - OBJECT_OT_make_links_data() type property is now assigned to the operator property (so popup menu can find it) - removing BG image now returns cancelled if no image is removed.
2011-01-08fix for crash when converting sequencer profiles with non-float buffers.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.
2010-12-31CMake: use blender_include_dirs("${OPENGL_INCLUDE_DIR}") rather then ↵Campbell Barton
blender_include_dirs(${OPENGL_INCLUDE_DIR}) Apparently this is needed for MSVC in some cases, reported by Tamito Kajiyama r33895.
2010-12-23rename blenderlib to blender_add_libCampbell Barton
2010-12-14Bugfix #22040Ton Roosendaal
Old bug report: Image Editor, Painting: crash when texture was visible in Material or Texture preview. Was caused by paint code freeing mipmaps. Now replaced with a mipmap tag (to be done again), and a new mipmap function that doesn't re-allocate.
2010-12-10bugfix [#25154] .MXF files should be included as a known video file type in ↵Campbell Barton
the sequencer [#25159] Vertex locations dont read correctly and are not labeled correctly in the properties bar. - non rna buttons can now have units set. - calls with invalid units system now raises an assert(). - include .mxf in filter.
2010-12-08use lowercase for cmake builtin names and macros, remove contents in else() ↵Campbell Barton
and endif() which is no longer needed.
2010-12-05Bugfix #25041Ton Roosendaal
Sequencer crash when combining a scene strip with image strip and cross. Code lacked proper check for byte buffer in scene...
2010-12-05use constant strings for outliner menus rather then sprint'ing them together.Campbell Barton
2010-12-04Maintenance, Campbell Barton
- remove some redundant declarations - changed VertexTangent and Path structs to avoid compiler alignment padding.
2010-12-03Irx report:Ton Roosendaal
Missing void declarator in init ffmpg (appears to be error now). Thanks lmg!
2010-12-03Enabled GCC -Wwrite-strings warning for CMake and replaced many 'char's for ↵Campbell Barton
'const char's,. Only one functional change where Transform orientations passed "" to BIF_createTransformOrientation() which could then have the value written into.
2010-12-03Fix for compilation error caused by strict prototype checkingSergey Sharybin
2010-12-03- added GCC warning -Wstrict-prototypesCampbell Barton
- fixed bug in paste material, exposed by stricter warnings. - removed/renamed various shadowed vars. - removed BGE lamp.colour, only allow lamp.color attribute.
2010-12-01bugfix [#23406] DPX Images load darker then saved, UI broken.Campbell Barton
- a linear float buffer was being created and saved into a non-linear DPX/Cineon file. - removed the UI since the settings are not used at the moment. added a utility function IMB_float_profile_ensure(), which returns a float buffer in the requested profile, using the existing if needed or returning an allocated buffer if the profile is different to that of the ImBuf. - Useful this case where the save function has its own linear setting.
2010-11-30Add option for CMake to build libredcode, also use CODEC prefix for ffmpeg, ↵Campbell Barton
quicktime & sndfile options.
2010-11-29include headers in cmake source, added a script to check for consistency, ↵Campbell Barton
reporting missing headers & C files. this is important so IDE's using CMake integration always get blender headers. - QtCreator & MSVC for eg, probably others too.
2010-11-27Bugfix #21385Ton Roosendaal
Blender MultiLayer openEXR files now save with correct scanline order. Code also provides backward compatibility. Also thanks to Troy Sobotka!
2010-11-25found some errors while looking into bug #24909, in exceptional cases where ↵Campbell Barton
the PNG could not be saved it could leak memory and not close the file.
2010-11-23use zero initializers instead of memset(), also change PointerRNA_NULL from ↵Campbell Barton
an extern into a define.
2010-11-21- include pthreads for win32 globally (as with opengl).Campbell Barton
- MSVC CFLAGS were being set by only checking WIN32, (breaking non-msvc win32 builds)
2010-11-20WITH_OPENJPEG wasn't defined for CMake or SCons, which meant blender ↵Campbell Barton
couldn't save jpeg2000 images from the file selector. also fixed typo in jp2.c
2010-11-19use 'const char *' for imbuf and file ops.Campbell Barton
2010-11-18rename libs internal libs for CMake + SCons (used in MSVC project files)Campbell Barton
for game engine use "ge_" prefix & make names generally more descriptive.
2010-11-17use 'const char *' by default with RNA functions except when the value is ↵Campbell Barton
flagged as PROP_THICK_WRAP. Also use const char in many other parts of blenders code. Currently this gives warnings for setting operator id, label and description since these are an exception and allocated beforehand.
2010-11-17writing single images from a render (own commit r33104), wasn't checking if ↵Campbell Barton
the render was cancelled which would crash when writing the image. also remove paranoid checks for writing TAGA, Other formats - BMP, JPEG, Iris don't do this.
2010-11-16option to write images to a files on single frame renders, this isn't ↵Campbell Barton
accessed by the UI at the moment, but could eventually be used for saving test-renders. The main reason to have this is so renders can be scripted to write to a specific file without having to do annoying tricks like set a dummy start/end frame range, render an animation and work out the current frame image will be written to, then rename after rendering. Also made some 'char *' args into 'const char *'
2010-11-02fix for compiling with the c90 standard, support for non-static variable ↵Campbell Barton
initializers is a c99 feature.
2010-11-01== FFMPEG ==Peter Schlaile
This fixes a rather subtle seeking issue with ffmpeg and Sony XDCAM-footage. Problem is: MPEG2 streams within an MP4 container can contain a start time - at several places. There is a starttime within the video and audio streams and one within the container. FFMpeg commandline tool only uses the container starttime and we used the stream starttime. The world would be a better place, if those two timestamps always match up, since in XDCAM-footage those two starttimes differ in 4 frames - and the container has the right one. We now always use the container start time as ffmpeg commandline tool does (in the hope, that there is a good explaination for this and this is the right thing(tm) to do). I tested this also with HDV footage, which seems to work with the new code, too. Additional fix: disabled seek_by_bytes again, since it will only work correctly, if ffmpeg guessed the HDV bitrate right (which it doesn't). If you have seeking issues with HDV and have an older version of ffmpeg installed, please upgrade, newer versions have some fixes in them.
2010-10-31Fix #23283: crash exiting blender player, IMB_exit got called twice.Brecht Van Lommel