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
2016-07-21Fix missing datablocks types in id_make_local.Bastien Montagne
Adding make_local for vfont/gpencil/group/freestyle linestyle/mask/scene/sound/text. Note that there are still some lose ends here, since some type are not handled by id_copy (Scene, Sound and VFont), which means in case a datablock of that type is used both directly and indirectly, localization will fail. Scene copying might be doable though (maybe with a simple new 'full shalow' mode to existing BKE_scene_copy?), not sure about sounds and vfonts... Situations where this becomes an issue should be very rare corner cases anyway.
2016-06-22ID-Remap - Step one: core work (cleanup and rework of generic ID datablock ↵Bastien Montagne
handling). This commit changes a lot of how IDs are handled internally, especially the unlinking/freeing processes. So far, this was very fuzy, to summarize cleanly deleting or replacing a datablock was pretty much impossible, except for a few special cases. Also, unlinking was handled by each datatype, in a rather messy and prone-to-errors way (quite a few ID usages were missed or wrongly handled that way). One of the main goal of id-remap branch was to cleanup this, and fatorize ID links handling by using library_query utils to allow generic handling of those, which is now the case (now, generic ID links handling is only "knwon" from readfile.c and library_query.c). This commit also adds backends to allow live replacement and deletion of datablocks in Blender (so-called 'remapping' process, where we replace all usages of a given ID pointer by a new one, or NULL one in case of unlinking). This will allow nice new features, like ability to easily reload or relocate libraries, real immediate deletion of datablocks in blender, replacement of one datablock by another, etc. Some of those are for next commits. A word of warning: this commit is highly risky, because it affects potentially a lot in Blender core. Though it was tested rather deeply, being totally impossible to check all possible ID usage cases, it's likely there are some remaining issues and bugs in new code... Please report them! ;) Review task: D2027 (https://developer.blender.org/D2027). Reviewed by campbellbarton, thanks a bunch.
2015-10-06RNA: Add check_existing arg to other load() funcsCampbell Barton
Note: movieclip was doing this already by default, now split into 2 functions, matching image behavior.
2015-07-29Cleanup: styleCampbell Barton
2015-07-28Audaspace: support the device list returned by the new audaspace library.Jörg Müller
- use the device names returned from the library. - system settings UI changed as new audaspace might contain longer and more device names.
2015-07-28Audaspace: fixing problems for the merge to master suggested by Campbell and ↵Jörg Müller
Sergey. - rename WITH_EXTERNAL_AUDASPACE to WITH_SYSTEM_AUDASPACE. - rename C/PYAUDASPACE to AUDASPACE_C/PY - simplifying cmake defines and includes. - fixing include paths and enabling WITH_SYSTEM_AUDASPACE for windows. - fixing scons building. - other minor build system fixes.
2015-07-28Audaspace: external audaspace library update.Jörg Müller
2015-07-28Audaspace: use standalone library.Jörg Müller
- Added the cmake configuration option WITH_EXTERNAL_AUDASPACE. - Fixes to build without standalone library as well.
2015-03-28Cleanup: redundant struct declarationsCampbell Barton
2015-03-26Missed those last commitAntony Riakiotakis
2015-03-26sound module: Append functions with BKE (makes it easier to make themAntony Riakiotakis
out from local functions)
2015-01-15Remove 'locked' parameter from sound_read_waveform()Nicholas Bishop
This parameter was confusing in three ways: 1. It should have been named "lock" because it was used to take and release the sound mutex, not to indicate whether it was locked. 2. In the one place this function gets called the locked argument was set to "true", so not much point in having it optional. 3. I can't imagine that it would ever be a good idea to skip taking and releasing the mutex. Reviewed By: sergey Differential Revision: https://developer.blender.org/D988
2014-11-24Politically correct terrible consequencer changesAntony Riakiotakis
This patch includes the work done in the terrible consequencer branch that hasn't been merged to master minus a few controversial and WIP stuff, like strip parenting, new sequence data structs and cuddly widgets. What is included: * Strip extensions only when slipping. It can very easily be made an option but with a few strips with overlapping durations it makes view too crowded and difficult to make out. * Threaded waveform loading + code that restores waveforms on undo (not used though, since sound_load recreates everything. There's a patch for review D876) * Toggle to enable backdrop in the strip sequence editor * Toggle to easily turn on/off waveform display * Snapping during transform on sequence boundaries. Snapping to start or end of selection depends on position of mouse when invoking the operator * Snapping of timeline indicator in sequencer to strip boundaries. To use just press and hold ctrl while dragging. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D904
2014-04-15Some style cleanup in sound area.Bastien Montagne
2014-03-11Fix T39083: speakers were evaluated multiple times when used in setsCampbell Barton
also skip checking all objects for speakers when no speakers are in the blend file.
2013-03-27Fix #33518: Jack sync doesn't work in 2.64, 2.64 or 2.65 stable versionsSergey Sharybin
Added new build option WITH_JACK_DYNLOAD for CMake and WITH_BF_JACK_DYNLOAD for SCons, which means there'll be no build-time linking against libjack and getting symbols from libjack will happen runtime using dlopen and dlsym tricks. Alternative would be to use weak linking, but it'll require having wrapper for preloading libjack. This new options are disabled by default and they only intended to be used on linux. Other platforms shall not be using this and there shall be no functional changes on non-linux platforms at all.
2012-05-10style cleanup: sequencer and scene rnaCampbell Barton
2012-05-10patch [#30871] VSE py-api Campbell Barton
from Dan Eicher (dna) --- message from the tracker Classes for all effect types with proper input attributes Added new/delete functions for SequenceEditor.sequences. push/pop functions for ImageSequence.elements to add/remove images Moved waveform from the base class to SoundSequence (probably should be renamed use_waveform or show_waveform) Fixed user count for scene and movie clip types --- my own comments - dont have blending mode argument from sequencer.new_*() functions. Better edit this after. - dont change waveform attribute, seems unrelated change and should be kept for sound afaik. - dont apply scene, clip usercount changes - Sergey dealt with these separately.
2012-05-05code cleanup: function naming, use BKE_*type* prefix.Campbell Barton
2012-02-17Fixed compilation error cased by recent refactor of include guard defines.Sergey Sharybin
2012-02-17unify include guard defines, __$FILENAME__Campbell Barton
without the underscores these clogged up the namespace for autocompleation which was annoying.
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-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-14Reverting my windows build fix because it breaks the bug fix committed in r40995Andrew Wiggin
2011-10-14Fix MSVC build ( .0f/.0f fires a compiler error )Andrew Wiggin
2011-09-05Code cleanup: remove context from RNA update functions, only one left.Brecht Van Lommel
2011-08-30Fix for [#25062] Sound Actuator - Positional Audio.Joerg Mueller
Now all sounds that are not mono but have 3D checked automatically get reduced to mono during BGE conversion time. Also removed the now unneeded function sound_get_channels and added a missing header file to audaspace's CMakeLists.txt.
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-093D Audio GSoC:Joerg Mueller
Improved waveform drawing in the sequencer. * Drawing the waveform of a sequencer strip is now independent from whether the sound is cached or not. * Improved drawing of the waveform in the sequencer (especially speed!). * Making it possible to vertically zoom more in the sequencer to better see the waveform for lipsync. * Fixed a bug which crashed blender on loading a sound file via ffmpeg.
2011-08-093D Audio GSoC:Joerg Mueller
Speaker objects fully functional! Minor changes: * Fixed three memory bugs found via valgrind. * Fixed bug with jack transport crashing after file loading. * Sound NLA Strips now start at CFRA instead of 0.
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-08-033D Audio GSoC:Joerg Mueller
* Minor audaspace library improvements. * Considering location, velocity and orientation in AUD_SequencerReader and AUD_SequencerHandle. * Bugfix: Maximum and Minimum volume weren't used before in the software device. * Bugfix: Adding speaker objects via info space crashed. * Listener settings now get updated in the audio system.
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-06-063D Audio GSoC:Joerg Mueller
Making it possible to access blenders internal sounds via Python.
2011-04-11Fix for [#26652] "Audio Muted" in Time Line Editor is not workingJoerg Mueller
-> The feature was completely missing o_O Also fixed an ffmpeg seeking bug.
2011-02-19set main() argv functions to be const char *Campbell Barton
also set minimum cmake version to 2.8
2011-02-18doxygen: blenkernel under core as module.Nathan Letwory
2010-12-22Audio: Function to get channel count of a sound, for [#25062] Sound Actuator ↵Joerg Mueller
- Positional Audio.
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-11-19use 'const char *' for imbuf and file ops.Campbell Barton
2010-10-17Reverting Cam's audio code changes from revision 32517. Part of it has been ↵Joerg Mueller
reverted by Nathan already. Cam: next time please check, why a parameter is unused before you remove it!
2010-10-16Revert overaggressive parameter removal: Main struct is used in audio when ↵Nathan Letwory
Jack support is enabled.
2010-10-16most unused arg warnings corrected.Campbell Barton
- removed deprecated bitmap arg from IMB_allocImBuf (plugins will need updating). - mostly tagged UNUSED() since some of these functions look like they may need to have the arguments used later.
2010-07-17Merging revision 30434 from my GSoC branch, log: Fixed sound wave display ↵Joerg Mueller
bug for sounds that are not full length.
2010-04-24Fix for #22135, loading ffmpeg now before .B25.blend is loaded.Joerg Mueller
2010-03-20"Fix" aka implementation of [#21548] Audio doesn't work when adding scenes ↵Joerg Mueller
with audio to another scene.
2010-02-212.5 Audio:Joerg Mueller
* Jack Transport support! * Minor sequencer audio corrections.
2010-02-19Enabling AV-sync again. You can now choose between No sync, Frame Dropping ↵Joerg Mueller
or AV-sync.
2010-02-18revert 27010, sorry but this makes playback of animation unusable & jerky, ↵Campbell Barton
we can provide some sample files for testing.