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-04-15Merge branch 'master' into soc-2016-multiviewsoc-2016-multiviewTianwei Shen
2017-04-15Fix T51149: Joining curves allows 2D curves in 3DCampbell Barton
2017-04-15Object.raycast: error in previous commitGermano Cavalcante
This is taking longer than I expected.
2017-04-15Fix: Object.raycast: error to free treedataGermano Cavalcante
2017-04-15Object.raycast: Also test distance from BoundBoxGermano Cavalcante
If `isect_ray_aabb_v3_simple` provides this information, why not take advantage of it?
2017-04-15Object.raycast: Test the hit on the BoundBox firstGermano Cavalcante
This avoids the unnecessary creation of bvhtree, which can be highly inefficient in some cases (for example: in the `operator_modal_view3d_raycast.py` template)
2017-04-15Fix T51216: SSAO attenuation not being scale invariant.Brecht Van Lommel
Unfortunately this does break compatibility in that the viewport will look a bit different depending on the settings, but the old behavior was simply not usable for higher distances.
2017-04-14Alembic import: fixed dupligroup export when the dupli-empty has a parentSybren A. Stüvel
2017-04-14Alembic export: fixed flattened dupligroup importSybren A. Stüvel
2017-04-14Object Info node support for GLSL mode and the internal renderAlexander Romanov
Object Info node can be useful to give some variation to a single material assigned to multiple instances. This patch adds support for Viewport and BI. {F499530} Example: {F499528} Reviewers: merwin, brecht, dfelinto Reviewed By: brecht Subscribers: duarteframos, fclem, homyachetser, Evgeny_Rodygin, AlexKowel, yurikovelenov Differential Revision: https://developer.blender.org/D2425
2017-04-14Fix T49429: incorrect Blender internal viewport border render with ↵Brecht Van Lommel
DrawPixels method.
2017-04-14Alembic import: greatly improved curve/hair import performanceSybren A. Stüvel
The U-resolution of the imported curves was kept at the default value of 12, which is way too high for imported hair. We export hair at a fairly high resolution already, so it's not needed to subdivide even further when importing. Of course this may have an impact on other curves that do require this U-resolution to be higher. In that case the resolution can be increased after importing. I removed the default nu->orderu = num_verts, as that allowed every point to influence the entire spline, which was more expensive for the CPU, and unlikely to be needed. The orderu computations had off-by-one errors in the curve importer, which are now also fixed. The correct values are: - Linear: orderu = 2 - Quadratic: orderu = 3 - Cubic: orderu = 4 These values are also what is stored in the Alembic file for curves of type kVariableOrder, according to the reference Maya exporter maya/AbcExport/MayaNurbsCurveWriter.cpp, function MayaNurbsCurveWriter::write(), in the Alembic source code. The result is a frame rate increase of roughly 100x (tested with one 100-hair test on one machine, so take with grain of salt).
2017-04-14BLF: avoid glyph cache use-after freeCampbell Barton
Causes crash if the font size isn't set after clearing (see T51200)
2017-04-14UI: Add/Improve a few tooltipsAaron Carlisle
See T51061
2017-04-13Alembic export: unified code of exploreTransform and exploreObject.Sybren A. Stüvel
2017-04-13Alembic export: added support for writing dupli-groupsSybren A. Stüvel
This supports our common character animation workflow, where a character, its rig, and the custom bone shapes are all part of a group. This group is then linked into the scene, the rig is proxified and animated. Such a group can now be exported. Use "Renderable objects only" to prevent writing the custom bone shapes to the Alembic file.
2017-04-13Fix Surface Deform crash with missing or freed DMLuca Rood
2017-04-13Alembic import: fixed off-by-one error in start/end frameSybren A. Stüvel
static_cast<int> truncates, so a computed end frame of 99.999999999998 would result in 99, instead of the correct 100.
2017-04-13Task scheduler: Fix typo in TLS for pools created from non-main threadSergey Sharybin
Did a mistake which started to use same TLS for all threads for such pools. Also added some extra asserts to help catching the bugs.
2017-04-13Add red alert in UI controls for datablock pointer propertiesAlexander Romanov
2017-04-13Datablock ID PropertiesAlexander Romanov
The absence of datablock properties "will certainly be resolved soon as the need for them is becoming obvious" said the [[http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.67/Python_Nodes|Python Nodes release notes]]. So this patch allows Python scripts to create ID Properties which reference datablocks. This functionality is implemented for `PointerProperty` and now such properties can be created with Python. In addition to the standard update callback, `PointerProperty` can have a `poll` callback (standard RNA) which is useful for search menus. For details see the test included in this patch. Original author: @artfunkel Alexander (Blend4Web Team) Reviewers: brecht, artfunkel, mont29, campbellbarton Reviewed By: mont29, campbellbarton Subscribers: jta, sergey, campbellbarton, wisaac, poseidon4o, mont29, homyachetser, Evgeny_Rodygin, AlexKowel, yurikovelenov, fjuhec, sharlybg, cardboard, duarteframos, blueprintrandom, a.romanov, BYOB, disnel, aditiapratama, bliblubli, dfelinto, lukastoenne Maniphest Tasks: T37754 Differential Revision: https://developer.blender.org/D113
2017-04-12Task scheduler: Prevent race condition for the pools created from non-main ↵Sergey Sharybin
thread We can not re-use anything for such pools, because we will know nothing about whether the main thread is sleeping or not. So we identify such threads as 0, but we don't use main thread's TLS. This fixes dead-locks and crashes reported by Luca when doing playblasts.
2017-04-12Fix T50227: Alembic uv export/load issueSybren A. Stüvel
Previously only a CD_MLOOPUV custom data layer was created. Now we also create the accompanying CD_MTEXPOLY layer too.
2017-04-12Fix T51184: Crash of Blender when I try to join an object with one that has ↵Sergey Sharybin
booleans modifiers
2017-04-12Alembic export: fixed exporting as "flat"Sybren A. Stüvel
This exports all objects in world coordinates without parenting.
2017-04-12Alembic export: removed superfluous export_object() check.Sybren A. Stüvel
The exploreTransform() function already does this check, and the check isn't necessary when the object type isn't exported anyway.
2017-04-12Cleanup: use lowercase gpu prefix for static funcsCampbell Barton
This was mostly followed already.
2017-04-12Color management: Avoid memory copy into same bufferSergey Sharybin
2017-04-12Docs: minor improvement to code exampleCampbell Barton
2017-04-11Fix: width of UILayout.prop_enum() buttonsraa
2017-04-11Cleanup: quiet harmless but annoying overflowCampbell Barton
Caused asan to print warnings generating RNA
2017-04-11Remove redundant glColor callCampbell Barton
2017-04-10Fix stereoscopic camera volume drawing.Bastien Montagne
Not sure how we got to that point, but code was drawing twice one side of the camera volume, and not at all another side!
2017-04-10GPencil 2D drawing code: minor optimization.Bastien Montagne
Do not recompute both points's 2D coordinates for each segments, we can copy over from previous one... Does not gives any measurable speedup off hands, though.
2017-04-10Fix T51158: Motion Tracking Movie clip editor graphSergey Sharybin
2017-04-10Tracking: Fix use-after-free bugSergey Sharybin
2017-04-10PyAPI: Fast buffer access to id property arraysJacques Lucke
Support Python's buffer protocol for ID-properties.
2017-04-09Cleanup: use doxy code blockCampbell Barton
2017-04-09ListBase: Add insert-replace functionCampbell Barton
Handy to replace an existing link (without having to store before/after links) Use for id-props
2017-04-07Alembic import: prevent crash when cancelling import.Sybren A. Stüvel
It's possible that cancellation occured between the creation of the reader and the creation of the Blender object, in which case reader->object() returns a NULL pointer.
2017-04-07Alembic import: prevent double user decrement when cancelling import.Sybren A. Stüvel
BKE_libblock_free_us() was called on the object data, which decrements its user count, after which the same function was called on the object, which decrements the user count of the object data again. This double decrement was too much.
2017-04-07Alembic: synced gather_objects_paths with visit_objectsSybren A. Stüvel
This was necessary, but was only mentioned at gather_object_paths (which I didn't see earlier). That's now also fixed.
2017-04-07Alembic: documented use of CacheReader structSybren A. Stüvel
2017-04-07Alembic: just pass NULL when we know mcmd->reader is NULL.Sybren A. Stüvel
More explicit, easier to read & understand.
2017-04-07Fix T51137: Edge Rip HangsCampbell Barton
2017-04-06Fix T51135: Cylinder primitive generated bad UVsGermano Cavalcante
2017-04-06Alembic: rewrapped some lines to fit within 80 chars.Sybren A. Stüvel
2017-04-06Alembic import: compatibility with pre-C++11 compilers.Sybren A. Stüvel
2017-04-06Alembic import: restructured the importer w.g.t. parenthoodSybren A. Stüvel
Previously, a GHash was used to store a flattened mapping of parent information based on the Alembic hierarchy, and then that hash was used to set parent pointers on Blender objects. This resulted in errors and some duplicate objects. The new approach stores parent pointers while traversing the Alembic hierarchy, which means that there is much more information about the actual context of the Alembic object itself, producing a more stable import.
2017-04-06Alembic: rotation mode issue in copy_m44_axis_swap, and added unit tests.Sybren A. Stüvel