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: avoid temp array for rotate_m4Campbell Barton
No need to have temp array storage, avoid 2x loops.
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-24Remove unused vector icons from RNAMartijn Berger
2016-11-23Depsgraph: Fix matrix_world driver sourceSergey Sharybin
Reported by Dalai in IRC, thanks!
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-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-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-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-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: 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-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-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.
2016-11-18Depsgraph: Fix residue of debug-only codeSergey Sharybin
2016-11-18Fix (unreported) bad handling of brush's fill threshold value.Bastien Montagne
'1' threshold value would only allow to access a third of the basic 'color space' (from black to white, from 0.0 to 1.0 component values), when you expect it to access the whole range. Unfortunately, this needs a subversion bump to allow already defined brushes to keep exact same behavior! Also, did not change default value (0.2) for new brushes, think here keeping current one makes more sense. Thanks to @LucaRood for confirming the issue.
2016-11-18Fix T50063: Editing driver's expression eliminates "Zero" numberJulian Eisel
Disables trimming of trailing zeros in case button contains an expression.
2016-11-18Implement multi-view stereo support for image emptiesDalai Felinto
Empty images were implemented to expand (and eventually replace) the background images functionalities. If we are ever to drop background images "image empties" should support stereo/multi-view as well.
2016-11-18Fix potential NULL dereference in mesh sequence cache modifier.Bastien Montagne
Reported by coverity.
2016-11-18Fix copy/paste typo in new depsgraph object geometry builder (found by ↵Bastien Montagne
coverity).
2016-11-17BMesh: avoid using temp array for face-areaCampbell Barton
2016-11-17BMesh: minor cleanupCampbell Barton
Comment & don't use dummy pointer.
2016-11-17Cleanup: redundant index loop for monkey-createCampbell Barton
Also rename face vars (the faces aren't temp), and quiet old-style-definition warning.
2016-11-17Depsgrpah: Fix missing animation update in movie clipsSergey Sharybin
2016-11-17Depsgraph: Move scene builder function to own fileSergey Sharybin
This way it's much easier to grasp what the graph actually contains.
2016-11-17Fix T50060: New depsgraph does not update mask animationSergey Sharybin
2016-11-17Depsgraph: Use utility macro to iterate over linked listSergey Sharybin
This will be compiled into same exact code, just saves us from doing annoying type casts all over the place.
2016-11-17Depsgraph: Move rig builder functions to own filesSergey Sharybin
Those routines are rather big and started to be annoying to have one big file. Should be no functional changes.
2016-11-16Fix T50051: Avoid crash when render grease pencil from VSEAntonioya
The renderpasses for grease pencil are not necessary when render from sequencer. This fix solves the GPF but we need to rethink the complete render process for grease pencil and integrate better in the render and composition workflow. Thanks to Dalai Felinto por helping in the debug and fixing of the problem.
2016-11-16Fix T50046: Segmentation fault due to out-of-range VertexGroup.weight() call.Bastien Montagne
`get_vert_def_nr()` was not checking vert index in bmesh case (aka Edit mode).
2016-11-16Remove unused vector iconsMartijn Berger
it seems to me the icons are unused: - VICO_VIEW3D_VEC - VICO_EDIT_VEC - VICO_EDITMODE_VEC_DEHLT - VICO_EDITMODE_VEC_HLT - VICO_DISCLOSURE_TRI_RIGHT_VEC - VICO_DISCLOSURE_TRI_DOWN_VEC - VICO_MOVE_UP_VEC - VICO_MOVE_DOWN_VEC - VICO_X_VEC Since their code contains immediate mode GL calls and they seem to be unused i thought we could remove them. Reviewers: mont29 Reviewed By: mont29 Subscribers: merwin Tags: #bf_blender_2.8 Differential Revision: https://developer.blender.org/D2356
2016-11-16Disable possibility to flip bone names of linked armaturesSergey Sharybin
Linked data should not be modified in such a way. Reported by Nathan here in the studio, reviewed by Bastien, thanks!
2016-11-16Cleanup: Remove unused functionSergey Sharybin
2016-11-16Fix T50026: "Only Insert Needed" doesn't work when using Trackball rotationJoshua Leung
The rotation case here only covered rotation by the "Rotate" tool, but skipped the "Trackball" tool.
2016-11-16Fix T50023: Inverse Kinematics angle limits defaulting to 10313.2403124°Joshua Leung
Regression from 2.77a. The units for the min/max limits were changed in RNA but the pose channels were still being initialised with in degrees.
2016-11-15RNA Main API: set remove's do_unlink default value to true.Bastien Montagne
On second and third thoughts, this should have been done that way since the begining, cases were you just delete a few data-blocks without any serious knowledge of their usages are much, much more frequent than cases where you are deleting thousands of data-blocks and are sure they are not used anywhere anymore... Own fault, but really frustrated that this topic was only raised the day after 2.78a was released. :(
2016-11-15Get rid of 'drivers unlinking' code in `BKE_libblock_free_data()`Bastien Montagne
This has nothing to do here (freeing is not unlinking/remapping!), and was actually redoing something already taken care of by `BKE_libblock_relink_ex()` call in `BKE_libblock_free_ex()`. Also, gives some noticeable speedup when removing datablocks with do_unlink=True, about 5 to 10% quicker e.g. when deleting all objects from a py console, in a big production file...
2016-11-15Depsgraph: Fix frash with iTaSC solverSergey Sharybin
This commit reverts part of a fix for T33275, but things are: - I can not reproduce the original issue at all, so doesn't seem to cause any regressions. - It is really bad idea to do delayed initialization in the threaded environment, it's a straight way to some nasty issues. - We can't do things like this anyway because we go more granular, meaning such a delayed initialization will fail in the case of having several IK solvers (unless they properly accommodate to changed bone head). - Verified the fix with various files from Mango project and all of them seems to work nice with new depednency graph now (old depsgraph has some flickering, but it's not related on DEG itself, but on an environment with lots of proxies and threaded evaluation and it is not a new behavior).
2016-11-15Revert "Proxy: Construct pchan hash when syncing armature proxy"Sergey Sharybin
This reverts commit 9b5a32cbfb8a8565202bdccd232c53f98b62eeec. Apparently it is possible to have other thread mocking around with the hash. Needs deeper investigation, for the time being reverting to prevent crashes.