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
2017-08-29Fix T48079: Maintain Volume constraint overcompensates.Alexander Gavrilov
The coefficient has been wrong since introduction for some reason. Not backwards compatible, should not be merged to 2.7*.
2017-08-28Make GS macro return proper IDType typeSergey Sharybin
Previously it was returning short, which was really easy to (a) compare against non-ID type value (b) forget to handle some specific value in switch statement. Both issues happened in the nearest past, so it's time to tighten some nuts here. Most of the change related on silencing strict compiler warning now, but there is also one tricky aspect: ID_NLA is not in the IDType enum. So there is still cast to short to handle that switch. If someone has better ideas how to deal with this please go ahead :)
2017-08-26Fix T52478: Error report "Shrinkwrap: out of memory" on invisible target.Bastien Montagne
Shrinkwrap must check it does have valid target data. Safe for 2.79 release.
2017-08-25Fix T52481: After making all local, local proxies of linked data get broken ↵Bastien Montagne
after file save and reload. Issue was nasty hidden one, the dual status (mix of local and linked) of proxies striking again. Here, remapping process was considering obdata pointer of proxies as indirect usage, hence clearing the 'LIB_TAG_EXTERN' of obdata pointer. That would make savetoblend code not store any 'lib placeholder' for obdata data-block, which was hence lost on next file read. Another (probably better) solution here would be to actually consider obdata of proxies are fully indirect usage, and simply reassign proxies from their linked object's obdata on file read... However, that change shall be safer for now, probably good for 2.79 too.
2017-08-23RNA: keep structs_map valid w/ ID duplicate & freeCampbell Barton
2017-08-22Depsgraph: Remove placeholder for path evaluationSergey Sharybin
Wasn't used in years, if it really needs to be dedicated operation it needs to be revisited anyway.
2017-08-22Fix threading conflict when doing Cycles background renderSergey Sharybin
It is possible to have same image used multiple times at different frames, which means we can not free it's buffers without any guard. From quick tests this seems to be doing what it is supposed to. Need more testing and port this to 2.79.
2017-08-21Fix T52479: Regression: Motion Tracking no longer worksSergey Sharybin
2017-08-21Fix T52434: Restore mesh center of mass calculationCampbell Barton
The new method while improved for solid objects doesn't work for non-manifold meshes, keep both.
2017-08-20Fix T52439: Crash after adjusting lenght of hair particles.Bastien Montagne
Regression from rBfed853ea78221, calling this inside thread worker was not really good idea anyway, and we already have all the code we need in pre-threading init function, was just disabled for vertex particles before. To be backported to 2.79.
2017-08-15Cycles/BI: Add a pixel size option for speeding up viewport renderingLukas Stockner
This patch adds "Pixel Size" to the performance options, which allows to render in a smaller resolution, which is especially useful for displays with high DPI. Reviewers: Severin, dingto, sergey, brecht Reviewed By: brecht Subscribers: Severin, venomgfx, eyecandy, brecht Differential Revision: https://developer.blender.org/D1619
2017-08-14Fix T52391: Crash on duplicating material.Bastien Montagne
Bug in new ID copying code, thanks once again to stupid nodetrees, we ended up wrongly remapping MA node->id pointers to NodeTree when copying materials using node trees...
2017-08-14Cleanup: confusing naming in BKE_node_tree_copy_data().Bastien Montagne
2017-08-14New ID Copying code: fix node_tree_copy_data still potentially increasing ↵Bastien Montagne
usercount of its gpencil pointer. _copy_data() functions of datablocks shall never handle that, it's done by generic calling code in library.c.
2017-08-14Fix T51850: Motion tracking - poor performance with keyframe matching on ↵Sergey Sharybin
large video Enabled cache for frame accessor and tweaked policy so we guarantee keyframed images to be always in the cache. The logic might fail in some real corner case (for example, when doing multiple tracks at once on a system where we can not fit 2 clip frames in cache) but things are much better now for regular use.
2017-08-14Tracking: Make frame accessor cache safe for threadingSergey Sharybin
2017-08-14Tracking: Cleanup, newlines and commentsSergey Sharybin
2017-08-14Tracking: Cleanup, de-duplicate codeSergey Sharybin
2017-08-14Trackign: Add some basic logging about caching in frame accessorSergey Sharybin
2017-08-14Tracking: Make frame access cache aware of regionSergey Sharybin
Cache is still kept disabled, need to think of a policy for cache cleanup.
2017-08-14Tracking: Correct comparison in cache keysSergey Sharybin
This code wasn't uses, but the key comparison was totally wrong.
2017-08-14Tracking: Cleanup and some commentsSergey Sharybin
2017-08-14Move back master to BCon1 (aka alpha) status.Bastien Montagne
Forgot to do that the other week, master is no more 2.79 RC!
2017-08-12WM: load UI for new file, even when pref disabledCampbell Barton
Loading startup file always loads the UI now.
2017-08-12Cleanup: whitespaceCampbell Barton
2017-08-11iFix T52050: Empty VSE preview for scene strips with OpenGL preview + ↵Bastien Montagne
Rendered settings. 'OpenGL Preview' checkbox was redundant now, just use seq_prev_type value only. Might be OK for 2.79, but should be double-checked first...
2017-08-11Fix T52149: LoopTriArray computation was not correctly protected against ↵Bastien Montagne
concurrency. Note: this commit seems to work as expected (also with transform snapping etc.). However, it is rather unsafe - not enough for 2.79 at least, unless we get much more testing on it. It also depends on three previous ones. Note that using a global lock here is far from ideal, we should rather have a lock per DM, but that will do for now, whole DM thing is doomed to oblivion anyway in 2.8. Also, we may need a `DM_DIRTY_LOOPTRIS` dirty flag at some point. Looks like we can survive without it for now though... Probably because cached looptris are never copied accross DM's?
2017-08-11Cleanup: remove useless `DM_ensure_looptri()`.Bastien Montagne
That one was doing exactly same thing as `dm->getLoopTriArray()`, no point in having twice the same code here...
2017-08-11Fix transform snap code using 'allocated' flags to get verts/edges/etc. ↵Bastien Montagne
arrays again from DM. This was... horribly wrong, CDDM will often *not* need to allocate anything to return arrays of mesh items! Just check whether array pointer is NULL. Also, remove `DM_get_looptri_array`, that one is useless currently, `dm->getLoopTriArray` will always return cached array (computing it if needed).
2017-08-11Cleanup: deduplicate DM's getLoopTriArray() callback.Bastien Montagne
All three functions were doing exactly the same thing, simpler to only have one in that case!
2017-08-11Object Apply Transform: option to apply propertiesCampbell Barton
In some cases users may want to disable this option to avoid changing other properties besides vertex locations.
2017-08-11RNA: Operators were excluded from struct mapCampbell Barton
Recent changes meant structs that were registered without a name wouldn't get added to the map. Now assigning identifiers manages the struct-map.
2017-08-11Cycles: change defaults for filter glossy, clamp and branched path AA.Brecht Van Lommel
We're adding some bias by default, which now I think is the right thing to do from a usability point of view since you really need to use those options anyway to get clean renders in a practical time. Differential Revision: https://developer.blender.org/D2769
2017-08-11Fix crash checking for Blender version 10+Campbell Barton
PyAPI could trigger this, for now just truncate.
2017-08-11Cleanup: redundant 'static' variableCampbell Barton
Also use BLI_snprintf.
2017-08-11Fix OSX duplicate path in Python's sys.pathCampbell Barton
The '..' in the path caused simple comparisons to fail. D2780 by @akitula
2017-08-11Cleanup: whitespaceCampbell Barton
2017-08-10Cleanup: make seq dupli scene operands' names match global copying convention.Bastien Montagne
Followup to rB1037b90cb831b, forgot to save that file :(
2017-08-10Cleanup: make seq dupli scene operands' names match global copying convention.Bastien Montagne
2017-08-10Fix T52332: crash when duplicating sequencer strips.Bastien Montagne
Bug introduced in recent ID copying refactor. This commit basically sanitizes seq strip copying behavior, by making destination scene pointer mandatory (and source one a const one). Nothing then prevents you from using same pointer as source and destination!
2017-08-10Fix T52324: Metaball disappears when deleting first metaball object.Bastien Montagne
Lost specific MBall 'need update' case here in last year's refactor. While technically not a regression, nice to have in 2.79.
2017-08-10Cleanup & fix potential NULL pointer dereferencing.Bastien Montagne
2017-08-10Fix T52314: New ID copy code (rBrB9da7dfa1586d) Breaks node previews in ↵Bastien Montagne
compositor. "Just" forgot to copy data block's name in 'NO_MAIN' case... *sigh*
2017-08-09Fix typo in new ID copying code.Bastien Montagne
2017-08-08Fix T52263: Crash When Splitting and Merging Areas with Header Text Set.Bastien Montagne
Not a regression, but safe enough to be included in 2.79.
2017-08-07Fix compilation error when rigid body is disabledSergey Sharybin
2017-08-07Refactor ID copying (and to some extent, ID freeing).Bastien Montagne
This will allow much finer controll over how we copy data-blocks, from full copy in Main database, to "lighter" ones (out of Main, inside an already allocated datablock, etc.). This commit also transfers a llot of what was previously handled by per-ID-type custom code to generic ID handling code in BKE_library. Hopefully will avoid in future inconsistencies and missing bits we had all over the codebase in the past. It also adds missing copying handling for a few types, most notably Scene (which where using a fully customized handling previously). Note that the type of allocation used during copying (regular in Main, allocated but outside of Main, or not allocated by ID handling code at all) is stored in ID's, which allows to handle them correctly when freeing. This needs to be taken care of with caution when doing 'weird' unusual things with ID copying and/or allocation! As a final note, while rather noisy, this commit will hopefully not break too much existing branches, old 'API' has been kept for the main part, as a wrapper around new code. Cleaning it up will happen later. Design task : T51804 Phab Diff: D2714
2017-08-012.79 release: update version numbers & readfile versionning code.Bastien Montagne
2017-08-01Fix multi-units drawing re precision handling.Bastien Montagne
This is still far from prefect, but yet much better than what we had so far (more consistent with inheritent precision available in floats). Note that this fixes some (currently commented out) units unittests, and requires adjusting some others, will be done in next commit.
2017-08-01Cleanup: use static vars where appropriateCampbell Barton