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
path: root/source
AgeCommit message (Collapse)Author
2016-01-04Remove SCons building systemSergey Sharybin
While SCons building system was serving us really good for ages it's no longer having much attention by the developers and started to become quite a difficult task to maintain. What's even worse -- there started to be quite serious divergence between SCons and CMake which was only accumulating over the releases now. The fact that none of the active developers are really using SCons and that our main studio is also using CMake spotting bugs in the SCons builds became quite a difficult task and we aren't always spotting them in time. Meanwhile CMake became really mature building system which is available on every platform we support and arguably it's also easier and more robust to use. This commit includes: - Removal of actual SCons building system - Removal of SCons git submodule - Removal of documentation which is stored in the sources and covers SCons - Tweaks to the buildbot master to stop using SCons submodule (this change requires deploying to the server) - Tweaks to the install dependencies script to skip installing or mentioning SCons building system - Tweaks to various helper scripts to avoid mention of SCons folders/files as well Reviewers: mont29, dingto, dfelinto, lukastoenne, lukasstockner97, brecht, Severin, merwin, aligorith, psy-fi, campbellbarton, juicyfruit Reviewed By: campbellbarton, juicyfruit Differential Revision: https://developer.blender.org/D1680
2016-01-04minor cleanupMike Erwin
2016-01-04OpenGL: image drawing tweaksMike Erwin
- no need to allocate client memory up front - delete unneeded GL calls - set default alpha test function on exit
2016-01-04minor cleanup: typosMike Erwin
no functional change
2016-01-04OpenGL: GPU_legacy_support workaround for nVidiaMike Erwin
nVidia Linux driver reports GL_CONTEXT_PROFILE_MASK = 0, which is a bug. In that case check for the ARB_compatibility extension. Non-buggy drivers will continue to use GL_CONTEXT_COMPATIBILITY_PROFILE_BIT. Thx to Dr Hackerman for reporting.
2016-01-04Remove select-next-loop operatorCampbell Barton
Taken from original bmesh-branch but doesn't give useful results (misses selection flushing).
2016-01-04Sculpt: OMP -> BLI_task, step II.Bastien Montagne
This time, all tools' code itself. Not much to say, except that we can also get rid of that OMP caching pre-process ugly stuff for multires smoothing. Together with previous commit, we have about 5% average speedup on stroke execution (though this vary a lot, up to 30% speedup in rare cases, and in even rarer cases some odd massive slowdowns...). Tech note: we may want to add 'guided'-similar feature to our BLI_task threaded loop, I suspect this could explain random massive slowdowns of new code (very rare, but annoying...).
2016-01-03Fix text wrapping off-by-one error w/ string widthCampbell Barton
Caused odd white space error in tooltip enum values.
2016-01-03Get rid of yet another instance of DM_DRAW_OPTION_NO_MCOLAntony Riakiotakis
Logic here is weird. Generally, textured drawing overrides material color unless material uses object color instead? It doesn't make sense, material color is a material color whatever the circumstance. Repeating: idea as always is to push all those options out of per- polygon callbacks and make decisions such as color enable in the higher level functions.
2016-01-03Get rid of three needless instances of DM_DRAW_OPTION_NO_MCOL.Antony Riakiotakis
It would be good to get rid of this entirely, ideally decision about mcols can be taken at material level and not done per face. More work needs to be done for that to work though.
2016-01-02GPU buffers: Add update functionality for existing buffers.Antony Riakiotakis
Only used for color for now, but we need this for any kind of buffer updates actually. This should get rid of some allocation/deallocation, making vertex painting a bit faster.
2016-01-02Cycles: Add Saw option to the wave textureLukas Stockner
This commit adds "Bands Saw" and "Rings Saw" to the options for the Wave texture node in Cycles, behaving similar to the Saw option in BI textures. Requested by @cekuhnen on BA. Reviewers: dingto, sergey Subscribers: cekuhnen Differential Revision: https://developer.blender.org/D1699
2016-01-01Sculpt: OMP -> BLI_task, step I.Bastien Montagne
This gives usual nice boost in parallelized sections themselves, on global sculpting stroke it's a bit hard to say, seems like we have an average 5% speedup, but it varies a lot... Note that this area is only parallelized when you have a big brush over dense geometry, otherwise there's no change at all. As a side note, this commit also factorizes code here, three times nearly the same code, tst...
2015-12-31Fix T46915: Non-intuitive behavior of Vector Curve Mapping nodeSergey Sharybin
Vector mapping node was doing some weird mapping of both original and mapped coordinates. Mapping of original coordinates was caused by the clamping nature of the LUT generated from the node. Mapping of the mapped value again was quite totally obscure -- one needed to constantly keep in mind that actual value will be scaled up and moved down. This commit makes it so values in the vector curve mapping are always absolute. In fact, it is now behaving quite the same as RGB curve mapping node and the code could be de-duplicated. Keeping the code duplicated for a bit so it's more clear what exact parts of the node changed. Reviewers: brecht Subscribers: bassamk Differential Revision: https://developer.blender.org/D1672
2015-12-31Fix T47046: Exporting Max and Maya keymap throws RNA warnings in console.Bastien Montagne
Totally harmless, but let's silence this bpyrna warning in case enum_items is a DummyRNA_NULL_items, which is by definition empty...
2015-12-31Fix wrong format used in the recent python exit code commitSergey Sharybin
2015-12-31Command line argument to exit on Python errorsCampbell Barton
eg: blender -b --python-exit-code 1 --python script.py --render-anim This causes blender not to continue parsing command line arguments and exit if the script raises an exception.
2015-12-31Add parse_int_strict_range utility for command line inputCampbell Barton
2015-12-31Cleanup: Py API namingCampbell Barton
Use BPY_execute_* prefix for all Python execution commands
2015-12-31Fix T47076: Memory issues when closing Blendera after Cycles bakingSergey Sharybin
2015-12-31Fix T47089: View rotate fails w/ auto depth+perspectiveCampbell Barton
2015-12-31Fix T47094: Crash w/ sequencer white-balanceCampbell Barton
2015-12-31Cleanup: warningCampbell Barton
2015-12-30Usual i18n/UI messages fixes...Bastien Montagne
2015-12-30Fix (unreported) memleak in mesh remapping auto-transform code.Bastien Montagne
2015-12-30Grr, forgot those ones in previous commit...Bastien Montagne
Never believe QTCreator when it comes to finding all usages of a func, kids... grep ftw!
2015-12-30BLI_task: change BLI_task_parallel_range_ex() to just take a bool whether to ↵Bastien Montagne
use threading or not, instead of threshold. From recent experience, turns out we often do want to use something else than basic range of parallelized forloop as control parameter over threads usage, so now BLI func only takes a boolean, and caller defines best check for its own case.
2015-12-30Fix T47081: laplacian smooth edit mode tool crash.Brecht Van Lommel
2015-12-30BGE: Fix invalid operator< for microsoft compiler.Porteries Tristan
It fixes the strict weak ordering assertion failure, see : https://support.microsoft.com/en-us/kb/949171. sybren and youle are the author of this commit.
2015-12-29More from T47045: Add i18n translations to render status from compo.Bastien Montagne
Also fix inconsistency for freestyle translation - we use IFACE_ everywhere (TIP_ may be more suited, but let's be consistent first!).
2015-12-29Building w/o OpenMP now works againCampbell Barton
rename define since its no longer OpenMP specific.
2015-12-29Fix invalid memory access in multiview code during render, reported on irc.Brecht Van Lommel
2015-12-29OS X: remove code for OS X <= 10.5, which is already not supported since 2 ↵Brecht Van Lommel
years.
2015-12-29Fix memleaks in our gtests.Bastien Montagne
2015-12-29BLI_math_statistics: switch from OMP to BLI_task.Bastien Montagne
This time, with have over 300% speedup! But no, this is not due to switch to BLI_task (which 'only' gives usal 15% speedup), but to enhancement of the algorithm, flatten loop over covariance matrix items now allows to compute (usually) all items in parallel, instead of having at most 3 or 4 working threads (with unbalanced load even)...
2015-12-28BLI_kdopbvh: switch from OMP to BLI_task.Bastien Montagne
Gives the usual 10%-30% speedup on affected functions themselves (BLI_bvhtree_overlap() and BLI_bvhtree_balance()), and about 2% speedup to overall cloth sim e.g. (measured from main Cloth modifier func).
2015-12-28Fix opengl error when GLSL is on for basic shader: shader needs to beAntony Riakiotakis
bound before setting uniforms
2015-12-28cdderivedmesh fix stippled faces not getting drawn at allAntony Riakiotakis
Also rearranged code here to not issue a draw call (explicit flush) per face and not set shader per face either when stippled drawing is mixed with regular drawing. Not good at all for performance.
2015-12-28Fix T47045: add some missing UI i18n translations to texture buttons and ↵Bastien Montagne
freestyle render messages.
2015-12-28Minor cleanup (paranoid checks) and fixes from coverity.Bastien Montagne
2015-12-28Some fixes from coverity (only one really nasty, in paint_proj).Bastien Montagne
2015-12-28Cleanup: style, indentationCampbell Barton
2015-12-28Correct recent error passing NULL to fcloseCampbell Barton
2015-12-28White Balance modifier for the VSEThomas Beck
This snippet creates a white balance modifier for the video sequence editor. It is useful for everyone who likes to set a new white point in the video source (easily via the eyedropper). Just select a point in the source file where you know that it should be white. The algorithm will then shift the colors towards your new white point. See attached the image for a quick demo. {F270576} Reviewers: psy-fi Reviewed By: psy-fi Subscribers: Blendify Projects: #bf_blender Differential Revision: https://developer.blender.org/D1698
2015-12-28Fix for building ghost-testsCampbell Barton
2015-12-28Fix possible invalid-index use /w link/path selectCampbell Barton
2015-12-28Cleanup: use BLI_libblock prefix for id functionsCampbell Barton
- test_idbutton -> BLI_libblock_ensure_unique_name (not only used from UI) - BKE_rename_id -> BKE_libblock_rename (always pass valid main) also rename: - name_uiprefix_id -> BKE_id_uiprefix
2015-12-28Cleanup typo.Bastien Montagne
Harmless but irritating... :P
2015-12-28Switch BKE_smoke from OMP to BLI_task.Bastien Montagne
Gives a global speedup of about 5% in smoke simulation (as usual, parallelized chunks themselves are about 15-25% quicker with BLI_task than with OMP), using a simple setup with two generators (one from mesh, one from particles), an obstacle and a windfield.
2015-12-28Fix (unreported) broken BLI_task's forloop func in case we have less ↵Bastien Montagne
iterations that workers. When called with very small range, `BLI_task_parallel_range_ex()` would generate a zero `chunk_size`, leading to some infinite looping in `parallel_range_func` due to `parallel_range_next_iter_get` returning true without actually increasing the counter! So now, we ensure `chunk_size` and `num_tasks` are always at least 1 (and avoid generating too much tasks too).