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
2013-07-04Remove SDL_VIDEODRIVER=dummy environment variable setting, this may interfereBrecht Van Lommel
with other applications launching SDL applications from Blender. At the time this was added the game engine joystick code was unnecessarily initializing the SDL video subsystem, and looking at the SDL source code that's the only place this environment variable is read. That doesn't happen anymore, though we do have WITH_GHOST_SDL now. But the environment variable is set after GHOST has been initialized, otherwise this code would have actually broken that.
2013-06-29re-arrange '--help' output into more useful sections (added debug, python).Campbell Barton
also minor style cleanup
2013-06-26remove unused callbackCampbell Barton
2013-06-18add option to enable auto-execute scripts, but exclude certain directories.Campbell Barton
2013-06-17cmake: remove set_lib_path macroCampbell Barton
2013-06-10Python script auto-execution changes:Campbell Barton
- script execution is off by default - if a blend file attempts to execute a script this shows a message in the header with the action that was suppressed (script/driver/game-autostart) and 2 buttons to either reload the file trusted, or to ignore the message. - the file selector will always default to use the trust setting in the user preferences, but reloading an open file will keep using the current setting (whatever was set before or set on the command-line). - added SCons setting WITH_BF_PYTHON_SECURITY, this sets the default state for the user prefereces not to trust blend files on load. ... this option was in CMake before, but always off, now its enabled by default for SCons and CMake, and forced on in CMake for now.
2013-06-10code cleanup: group python reset functions in BPY_python_reset()Campbell Barton
2013-06-02Fix #35587: Cycles: image movie to single image crashingSergey Sharybin
Crash was happening on windows platforms only and was caused by some specifics about how CRT works. Basically, blender and all of the .dll are compiled with /MT flag, which means blender.exe and all .dll are using separate environments. This makes it impossible to pass file descriptors from blender to other dll, because it becomes invalid in the dll. And this is exactly what was happening: OIIO was trying to open movie file with all known plugins and one of them was zlib. And the way OIIO was using zlib API is opening the file using Boost and passing a file descriptor to zlib. And since zlib was a dynamic library this lead to general issues using this descriptor in zlib code. Solved by linking to zlib statically. This allows to safely pass file descriptor to zlib API. Alternative would be to compile all the stuff with /MD flag, but that's much bigger and less robust way to fix the issue. Tested on windows using msvc2008, scons plus cmake both 32 and 64 bit versions. Seems to be working fine. Further tweaks for mingw and msvc2012 could be needed tho.
2013-05-25code cleanup: typo and stop manpage turning '$' into italic.Campbell Barton
2013-05-21Fix #35443: Animation player doesn't play some movie formatsSergey Sharybin
Need to initialize FFmpeg for animation player. This is a bit confusing, but the only way to do this properly and clear is to call IMB_ffmpeg_init from playback_mode command line callback. This is because this callback is blocking and "usual" FFmpeg initializetion (which happens after command line parsing) was never called. Could be switched to separate FFmpeg initializtion and debug level set but let's keep simple for now.
2013-05-16CMakeLists.txt changes to use new static Jack libs with VC2012Jürgen Herrmann
2013-05-15Patch for CMakeLists.txt to build with new OpenAL libs on VS2012.Jürgen Herrmann
Because of crashing issue with old Creative Labs OpenAL on Windows 8 x64.
2013-05-14Patch to CMake build system.Jürgen Herrmann
Install needed dlls for libjack.
2013-05-14CMake build system updateJürgen Herrmann
- Extending CMakeLists.txt to support builds with VC2012. - Fix some typo in CMakeLists.txt - Introduces experimental WITH_AVX_CPU to build with /arch:AVX (VC11 only)
2013-05-13Remplace bunch of annoying ifdefs in tracking.c with a libmv-capi_stub.ccSergey Sharybin
Makes code in tracking.cc much easier to understand and modify, without worring to breck compulation with Libmv disabled. It is still possible compilation will break due to libmv-capi changes, but that's not happening so much often.
2013-05-08Fix #35240: command line -t number of threads option did not work for cycles.Brecht Van Lommel
Now it works for blender internal, cycles and other multithreading code in Blender in both background and UI mode.
2013-05-06Attempt to fix #35228: hide a few LLVM symbols that are not in the llvm ↵Brecht Van Lommel
namespace to try to avoid conflicts with Mesa GL llvmpipe on linux.
2013-04-29Fix for --debug-ffmpeg not giving enough informationSergey Sharybin
2013-04-23minor changes to get numpy working with locally bundled python.Campbell Barton
- enable site-packages for bundled python distrobution, py3.2 had a problem where it would try to parse headers we didnt include, but its resolved now. - workaround for glitch I was having on arch-linux where lib64 would be be used for the bundled python directory when it was just a symlink.
2013-04-13Accidentally left in test function. All's fine now!Ton Roosendaal
2013-04-13Fix compilation, ifdef test_file just in case it is useful for later.Antony Riakiotakis
2013-04-13Bug fix #34896Ton Roosendaal
The feature "Keep Session" was also loading that session when you double-click on a .blend to open it, or when a .blend file was on commandline. Moved this feature to the main() in creator.c, so it can check on it properly, skipping the kept session when a file was loaded.
2013-04-08fix [#34900] Building blender as a python module is broken in trunkCampbell Barton
patch provided by reporter - Martijn Berger (juicyfruit) also quiet warnings for headless mode.
2013-04-04svn merge ^/trunk/blender -r55700:55776Campbell Barton
2013-04-04code cleanup: use bools in UI and WM code, quiet some shadow warnings, ↵Campbell Barton
remove unused function uiEmboss()
2013-04-01Merged changes in the trunk up to revision 55700.Tamito Kajiyama
Conflicts resolved: source/blender/editors/mesh/mesh_intern.h
2013-03-28Fix typo with non-system bullet.Antony Riakiotakis
2013-03-24Merged changes in the trunk up to revision 55546.Tamito Kajiyama
Conflicts resolved: source/blenderplayer/bad_level_call_stubs/SConscript Partly reverted changes to intern/cycles/blender/addon/ui.py in revision 52899 to make it easier to merge trunk changes.
2013-03-22code cleanup: use NULL rather then 0 for pointers, and make vars static ↵Campbell Barton
where possible. also found unintentionally defined enum/struct variables that where only meant to be defining the type.
2013-03-21code cleanup: misc warnings/styleCampbell Barton
2013-03-19Fix: jittered brushes are not jittered, reported by kursad karatas.Antony Riakiotakis
Issue is sharing using global random generator which is shared with particle system which resets the seed due to some scene/option combination. Since it may be desirable to get predictable results with particles, made sure brushes allocate their own random number generator on startup and use that for jittering.
2013-03-18Merged changes in the trunk up to revision 55357.Tamito Kajiyama
Resolved conflicts: release/datafiles/startup.blend source/blender/editors/space_nla/nla_buttons.c Also updated source/blender/blenkernel/intern/linestyle.c as a follow-up of recent changes for the use of bool.
2013-03-12Patch [#34373] Use i18n monospace font in Text editor and Python consoleIrie Shinsuke
This patch allows Blender to display i18n monospace font in the text editor and the Python interactive console. Wide characters that occupy multiple columns such as CJK characters can be displayed correctly. Furthermore, wrapping, selection, suggestion, cursor drawing, and syntax highlighting should work. Also fixes a bug [#34543]: In Text Editor false color in comment on cyrillic To estimate how many columns each character occupies, this patch uses wcwidth.c written by Markus Kuhn and distributed under MIT-style license: http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c wcwidth.c is stored in extern/wcwidth and used as a static library. This patch adds new API to blenfont, blenlib and blenkernel: BLF_get_unifont_mono() BLF_free_unifont_mono() BLF_draw_mono() BLI_wcwidth() BLI_wcswidth() BLI_str_utf8_char_width() BLI_str_utf8_char_width_safe() txt_utf8_offset_to_column() txt_utf8_column_to_offset()
2013-03-03Merged changes in the trunk up to revision 54992.Tamito Kajiyama
Resolved conflicts: release/scripts/startup/bl_ui/space_view3d.py
2013-02-28fix for linking with recent armature refactor, was also missing file from ↵Campbell Barton
CMakeLists.txt.
2013-02-24BGE: Removing the source files for the PHY interfaces since they just ↵Mitchell Stokes
contained virtual destructors. This means we had license and doc blocks for 3 lines of code, which seemed silly. This also means that ge_phys_common no longer needs to be built as a library. I tested this with CMake and SCons using GCC; hopefully this doesn't break other systems.
2013-02-24Merged changes in the trunk up to revision 54802.Tamito Kajiyama
2013-02-23WITH_PYTHON_FRAMEWORK cmake option for OSXDalai Felinto
This option allow Blender to be linked against the Framework python It's useful if you want to have blenderplayer and bpy in the same application and need to avoid PyThread problems. patch reviewed by Jens Verwiebe before 2.66. He may want to change something though. (also small: I changed: /Library/Frameworks/Python.framework/Versions//python by /Library/Frameworks/Python.framework/Versions//Python as the latter seems to be the norm)
2013-02-22Remove extern_ssba workaroundSergey Sharybin
SSBA seemed to be working OK last time i've checked it with MSVC and optimization enabled. Also, we'll likely replace it with own BA soon, which works fine with MSVC anyway.
2013-02-20Made ldl code a part of extern_ssba library, otherwise gcc fails toSergey Sharybin
find ldl symbols because order of libraries seems to be critical for gcc linker. A bit stupid, but that's how linker works.. Both CMake and SCons shall work fine on linux now.
2013-02-20Fix #34299: Motion Tracking 20x slower under WindowsSergey Sharybin
Root of the issue goes to SSBA library which didn't work properly when using optimization in MSVC. It was worked around by disabling optimization for libmv, which is in fact shame and shouldn't have been done. It seems after some changes optimization does not affect on SSBA code, but enabling optimization could be risky so close to release. For now solved by splitting SSBA to separate CMake/SCons library, disabling optimization only for this particular library and enabling optimization for rest of libmv. Tested on all files which used to fail with optimization enabled in SSBA and all of them works the same as before. Tracking speed is significantly higher now. After release we'll enable optimization for SSBA as well, so there'll be no crappy build setup. Later we'll replace old SSBA library with new BA code based on Ceres. Bundle script would be broken for until then, so better not to use it.
2013-02-19patch [#34320] Cross compiling with mingw-w64 on ubuntuCampbell Barton
from Martijn Berger (juicyfruit) applying since this is only corrects header case which is ignored on windows anyway.
2013-02-16Merged changes in the trunk up to revision 54594.Tamito Kajiyama
2013-02-14misc changesCampbell Barton
- update man page for new additions since last release. - note that --start-console argument is windows only. - correct own assertion in own recent commit.
2013-02-11Command line argument '--python' wasn't working as documented since a long ↵Campbell Barton
time, It wasnt checking for text-blocks. Rather then be ambiguous, add --python-text argument for executing text-blocks.
2013-02-11style cleanup: also some typosCampbell Barton
2013-02-10Merged changes in the trunk up to revision 54421.Tamito Kajiyama
Conflicts resolved: release/datafiles/startup.blend release/scripts/startup/bl_ui/properties_render.py source/blender/SConscript source/blender/blenloader/intern/readfile.c
2013-02-07when using blender as a python module, force factory-startupCampbell Barton
2013-02-06some fixes for building blender as a python module again (wip, more work ↵Campbell Barton
needed).
2013-02-02style cleanupCampbell Barton