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
2014-09-08Warn when --engine arg isn't foundCampbell Barton
2014-09-08Fix building as Python module (manpage-generation)Campbell Barton
2014-09-05Disable msvc runtime fma3 use in an attempt to fix msvc 2013 + windows 7 issues.Martijn Berger
MS report: https://connect.microsoft.com/VisualStudio/feedback/details/811093
2014-08-31Add sqlite3 dll's on windows.Martijn Berger
Fix T41144
2014-08-29Fix T41629: Won't open blend files with non-Latin charasters in the nameSergey Sharybin
2014-08-25Fix T41524: Won't open blend file with "space" symbol in the nameSergey Sharybin
2014-08-07Tweaks to the recent wrapper on windowsSergey Sharybin
- Forgot to handle command line arguments - Because of the fact we need to be able to use stdout and stderr we need to use regular console application for the wrapper. - Because of using regular application for the wrapper we need to check forparent PID in the isStartedFromCommandPrompt(). I really hope it's not gonna to become any more complicated.
2014-08-07Add blender launcher application when building with MSVCSergey Sharybin
Main idea of this change is to make a small executable which will set OMP_WAIT_POLICY environment variable and then will launch blender itself. This is a teporary solution for the time being we'll have a more clear solution to high CPU usage with OpenMP when building with MSVC. Reviewers: campbellbarton, juicyfruit Reviewed By: juicyfruit Differential Revision: https://developer.blender.org/D717
2014-08-06OSX/cmake: allow for llvm dynamic builds too, but prefer staticJens Verwiebe
2014-08-01OSX/cmake: adapt bundle structure according sconsJens Verwiebe
2014-07-31Use dynamically linked SDL 1.2.15 on windows x64Martijn Berger
2014-07-28Fix bundling of requests on debian-like systemsSergey Sharybin
Couple of issues: - Debian systems doesn't use site-packages but uses dist-packages instead. - Requetss from ubuntu repository depends on urlllib3 and chardet, which also implies six. copy those libs as well. I know it's all rather annoying, but no that much choise is in here..
2014-07-28Make requests python package to be detected in the same way as numpySergey Sharybin
This solves missing requests package reported on the systems where it's located in dist-packages rather than in site-packages. To do this there's now a helper macros which handles both requests and numpy now and could be used for more packages in the future. Reviewers: campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D686
2014-07-25OSX: adaptions needed for renewed osl/oiio/llvmJens Verwiebe
2014-06-26Fix parallel CMake builds failing due to missing buildinfo.hNicholas Bishop
Reviewed in #blendercoders by ideasman42
2014-06-26Code cleanup: casts, dead assignment & arg order.Campbell Barton
2014-06-24Switch allocator to thread-safe when rendering from the command lineSergey Sharybin
This is needed because render threads would do some allocations like part buffer allocation and so. This is likely harmless with the lock free allocator (not on Windows tho), but when using guarded allocator we need to be sure access to the list of MemHead is safe.
2014-06-23T39690: Modifications to Blender's 'temp dir' system.Bastien Montagne
Current temporary data of Blender suffers one major issue - default 'temp' dir on Windows is never automatically cleaned up, and can end being quite big when used by Blender, especially when we have to store per-process data (using getpid() in file names). To address this, this patch: * Divides tempdir paths in two, one for 'base' temp dir (the same as previous unique tempdir path), the other is a mkdtemp-generated sub-dir, specific to each Blender instance. * Only uses base tempdir when we need some shallow persistance accross Blender sessions - and we always reuse the same filename (quit.blend...) or generate small file (crash reports...). * Uses temp sub-dir for heavy files like pointcache or renderEXRs (Save Buffer option). * Erases temp sub-dir on quit or crash. To get this working it also adds a working 'recursive delete' to BLI_delete() under Windows. Note that, as in current code, the 'recover render result' hack-feature that was possible with SaveBuffer option is still removed. A real renderresult cache feature will be added soon, though. Reviewers: campbellbarton, brecht, sergey Reviewed By: campbellbarton, sergey CC: sergey Differential Revision: https://developer.blender.org/D531
2014-06-19Add a bmesh_core_test, a start at testing bmesh functionality.Howard Trickey
Needed to make the blender link libraries a global property now that tests are parallel to source directory. Current sort order for blender link libraries doesn't work for tests that start with few defined symbols. Doubling the lib list works, but a TODO to find a better way (probably using CMake's own mechanism for tracking dependencies).
2014-06-18GTest unit testing frameworkSergey Sharybin
Currently covers only small set of functionality.
2014-06-13Automatically generate blender.1 man page during build processCampbell Barton
Patch T40418 by Lawrence D'Oliveiro
2014-05-15CMake/SCons: finish removing MSVC2012 referencesCampbell Barton
2014-04-30Code cleanup: remove unused includesCampbell Barton
Opted to keep includes if they are used indirectly (even if removing is possible).
2014-04-02Rename "BLI_cpu.h" to "BLI_system.h" and add to it BLI_getpid() helper.Bastien Montagne
There is not much sense to have a whole BLI file just to check SSE2 on CPUs... So idea is to rename it to more generic "BLI_system", and add to it more system-related utils, like e.g. an include helper for getpid(), which allows to hide unix/windows internals from rest of the code... Reviewers: campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D439
2014-04-01Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT defineCampbell Barton
2014-03-30Doxy comment for main()Campbell Barton
2014-03-30Fix MinGW64 compilation until we update the libraries.Antony Riakiotakis
2014-03-27Windows: Upgrade FFmpeg from 0.10 to 2.1.4Sergey Sharybin
Fixes T39423: Blender crashes on iv41 encoded videos in thumbnail display mode Libraries are still being committed to the svn, so compilation might be broken for a while. Sorry for this, but can't really be avoided. Also, some typos in scons are possible.
2014-03-16Code cleanup: naming conventionsCampbell Barton
2014-03-07Removing ParticleSystem->frand arrays to avoid memory corruption issuesLukas Tönne
in threaded depgraph updates and effector list construction. Gathering effectors during depgraph updates will call the psys_check_enabled function. This in turn contained a DNA alloc call for the psys->frand RNG arrays, which is really bad because data must be immutable during these effector constructions. To avoid such allocs the frand array is now global for all particle systems. To avoid correlation of pseudo-random numbers the psys->seed value is complemented with random offset and multiplier for the actual float array. This is not ideal, but work sufficiently well (given that random numbers were already really limited and show repetition quite easily for particle counts > PSYS_FRAND_COUNT).
2014-03-04Edit to last commit, use the version veriableCampbell Barton
2014-03-04OSX/cmake: copy release/site-packages for OSX ( static py for now )Jens Verwiebe
2014-03-04Build system: add cmake option to install requestsCampbell Barton
2014-03-04Build system copy release/site-packages for windowsCampbell Barton
2014-03-04Build system support for numpy on ms-windowsCampbell Barton
2014-02-19BSP was still hanging around in CMakeSergey Sharybin
2014-02-19Fix T38715: Setting object mode fails from command lineCampbell Barton
also run load pre/post callbacks
2014-02-19OSX/CMAKE: make linking and bundling of clang omp lib work,Jens Verwiebe
Cmake will still not find -fopenmp working, so the user must set WITH_OPENMP and flags manually
2014-02-12Fix T38541: sys.exit fails when blender is built as a py-moduleCampbell Barton
2014-02-07ListBase API: add utility api funcs for clearing and checking emptyCampbell Barton
2014-02-04Fix missing $BLENDER_USER_DATAFILES in command line help text.Lawrence D'Oliveiro
Reviewed By: brecht Differential Revision: https://developer.blender.org/D249
2014-02-04Correct help: -b/--background does not take a file argumentLawrence D'Oliveiro
The documentation for the -b/--background option incorrectly states that it takes a <file>, however it can run also without a file with e.g. a script. Reviewed By: brecht Differential Revision: https://developer.blender.org/D250
2014-01-29Move depsgraph debug print under --debug-depsgraph command line argumentSergey Sharybin
2014-01-25Blender docs: Correct upper limit, shown for missing -t option value.Lawrence D'Oliveiro
Differential Revision: https://developer.blender.org/D248
2013-12-26Threaded object update and EvaluationContextSergey Sharybin
Summary: Made objects update happening from multiple threads. It is a task-based scheduling system which uses current dependency graph for spawning new tasks. This means threading happens on object level, but the system is flexible enough for higher granularity. Technical details: - Uses task scheduler which was recently committed to trunk (that one which Brecht ported from Cycles). - Added two utility functions to dependency graph: * DAG_threaded_update_begin, which is called to initialize threaded objects update. It will also schedule root DAG node to the queue, hence starting evaluation process. Initialization will calculate how much parents are to be evaluation before current DAG node can be scheduled. This value is used by task threads for faster detecting which nodes might be scheduled. * DAG_threaded_update_handle_node_updated which is called from task thread function when node was fully handled. This function decreases num_pending_parents of node children and schedules children with zero valency. As it might have become clear, task thread receives DAG nodes and decides which callback to call for it. Currently only BKE_object_handle_update is called for object nodes. In the future it'll call node->callback() from Ali's new DAG. - This required adding some workarounds to the render pipeline. Mainly to stop using get_object_dm() from modifiers' apply callback. Such a call was only a workaround for dependency graph glitch when rendering scene with, say, boolean modifiers before displaying this scene. Such change moves workaround from one place to another, so overall hackentropy remains the same. - Added paradigm of EvaluaitonContext. Currently it's more like just a more reliable replacement for G.is_rendering which fails in some circumstances. Future idea of this context is to also store all the local data needed for objects evaluation such as local time, Copy-on-Write data and so. There're two types of EvaluationContext: * Context used for viewport updated and owned by Main. In the future this context might be easily moved to Window or Screen to allo per-window/per-screen local time. * Context used by render engines to evaluate objects for render purposes. Render engine is an owner of this context. This context is passed to all object update routines. Reviewers: brecht, campbellbarton Reviewed By: brecht CC: lukastoenne Differential Revision: https://developer.blender.org/D94
2013-12-23Fix for crash when no args where given with -o, -x command line argsCampbell Barton
Patch D123 from djnz (Masakazu Ito)
2013-12-10Fix T37713: proxy not updated for first frame in background render.Brecht Van Lommel
The problem is that the animation curves are first before object updates, where BKE_pose_rebuild and proxy synchronize will undo the animation when the proxy is evaluted for the first time after loading. This is somewhat of a workaround but it's also useful to have the scene updated once when opening in background mode, and it makes rendering from the UI and background more similar and so more predictable to give the same result.
2013-11-25CMake Build: option to compile without opennl/superlu.Campbell Barton
2013-11-21Fix compile error on MinGW64, time.h is required for gmtime.Antony Riakiotakis
2013-11-17fix for crash with new buildinfo, when gmtime() returns NULLCampbell Barton