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-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-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-26Rename BKE_layer_collection_active > BKE_layer_collection_get_activeDalai Felinto
2017-04-28Merge branch 'master' into blender2.8Sybren A. Stüvel
2017-04-28Alembic: use object-oriented approach in ABC_read_mesh()Sybren A. Stüvel
This is easier to extend than the if/else if/else chain that was in place, and allows for somewhat more granular error messages.
2017-04-28Alembic: Construct ISampleSelector once and pass alongSybren A. Stüvel
2017-04-26Merge commit 'master@6ed15c5a41130b55cb57a43a8a9470a91d38c3d5' into blender2.8Sybren A. Stüvel
# Conflicts: # source/blender/alembic/intern/abc_exporter.cc
2017-04-26Alembic: fixed indentationSybren A. Stüvel
2017-04-26Alembic: fixed memory leaksSybren A. Stüvel
2017-04-26Alembic: fixed refcount issue when duplicating imported objectsSybren A. Stüvel
Duplicating an imported object didn't increment the cache reader's refcount, whereas removing the duplicate did decrement it. This caused problems.
2017-04-26Avoid platform dependant PATH_MAXCampbell Barton
2017-04-25Merge branch 'master' into blender2.8Sybren A. Stüvel
2017-04-25Fix T51292: Alembic import, show notification when trying to load HDF5Sybren A. Stüvel
HDF5 Alembic files are not officially supported by Blender. With this commit, the HDF5 format is detected even when Blender is compiled without HDF5 support, and the user is given an explanatory error message (rather than the generic "Could not open Alembic archive for reading".
2017-04-25Revert "Alembic: Construct ISampleSelector once and pass along"Sybren A. Stüvel
This reverts commit 099816587a0e064fb6a52c82a737ae8814cf21df. It had some unforseen side-effects that should be investigated first.
2017-04-21Merge branch 'master' into blender2.8Sybren A. Stüvel
2017-04-21Alembic: Construct ISampleSelector once and pass alongSybren A. Stüvel
No longer passing time as float and constructing ISampleSelectors all over the place. Instead, just construct an ISampleSelector once and pass it along.
2017-04-21Rename: Alembic job struct sl > scene_layerDalai Felinto
2017-04-20Alembic import: select imported objectsSybren A. Stüvel
When the Alembic import is finished, all imported objects are selected.
2017-04-19Alembic import: correctly linking objects to scene layer.Sybren A. Stüvel
The import is always performed on the active LayerCollection. If there is none, a new one is created.
2017-04-19Merge branch 'master' into blender2.8Sybren A. Stüvel
# Conflicts: # source/blender/alembic/intern/abc_exporter.cc # source/blender/alembic/intern/abc_exporter.h
2017-04-19Alembic import/export: added as_background_job optionSybren A. Stüvel
The ABC_export and ABC_import functions both take a as_background_job parameter, and return a boolean. When as_background_job=true, returns false immediately after scheduling a background job. This was the old behaviour of this function, which makes it very hard for scripts to do something with the data after the import or export completes. When as_background_job=false, performs the export synchronously, and returns true when the export was ok, and false if there were any errors. This allows further processing. The Scene.alembic_export() function is deprecated, and will be removed from Blender 2.8 in favour of calling the bpy.ops.wm.alembic_export() operator. As such, it has been hard-coded to the old background job behaviour.
2017-04-19Alembic export: made hair/particle export optional.Sybren A. Stüvel
The export is still slower than needed, as the particle systems themselves aren't disabled during the export. It's only the writing to the Alembic file that's skipped.
2017-04-14Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/alembic/intern/abc_exporter.cc
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-07Merge branch 'master' into blender2.8Sybren A. Stüvel
# Conflicts: # source/blender/alembic/intern/abc_exporter.h # source/blender/alembic/intern/abc_util.cc
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-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 import: fixed crash on more complex modelSybren A. Stüvel
There was a problem with parent-child relations not getting set up correctly when an Alembic object was both the transform for a mesh object and the parent of other mesh objects.
2017-04-06Alembic: comment typo/error fixesSybren A. Stüvel
2017-04-06Alembic: don't use m_shapes_typeSybren A. Stüvel
2017-04-06Alembic import: nicer progress updatesSybren A. Stüvel
2017-04-06Alembic import: fixed bug where local matrix from Alembic was used as object ↵Sybren A. Stüvel
matrix Also renamed AbcObjectReader::readObjectMatrix to setupObjectTransform, as it does more than just reading the object matrix; it also sets up an object constraint if the Alembic Xform is animated.
2017-04-06Alembic import: be more lenient towards unknown object types.Sybren A. Stüvel
Alembic is an interchange and caching format, that can contain custom object schemas. Blender shouldn't crash (because of failing asserts) just because it doesn't know such an object type.
2017-04-06Alembic: don't call object.getFullName() multiple times.Sybren A. Stüvel
2017-04-06Alembic: Renamed parent_map to reader_mapSybren A. Stüvel
It's a mapping from full path of an Alembic object to an AbcObjectReader*. The fact that at some point it is used to construct parent-child relations doesn't matter.
2017-04-06Alembic: fixed importerSybren A. Stüvel
The importer was guessing whether an Alembic IXform object was part of a child object, or should be represented as an Empty in Blender. By reversing the order in which objects are visited, the children can now claim their parent as part of the same object (so IPolyMesh claims its parent IXform as part of the same Blender object). This results in much less guesswork. I've also removed similar guesswork from the code that sets parent pointers, by simply searching for the parent in a hierarchical way, instead of trying to predict (again) which IXforms were turned into empties. Also, visit_object() now actually visits the object -- previously it only visited its children, and assumed the object it was called on was already handled by a previous call.
2017-04-06Depsgraph: Remove old depsgraph header from alembic filesSergey Sharybin
2017-04-05Depsgraph: Remove all layer bit flags related checksSergey Sharybin
These bits became obsolete with the new layer system, so we can simplify some code around them or avoid existing workarounds which were trying to keep things working for them. There are still work needed to be done for on_visible_change to avoid unnecessary updates, but that can also happen later.
2017-04-05Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/alembic/intern/abc_exporter.h