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-01-19rename rgb_float_to_byte, rgb_byte_to_float to rgb_float_to_uchar, ↵Campbell Barton
rgb_uchar_to_float and swap args (math functions mostly have dest arg first like strcpy).
2012-01-11use BLI_strncpy and BLI_snprintf when the size of the string is known.Campbell Barton
fix for sequencer unique naming which was missed with string length update.
2012-01-11Longer names support for all ID and other object namesSergey Sharybin
This commit extends limit of ID and objects to 64 (it means 63 meaning characters and 1 for zero-terminator). CustomData layers names are also extended. Changed DNA structures and all places where length constants were hardcoded. All names which are "generating" from ID block should be limited by MAX_ID_NAME-2, all non-id names now has got own define called MAX_NAME which should be used all over for non-id names to make further name migration stuff easier. All name fields in DNA now have comment with constant which corresponds to hardcoded numeric value which should make it easier to further update this limits or even switch to non-hardcoded values in DNA. Special thanks to Campbell who helped figuring out some issues and helped a lot in finding all cases where hardcoded valued were still used in code. Both of forwards and backwards compatibility is stored with blender versions newer than January 5, 2011. Older versions had issue with placing null-terminator to DNA strings on file load which will lead to some unpredictable behavior or even crashes.
2012-01-05add _default versions of sequence sound functions since most of their uses ↵Campbell Barton
passed along the same args from sequence strips. (no functional changes)
2011-12-29Fix #29692: 3D Scene is Rendering Bright in the VSESergey Sharybin
profile conversion for sequencer result sued to happen even if color management is disabled for scene which made frames brighter.
2011-11-26replace FILE_MAXDIR + FILE_MAXFILE with FILE_MAXCampbell Barton
2011-11-22replace ImBuf.depth with ImBuf.planes to match ImageFormatData.planes & to ↵Campbell Barton
avoid confusion with ImageFormatData.depth
2011-11-17Fix [#29190] VSE bugs.Bastien Montagne
Only real bug was, that effect strips' start frame and length were editable. Made all four frame properties readonly on RNA level for those kind of strips (those for which get_sequence_effect_num_inputs returns a non-null value). Also fixed the tooltip of frame_final_duration.
2011-11-11correct indentation and some whitespace edits (no functional changes)Campbell Barton
2011-11-05remove po/ since the workflow for translations uses branches which isnt that ↵Campbell Barton
useful to have within blenders source dir. For now treat translations as binary files - just access from 'release/datafiles/locale'
2011-11-05use (const char*) rather than (char*) where possible.Campbell Barton
also removed some unused function definitons.
2011-10-24Remove currently unused IMB_cache_limiter_* function.Sergey Sharybin
Would be replaced with movie cache soon.
2011-10-24Some small fixes and changes:Sergey Sharybin
- Add *.cc files to qtcreator project as well as .cpp and .cxx (would be needed for correct generating projects with libmv library). - Added negate_v2 and negate_v2_v2 functions. They'll be needed for camera tracking project. - Fixed issue with generating proxies from 32bit images. (generated jpg-s opened fine in blender, but were dark in osx viewer). - Marked unused arg in indexer as UNUSED.
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-22Code cleanup: file operations merged into single header, some function namesBrecht Van Lommel
made less cryptic and changed to indicate if they work on files or directories.
2011-10-22header cleanup and typo'sCampbell Barton
2011-10-20strcpy() --> BLI_strncpy(), where source strings are not fixed and target ↵Campbell Barton
size is known.
2011-10-15fix for buffer overrun with BLI_split_dirfile(...), was simple to do since ↵Campbell Barton
many places don't check for filename lengyj of 79 chars which is the limit for the file selector. Add max dir and file length args.
2011-10-10header cleanup (no functional changes)Campbell Barton
2011-09-28whitespace edits, make formatting for functions consustent at least within ↵Campbell Barton
the file.
2011-09-26replace strncpy with BLI_strncpy, in some cases strncpy was being misused ↵Campbell Barton
since it doesnt ensure \0 termination. also dont call CTX_data_scene() twice when checking for function arguments.
2011-09-12== Sequencer ==Peter Schlaile
Fixed silly bug, that activated proxies at the wrong time.
2011-09-05Code cleanup: remove context from RNA update functions, only one left.Brecht Van Lommel
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-30* Merge trunk up to r39790.soc-2011-pepperJoerg Mueller
* Subversion bump (also for init_userdef_do_versions). * Minor fix for compilation without ffmpeg.
2011-08-29* Reverting Titlecard commit r37537Joerg Mueller
* Reverting update recent files commit r37155 * Turning reference counts into unsigned ints * Minor things
2011-08-28== Sequencer ==Peter Schlaile
This patch adds: * support for proxy building again (missing feature from Blender 2.49) additionally to the way, Blender 2.49 worked, you can select several strips at once and make Blender build proxies in the background (using the job system) Also a new thing: movie proxies are now build into AVI files, and the proxy system is moved into ImBuf-library, so that other parts of blender can also benefit from it. * Timecode support: to fix seeking issues with files, that have a) varying frame rates b) very large GOP lengths c) are broken inbetween d) use different time code tracks the proxy builder can now also build timecode indices, which are used (optionally) for seeking. For the first time, it is possible, to do frame exact seeking on all file types. * Support for different video-streams in one video file (can be selected in sequencer, other parts of blender can also use it, but UI has to be added accordingly) * IMPORTANT: this patch *requires* ffmpeg 0.7 or newer, since older versions don't support the pkt_pts field, that is essential for building timecode indices. Windows and Mac libs are already updated, Linux-users have to build their own ffmpeg verions until distros keep up.
2011-08-28* Removing mocap GSoC (is an addon already).Joerg Mueller
* Fixing ffmpeg-0.8 errors. * Fixing Ketsji paths. * Removing DoSound from BGE. * Fixing audio scene update to use only current scene objects.
2011-08-16Merging trunk up to r39447.Joerg Mueller
2011-08-14fix for bug where changing movie filepaths would reset the strip length.Campbell Barton
also fixed possible & unlikely buffer overflow.
2011-08-073D Audio GSoC:Joerg Mueller
* Pepper depends on ffmpeg 0.7.1 or higher now, windows and mac build systems set to ffmpeg-0.8 * Fixed orientation retrieval in OpenAL device code. * Added stopAll() method to AUD_IDevice (also for Python) and call it on BGE exit * Changed BGE to use audaspace via native C++ instead over the C API. * Made AUD_SequencerFactory and AUD_SequencerEntry thread safe. * Changed sound caching into a flag which fixes problems on file loading, especially with undo. * Removed unused parameter from sound_mute_scene_sound * Fixed bug: changing FPS didn't update the sequencer sound positions. * Fixed bug: Properties of sequencer strips weren't set correctly. * Minor warning fixes.
2011-07-283D Audio GSoC:Joerg Mueller
Implemented basic audio animation. * AnimatableProperty: Propper cache writing and spline interpolation for reading (the solution for stair steps in audio animation) * Animatable properties so far are: volume, pitch, panning * Users note: Changing the pitch of a sound results in wrong seeking, due to the resulting playback length difference. * Users note: Panning only works for mono sources, values are in the range [-2..2], this basically controls the angle of the sound, 0 is front, -1 left, 1 right and 2 and -2 are back. Typical stereo panning only supports [-1..1]. * Disabled animation of audio related ffmpeg output parameters. * Scene Audio Panel: 3D Listener settings also for Renderer, new Volume property (animatable!), Update/Bake buttons for animation problems, moved sampling rate and channel count here
2011-07-263D Audio GSoC:Joerg Mueller
Main: Complete rewrite of the sequencer related audio code to support 3D Audio objects later and especially adressing the animation system problems (see mailing list if interested). Note: Animation is not working yet, so with this commit volume animation doesn't work anymore, that's the next step. Minor things: * Changed AUD_Reference behaviour a little to be more usage safe. * Fixed bug in AUD_I3DHandle: Missing virtual destructor * Fixed enmus in AUD_Space.h * Fixed a warning in rna_scene.c * Removed an unneeded call in rna_sound.c
2011-07-24== RNA Property Updates get called by Animation System now ==Joshua Leung
This fixes bug #26764 and several others like it, where modifier properties (and others, but most visibly modifiers) would not do anything when animated or driven, as modifier properties require the RNA update calls to tag the modifiers to get recalculated. While just adding a call to RNA_property_update() could have gotten this working (as per the Campbell's patch attached in the report, and also my own attempt #25881). However, on production rigs, the performance cost of this is untenatable (on my own tests, without these updates, I was getting ~5fps on such a rig, but only 0.9fps or possibly even worse with the updates added). Hence, this commit adds a property-update caching system to the RNA level, which aims to reduce to the number of times that the update functions end up needing to get called. While this is much faster than without the caching, I also added an optimisation for pose bones (which are numerous in production rigs) so that their property updates are skipped, since they are useless to the animsys (they only tag the depsgraph for updating). This gets things moving at a more acceptable framerate.
2011-07-22Merge with trunk up to r38584.Joerg Mueller
2011-07-19fix [#28018] Sequence Swap Data Operator does not workCampbell Barton
2011-06-23Merge with trunk r37757.Joerg Mueller
2011-06-23cmake option to build without an audio library.Campbell Barton
2011-06-16== Simple Title Cards for Sequencer ==Joshua Leung
This commit adds an experimental effect strip to the sequencer: "Title Card". This is useful for adding simple one-line text section headers or "title cards" (i.e. title + author/contact details) to video clips, which is often seen in demo videos accompanying papers and/or animation tests. See http://aligorith.blogspot.com/2011/06/gsoc11-simple-title- cards.html for some more details on usage. Code notes: - There are a few things I've done here which will probably need cleaning up. For instance, the hacks to get threadsafe fonts for rendering, and also the way I've tried to piggyback the backdrop drawing on top of the Solid Colour strips (this method was used to keep changes here minimal, but is quite fragile if things change).
2011-06-07draw sequences with invalid effect frame ranges pink to highlight they are ↵Campbell Barton
invalid and wont render.
2011-06-04fix [#27568] Segmentation fault in Sequencer when adding an effect strip ↵Campbell Barton
with python disallow negative length effect strips.
2011-05-28better error reporting for seq_swap()M.G. Kishalmi
2011-05-17This fixes:Peter Schlaile
[#27422] Strobe setting does not work with effect strip [#27421] Some Settings of Adjustment Layers are not Functional.
2011-05-16== Sequencer ==Peter Schlaile
This fixes one part of [#27353] VSE crashes on large M4V StripData was alloced in full length for MOVIE and SOUND-tracks, which only use the first element for filename storage. (StripData as an array is only used in IMAGE strips). Fixed the crash and documented accordingly.
2011-05-16[PATCH] == Sequencer ==Peter Schlaile
This patch adds adjustment layer tracks to the sequencer and does some cleaning up of the code. What's an adjustment layer? Think of it as an effect track, which takes no explicit input, but alters the output of everything down the layer stack. So: you can add several stages of color correction with it. And: you can even use it with metastrips to group several adjustments together.
2011-05-01Style CleanupCampbell Barton
- duplicate cases in if/else - calc inside sizeof(...) - redundant NULL checks. - assignment to self. - fix error getting text prefix for screen ID button.
2011-04-30scene sequencer strips now work when camera override is used even if the ↵Campbell Barton
scene has no active camera.
2011-04-30use camera render argument to avoid temp overwriting the scene camera.Campbell Barton
also fix for mistake with rendering stars from previous commit.
2011-04-30add back support for rendering local view camera.Campbell Barton
2011-04-21converted more mixed tab/space indentations to tabs. only whitespace changes.Campbell Barton