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-11-25Math Lib: rotate matrix cleanupCampbell Barton
- Remove 'rotate_m2', unlike 'rotate_m4' it created a new matrix duplicating 'angle_to_mat2' - now used instead. (better avoid matching functions having different behavior). - Add 'axis_angle_to_mat4_single', convenience wrapper for 'axis_angle_to_mat3_single'. - Replace 'unit_m4(), rotate_m4()' with a single call to 'axis_angle_to_mat4_single'.
2016-11-25Fix Torus default UV's offset outside 0-1 boundsCampbell Barton
When major/minor segments didn't fit evenly into 4, the UV's would move outside the UV bounds.
2016-11-25Remove eekadoodle workaround for add torusCampbell Barton
This is no longer needed since moving to MPoly/MLoop data structure. Also use 3x3 matrix for transforming instead of quaternion (slightly better performance).
2016-11-24Cycles: Avoid divisions by zero in volume sampling codeSergey Sharybin
Was giving huge artifacts in the barber shop file here in the studio, Maybe not fully optimal solution, but committing it for now to have closer look later.
2016-11-24Remove unused vector icons from RNAMartijn Berger
2016-11-24Fix prefs UI when built w/o CyclesCampbell Barton
2016-11-23Fix T50100: Cycles SeparateRGBNode Red socket defined wrongSergey Sharybin
Spotted by David (bocs), thanks!
2016-11-23Depsgraph: Fix matrix_world driver sourceSergey Sharybin
Reported by Dalai in IRC, thanks!
2016-11-23Cycles: Fix strict compilation warningsSergey Sharybin
2016-11-23Fix Cycles device backwards compatibility error if device type is unavailable.Brecht Van Lommel
2016-11-23Fix spelling in Cycles distance culling description.Brecht Van Lommel
2016-11-22Fix T49718: Wrong "Make Duplicates Real" behavior with "Keep Hierarchy"Luca Rood
All objects were being parented to a single instance of each parent object, instead of their respective instances, when using dupliverts or dupligroups. Behavior was caused by the `persistent_id[0]` (vertex/face id) being ignored when computing `parent_gh` hash, which caused all instances to have the same hash, and thus only the first one was included. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D2370
2016-11-22Cycles: Fix strict compilation warningsSergey Sharybin
Should be no functional changes.
2016-11-22Install_deps: fix warning message not showing up in case build fails.Bastien Montagne
Kinda stupid, but big nice warning about need to try clean build if something fails was only showing in case install_deps completed successfully... :P
2016-11-22Fix T50034: Blender changes processor affinity unauthorizedSergey Sharybin
2016-11-22GLog: Workaround compilation error on HurdSergey Sharybin
There is syscall headers but no SYS_Write syscall.
2016-11-22Cycles: Fix re-definition of some functions on x32 archSergey Sharybin
2016-11-22Fix (unreported) crash when drawing armatures' poses in some cases.Bastien Montagne
Was affecting armatures' pose drawing code, could try to draw with non-updated pose, which may contain NULL bone pointers (e.g. after some data-block management tool execution, like make local, remapping, etc.).
2016-11-22Cycles: Another attempt to fix compilation on 32bit LinuxSergey Sharybin
2016-11-22Cycles: Attempt to fix 32bit buildbot builds after recent commitSergey Sharybin
2016-11-22Cycles: Implement texture size limit simplify optionSergey Sharybin
Main intention is to give some quick way to control scene's memory usage by clamping textures which are too big. This is really handy on the early production stages when you first create really nice looking hi-res textures and only when it all works and approved start investing time on optimizing your scene. This is a new option in Scene Simplify panel and it acts as following: when texture size is bigger than the given value it'll be scaled down by half for until it fits into given limit. There are various possible improvements, such as: - Use threaded scaling using our own task manager. This is actually one of the main reasons why image resize is manually-implemented instead of using OIIO's resize. Other reason here is that API seems limited to construct 3D texture description easily. - Vectorization of uchar4/float4/half4 textures. - Use something smarter than box filter. Was playing with some other filters, but not sure they are really better: they kind of causes more fuzzy edges. Even with such a TODOs in the code the option is already quite useful. Reviewers: brecht Reviewed By: brecht Subscribers: jtheninja, Blendify, gregzaal, venomgfx Differential Revision: https://developer.blender.org/D2362
2016-11-22GPU: Consider latest Gallium driver an official ATI/AMDSergey Sharybin
This will make triple buffer used by default for such configuration. Ideally we would switch to triple buffer on all platforms, but let's do it in 2.8 branch and don't open can of worms in master now. This should solve issues like T49945.
2016-11-21Glog: Fix compilation error on ppc64elSergey Sharybin
This was fixed in upstream already. Time to re-bundle?
2016-11-21CLEW: Workaround compilation error on ppc64elSergey Sharybin
Something was conflicting here, causing C++ to consider bool as a __vector(4) bool.
2016-11-21Partly revert own rBb97c567c1df1e, clear_proxy is actually safe.Bastien Montagne
This is very confusing, in fact, and rna tooltip was wrong, BKE_object_make_local_ex actually ensures we never have several proxies of same object, since it always clears proxy when it has to copy object to make it local... What that RNA function is probably missing, though, is same logic as in BKE_library_make_local to actually remap proxy from old linked object to new local one.
2016-11-21Fix two very bad issues in new ID.make_local RNA function.Bastien Montagne
I) `clear_proxy` parameter was not assigned to parm in RNA define code, so 'pyfunc optional' flag was set to `new_id` parameter of `user_remap` func - super ugly! II) `clear_proxy` parameter itself, when set to False, would allow to leave .blend file in invalid state (more than one proxy of same object), this should never, ever be allowed in RNA API imho. Left the PAI untouched for now, just disabled any effect from this parameter (hence always clearing proxy when copying).
2016-11-21Cleanup: get rid of unused `BKE_constraints_relink()`.Bastien Montagne
Libquery/generic ID remapping code handles this now.
2016-11-21Fix T49981: New Depsgraph - When camera is on inactive layer, it does not ↵Sergey Sharybin
evaluate constraints
2016-11-21Cycles: Attempt to fix compilation error on ppc64elSergey Sharybin
There is some define conflict between system headers and clew, so delay include of clew.h as much as possible.] This is something which needed to be done in the code before the refactor, hopefully such change will still work.
2016-11-21Depsgraph: Fix infinite viewport object update in CYcles render modeSergey Sharybin
The issue was caused by wrong object re-tag needed to have proper dependnecies update for OpenSubdiv.
2016-11-21Depsgraph: use more explicit parenthesisSergey Sharybin
2016-11-20Fix Xcode link error, missing definitions in RNA C++ API that other ↵Brecht Van Lommel
compilers ignored.
2016-11-20Cycles: Don't shadow loop variableMai Lavelle
2016-11-20Cycles: add basic backwards compatibility for device selection, move to ↵Brecht Van Lommel
System tab. For the multi-GPU case users still have to reconfigure the devices they want to use. Based on patch from Lukas Stockner. Differential Revision: https://developer.blender.org/D2347
2016-11-20Cycles: refactor culling code into utility class.Brecht Van Lommel
2016-11-20Cycles: distance culling for objects.Carlo Andreacchio
This can be used together with camera culling to keep nearby objects visible in reflections, using a minimum distance within which objects are visible. It is also useful to cull small objects far from the camera. Reviewed By: brecht Differential Revision: https://developer.blender.org/D2332
2016-11-20Cleanup: harmless mistake in rangetreeCampbell Barton
2016-11-20GHOST/X11: Incorrect WM_STATE accessCampbell Barton
This worked by accident because of struct padding, treat state as a CARD32 as documented. Matches wine-x11 usage.
2016-11-20Fix T50081: Grease pencil parented rotation problemAntonioya
When the parent object matrix change after the layer was parented, the inverse matrix for strokes must be updated when editing strokes or the transformations will be wrong.
2016-11-19Fix T50078: Vertex Groups not copied over when making proxy.Luca Rood
Reviewers: mont29 Reviewed By: mont29 Differential Revision: https://developer.blender.org/D2368
2016-11-19Fix T49991: reloading librairies doesn't update node groups.Bastien Montagne
We need to check node tree links are still valid, after we remapped some NodeGroup. Note: In fact, we have to run that for *all* ID types, since nodes may use any kind of data-block (in theory)... :/
2016-11-19Fix NodeGroup generic verify function crashing if node's ID pointer is NULL.Bastien Montagne
Another nice crasher - in this case, we just want to nuke all sockets... Related to T49991.
2016-11-19Fix (unreported) nodeRemoveAllSockets() not clearing inputs/outputs sockets ↵Bastien Montagne
lists. Nice crasher (though seems to not be much used so far)! Related to T49991.
2016-11-19Fix forward-compat Nodes write code being executed also for undo steps writing.Bastien Montagne
Forward compatibility code should never, ever be run during undo saving. Note: related to T49991 (but does not fix it either, crash now happens when doing a real file save...).
2016-11-19Fix Node space ID remap callback not handling node trees.Bastien Montagne
Yep. Kinda ridiculous, but forgot to handle the very node trees data-blocks in that editor! Related (but not fixing) to T49991.
2016-11-19Fix T50071: Radience HDR fomat does not support alpha at all.Bastien Montagne
2016-11-18Fix UV layer bug in object_utils.object_data_add()Campbell Barton
Adding a torus in edit-mode, with 'Generate UVs' for example would either create another UV layer with the default name or switch to the default UV layer name if it exists. Now use the existing UV layer if present.
2016-11-18Add Torus: avoid excessive attr accessCampbell Barton
2016-11-18BMesh: invalid return from BM_mesh_validateCampbell Barton
Returned value was always false, even for valid meshes, note that this is a debug-only function. Also set internal-tag cleared.
2016-11-18Minor debug-report tweak to autosave code.Bastien Montagne
Print in cosole a warning when we skip autosave due to runnning modal op. Related to T49974.