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
2019-01-28Cleanup: sort forward declarations of enum & structCampbell Barton
Done using: source/tools/utils_maintenance/c_sort_blocks.py
2019-01-25Cleanup: sort cmake file listsCampbell Barton
2019-01-18Cleanup: styleCampbell Barton
2019-01-16Alembic: C++11 doesn't need the space between '> >'Sybren A. Stüvel
C++11 doesn't need the space between '> >' in a nested templated declaration, so instead of `std::vector<std::pair<a, b> >` we can now write `std::vector<std::pair<a, b> >`.
2019-01-16Alembic export: write curve/NURBS as meshSybren A. Stüvel
It's now possible to export curves and NURBS as mesh data to Alembic. This allows artists to do any crazy thing on curves and export the visual result to Alembic for interoperability with other software (or caching for later use, etc.). It's an often-requested feature. This works around T60503 and the fixes export part of T51311. Note that exporting zero-width curves is currently not supported, as exporting a faceless mesh (e.g. just edges and vertices) is not supported by the mesh writer at all. To test, create a curve with thickness (for example extruded), export to Alembic and check the 'Curves to Mesh' checkbox in the export options. Reviewers: sergey Differential Revision: https://developer.blender.org/D4213
2019-01-16Alembic export: separated "writing Alembic mesh" from "writing mesh object"Sybren A. Stüvel
I moved most of the `AbcMeshWriter` code to a new class `AbcGenericMeshWriter`. The latter is an abstract class and does not make any assumptions about the type of Blender object being written. This makes it possible to write metaballs, curves, nurbs surfaces, etc. as mesh to Alembic files. The `AbcMeshWriter` class now is the concrete implementation of `AbcGenericMeshWriter` for writing mesh objects. Reviewers: sergey Differential Revision: https://developer.blender.org/D4213
2019-01-15Alembic: removed declaration of non-existing functionsSybren A. Stüvel
Removed AbcMeshWriter::getMeshInfo() and AbcMeshWriter::getMaterialIndices().
2019-01-15Marked TODOs with the actual string TODOSybren A. Stüvel
There are some things that need to be done in Alembic for Blender 2.8 to make all the 'visible/renderable/selected only' options work.
2019-01-15Alembic export: fixed memory leakSybren A. Stüvel
If the triangulated mesh was in itself a new mesh that should be freed this should happen before the function returns (as it only returns a single mesh, and thus the caller can only free one).
2019-01-15Cleanup: rename BKE_libblock_free_us to BKE_id_free_us.Bastien Montagne
2018-12-29Cleanup: use bool, styleCampbell Barton
2018-12-28Fix T57078: Alembic curve import: better check for topology similaritySybren A. Stüvel
The old code assumed that if the number of curves was the same, the entire set of curves would have the same topology (in other words, it assumed 'same number of curves => same number of vertices for each curve'). I've added a more thorough check that also considers the number of vertices in each curve. This still keeps certain assumptions in place (for example that if the topology is the same, the weights won't change, which is not necessarily true). However, when the assumption doesn't hold, at least now Blender doesn't crash any more.
2018-12-28Alembic import: Fix crash with mcol indices out of boundsPhilipp Oeser
Part of T57377 Reviewers: sybren Maniphest Tasks: T57377 Differential Revision: https://developer.blender.org/D3847
2018-12-28Alembic import: lock interface while importingSybren A. Stüvel
This prevents crashes caused by the viewport evaluating the depsgraph while the import is still running.
2018-12-24Fix/cleanup another bunch of UI messages issues.Bastien Montagne
Also (mostly in comments): behaviour -> behavior (we use American English).
2018-12-12Merge branch 'master' into blender2.8Campbell Barton
2018-12-12Cleanup: use colon separator after parameterCampbell Barton
Helps separate variable names from descriptive text. Was already used in some parts of the code, double space and dashes were used elsewhere.
2018-12-07Depsgraph: Remove duplicated sets of recalc/update flagsSergey Sharybin
There were at least three copies of those: - OB_RECALC* family of flags, which are rudiment of an old dependency graph system. - PSYS_RECALC* which were used by old dependency graph system as a separate set since the graph itself did not handle particle systems. - DEG_TAG_* which was used to tag IDs. Now there is a single set, which defines what can be tagged and queried for an update. It also has some aggregate flags to make queries simpler. Lets once and for all solve the madness of those flags, stick to a single set, which will not overlap with anything or require any extra conversion. Technically, shouldn't be measurable user difference, but some of the agregate flags for few dependency graph components did change. Fixes T58632: Particle don't update rotation settings
2018-12-07Merge branch 'master' into blender2.8Campbell Barton
2018-12-07Fix Alembic indexed UVs being merged for different vertices.Brecht Van Lommel
Other software uses this to define UV islands, so we can't just merge any UVs with the same coordinate. They have to share a vertex too. Contributed by Maxime Robinot, with changes by me. Differential Revision: https://developer.blender.org/D4006
2018-11-08Cleanup: use explicit 'select_and_set_active' API nameCampbell Barton
Selection should be separated from active state and handled by higher level code (operators/editors) instead of happening automatically.
2018-11-07Cleanup: remove some useless BKE_library and BKE_main includes.Bastien Montagne
Makes it simpler to make some changes... Also fix order of some includes (use alphabetical please).
2018-11-07Cleanup: Remove 'BKE_library.h' include from 'BKE_main.h'Bastien Montagne
That kind of implicit includes should really only be done when totally, absolutely necessary, and ideally only with rather simple 'second-level' headers. Otherwise not being explicit with includes always end up biting in unexpected ways...
2018-10-23Cleanup: rename 'dm' -> 'me' for 'Mesh' typesCampbell Barton
2018-10-17Cleanup: remove some #if 0 blocksJacques Lucke
Reviewers: brecht, campbellbarton Differential Revision: https://developer.blender.org/D3802
2018-10-11Merge branch 'master' into blender2.8Campbell Barton
2018-10-11Cleanup: style (pointers)Campbell Barton
2018-10-10Modifier: use simplified bmesh -> mesh conversionCampbell Barton
2018-10-09Cleanup: namingCampbell Barton
Use BKE_mesh_* prefix for mesh module.
2018-09-20Merge branch 'master' into blender2.8Campbell Barton
2018-09-20Cleanup: styleCampbell Barton
2018-09-19Fix T53745: Alembic exported with vertex colors not readable by other software.Wybren van Keulen
Most other software expects to read indexed vertex colors, so write indices along with the colors as we already do for UVs. Differential Revision: https://developer.blender.org/D3704
2018-09-04Cleanup: remove legacy layer and dupli code.Brecht Van Lommel
2018-09-03Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/blenkernel/intern/collision.c
2018-09-03Spelling fixes in comments and descriptions, patch by luzpaz.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D3668
2018-07-30Merge branch 'master' into blender2.8Brecht Van Lommel
2018-07-30Build: require C11/C++11 for all operating systems in master.Brecht Van Lommel
This is in preparation of upgrading our library dependencies, some of which need C++11. We already use C++11 in blender2.8 and for Windows and macOS, so this just affects Linux. On many distributions this will not require any changes, on some install_deps.sh will need to be run again to rebuild libraries. Differential Revision: https://developer.blender.org/D3568
2018-07-30Cleanup/Refactor: Move CurveCache runtime data into Object.runtime struct.Bastien Montagne
Also, fix missing cleanup of Object.runtime when copying Object datablocks!
2018-07-01Merge branch 'master' into blender2.8Campbell Barton
2018-07-01Fix T55687: compile error when not using c++11.Brecht Van Lommel
2018-06-29Merge branch 'master' into blender2.8Campbell Barton
2018-06-28Alembic: speed up export of packed UV islands.Cédric Paille
Differential Revision: https://developer.blender.org/D3510
2018-06-25Cleanup: rename object base flags to be more clear.Brecht Van Lommel
2018-06-20Depsgraph: add some missing depsgraph tags when relations change.Brecht Van Lommel
2018-06-17Merge branch 'master' into blender2.8Campbell Barton
2018-06-17Cleanup: trailing space for remaining source/Campbell Barton
2018-06-11Cleanup: Moar G.main removal of Hell.Bastien Montagne
This commit actually adds some G.main... but at much, much higher level than the ones it removes, so should still be better ;)
2018-06-08Alembic: replaced BLI_assert() with comment why the assert is wrongSybren A. Stüvel
The comment also hints at what should be fixed, instead.
2018-06-08Alembic: slight clarificationsSybren A. Stüvel
2018-06-08Alembic export: get evaluated object when exporting shapeSybren A. Stüvel