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-11-15Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/blenlib/BLI_math_matrix.h source/blender/blenlib/intern/math_matrix.c source/blender/blenlib/intern/rand.c source/blender/editors/animation/anim_channels_edit.c source/blender/makesrna/intern/rna_mask.c
2017-11-14Alembic: Fix mismatch in forward declaration with definitionSergey Sharybin
2017-11-09Cleanup: Use full name for scene_layer in alembicSergey Sharybin
2017-11-09Depsgraph: Make dependency graph to be built from scene layerSergey Sharybin
This is a final step of having proper ownership. Now selecting different layers in the "top bar" will actually do what this is expected to do. Surely, there are still things to be done under the hood, that will happen in a less intrusive way.
2017-11-06Depsgraph: Use new API for alembic C-APISergey Sharybin
2017-11-03Depsgraph: Use explicit depsgraph in alembic moduleSergey Sharybin
2017-11-02Merge branch 'master' into blender2.8Campbell Barton
2017-11-01Cleanup: styleCampbell Barton
2017-10-29Merge branch 'master' into blender2.8Sybren A. Stüvel
# Conflicts: # source/blender/alembic/intern/abc_exporter.cc # source/blender/alembic/intern/abc_exporter.h # source/blender/alembic/intern/alembic_capi.cc # tests/gtests/alembic/abc_export_test.cc
2017-10-29Alembic: exporting MetaBalls as meshSybren A. Stüvel
- Only basis balls are exported, as they represent the resulting mesh. As a result the mesh is written to Alembic using the name of the basis ball. - MetaBalls are converted to a mesh on every frame, then an AbcMeshWriter is used to write that mesh to Alembic.
2017-10-29Merge branch 'master' into blender2.8Sybren A. Stüvel
2017-10-29Alembic import: fixed mesh corruption when changing topologySybren A. Stüvel
When the mesh changed topology but kept the vertex count the same, it would result in a corrupt mesh. By checking the face & loop counts too, this has become less likely. I've checked IPolyMeshSchema::isConstant(), but it returns true even when we see that the mesh changed topology.
2017-08-31Merge branch 'master' into blender2.8Campbell Barton
2017-08-29Alembic: Fix T52579: crash when replacing slightly different alembic filesSybren A. Stüvel
Apparently with Maya in a certain configuration, it's possible to have an Alembic object without schema in the Alembic file. This is now handled properly, instead of crashing on a null pointer.
2017-08-15Merge branch 'master' into blender2.8Sybren A. Stüvel
# Conflicts: # source/blender/makesrna/intern/rna_render.c
2017-08-15Alembic import: report object name in face color index out of bounds errorSybren A. Stüvel
2017-08-15Alembic import: fix crash when face color index is out of bounds.Sybren A. Stüvel
This can happen with Alembic files exported from Maya. I'm unsure as to the root cause, but at least this fixes the crash itself. Thanks to @looch for reporting this with a test file. The test file has to remain confidential, though, so it's on my workstation only.
2017-08-09Merge branch 'master' into blender2.8Sybren A. Stüvel
2017-08-09Fix T52240: Alembic Not Transferring Materials Per FrameSybren A. Stüvel
When a mesh changes its number of vertices during the animation, Blender rebuilds the DerivedMesh, after which the materials weren't applied any more (causing the default to the first material slot).
2017-08-09Alembic: Renamed variable assigned_name → assigned_matSybren A. Stüvel
The variable is a pointer to a Material, not to a name/string.
2017-07-21Pass EvaluationContext argument everywhereLuca Rood
Note that some little parts of code have been dissabled because eval_ctx was not available there. This should be resolved once DerivedMesh is replaced.
2017-07-11Merge branch 'master' into blender2.8Sybren A. Stüvel
2017-07-11Fix T52022 Alembic Inherits transform not taken into accountSybren A. Stüvel
Alembic's "inherits transform" flag wasn't taken into account when constructing the parent object relations.
2017-07-03Merge branch 'master' into blender2.8Alexander Romanov
2017-07-03Alembic: renamed offset → sequence_offsetSybren A. Stüvel
2017-06-19Merge branch 'master' into blender2.8Campbell Barton
2017-06-19Cleanup: doxygen commentsCampbell Barton
Also remove duplicate & mismatching comments from grease-pencil header. Keep comments close to implementation to avoid getting out of sync.
2017-06-02Merge branch 'master' into blender2.8Campbell Barton
2017-06-02Cleanup: styleCampbell Barton
2017-05-31Merge branch 'master' into blender2.8Sergey Sharybin
2017-05-30Alembic import: fixed bug interpolating between frames.Sybren A. Stüvel
2017-05-30Alembic: simplified sub-frame samplingSybren A. Stüvel
It's now less confusing (for example, using nr_of_samples directly, instead of using 1 / 1 / nr_of_samples). Might also have fixed a bug. Also added unittests.
2017-05-30Alembic export: normalise the homogeneous component after scalingSybren A. Stüvel
The scale matrix must have its homogeneous 'w' (at mat[3][3]) set to the scale in order to also scale the translations along with it. However, this also scales the transform matrix's 'w' component, which is not supposed to happen.
2017-05-30Alembic export: avoid create-and-reset of shared pointerSybren A. Stüvel
Constructing the shared pointer where the object is actually allocated makes the code a bit clearer.
2017-05-30Alembic export: prevent rounding error buildup in frame sample timeSybren A. Stüvel
2017-05-26Rename BKE_layer_collection_active > BKE_layer_collection_get_activeDalai Felinto
2017-05-26Merge branch 'master' into blender2.8Campbell Barton
2017-05-26[MSVC] Fix build error. linker was searching for a mangled version of versionstrlazydodo
2017-05-25TexFace removal part 3Campbell Barton
- MTexPoly structure & layer type. - The 'Mesh.uv_textures' layers. - DerivedMesh TexFace drawing. - Scripts & UI.
2017-05-24Merge branch 'master' into blender2.8Campbell Barton
2017-05-24Alembic: Export mesh as mesh, even when it has no vertices.Sybren A. Stüvel
This makes it possible to have an animated / procedurally generated mesh that starts empty and obtains data in later frames. Fixes the export of an empty mesh with an Ocean Modifier, as described in issue T51351.
2017-05-24Alembic export: consider mesh with animation data as "animated"Sybren A. Stüvel
This allows you to put any kind of animation data on the mesh, and its shape will be exported on each timekey. Note that this timekey is unrelated to the animation data (so we don't export on each keyframe, for example). A practical example is the addition of an animated custom property to trigger the export of animated mesh data. The mesh data can then be created from any source, like Python scripts. Not only is this useful in itself, it also provides a workaround for one of the two issues described in T51351.
2017-05-24Alembic export: write Blender version to Alembic fileSybren A. Stüvel
This is written in a custom metadata key, so it isn't shown by utilities like abcecho or abcls. However, it's still something that's useful to have available.
2017-05-24Fix T51586: Regression: Alembic containing animated curves / hair no longer ↵Sybren A. Stüvel
working Also fixed the same type of error when reading points.
2017-05-23Merge branch 'master' into blender2.8Sybren A. Stüvel
2017-05-23Fix T51534: Alembic: added support for face-varying vertex coloursSybren A. Stüvel
Houdini writes vertex data in a different format than Blender does; Houdini uses "face-varying scope", which means that the vertex colours are indexed by an ever-increasing number over all vertices of all faces instead of the vertex index. I've also merged the read_custom_data_mcols() and read_mcols() functions, because the latter was only called from the former, and the changes in this commit would add yet more function parameters to pass.
2017-05-23Alembic: reduced code duplication in read_mcols()Sybren A. Stüvel
A big chunk of code was copied between the if and else bodies. By using a boolean to store whether the c3f_ptr or c4f_ptr should be used, the in-loop condition is kept as simple as possible.
2017-05-23Alembic: split up read_custom_data_ex() into read_custom_data_{mcols,uvs}()Sybren A. Stüvel
The read_custom_data_ex() function was basically two functions inside if/else bodies.
2017-05-23Fix T51319: Alembic export crash w/simple child particles if Display value < ↵Sybren A. Stüvel
100% This was two-fold. 1) The export used viewport settings to obtain the particle cache, rather than render settings. 2) The child hair writer tried to obtain UV-coordinates from the parent chair, without checking whether those were available in the first place.
2017-05-20Merge branch 'master' into blender2.8Campbell Barton