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-04-17ClangFormat: apply to source, most of internCampbell Barton
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
2019-04-16CMake: add libs needed for gtestsCampbell Barton
2019-04-14Fix Alembic using wrong visible/selected flags, fix warnings.Brecht Van Lommel
2019-04-14CMake: prepare for BLENDER_SORTED_LIBS removalCampbell Barton
No functional change, this adds LIB definition and args to cmake files. Without this it's difficult to migrate away from 'BLENDER_SORTED_LIBS' since there are many platforms/configurations that could break when changing linking order. Manually add and enable WITHOUT_SORTED_LIBS to try building without sorted libs (currently fails since all variables are empty). This check will eventually be removed. See T46725.
2019-04-12Fix T61935 Crash when importing Alembic from MeshroomSybren A. Stüvel
The Alembic importer can now deal with XForm-less objects. Apparently MeshLab exports point clouds without parent transformation matrix (XForm in Alembic-speak). We shouldn't warn about this, but handle it properly instead.
2019-04-11Alembic export: free depsgraph after useSybren A. Stüvel
2019-04-11Fix T62664: Exporting Metaballs as Alembic crashes BlenderSybren A. Stüvel
The `AbcMetaballWriter` now subclasses `AbcGenericMeshWriter` instead of wrapping an `AbcMeshWriter`. `AbcGenericMeshWriter` was created for this purpose (writing non-mesh objects as mesh to Alembic) and performs the work in a cleaner and, more importantly, not crashing way.
2019-04-11Alembic export: always consider metaballs animatedSybren A. Stüvel
The metaball 'mesh' is animated whenever any of its components are animated. However, it's not easily possible to visit all its components (AFAIK it requires a full scan of all objects in the scene and comparing names), so due to the blobby nature of the metaballs I now simply assume they'll be animated. This fixes an issue where a metaball was considered static when the base ball was static. For example, MBall static but MBall.001 animated would be considered 'not animated'.
2019-04-04Fix T63276: crash deleting object with alembic constraint.Brecht Van Lommel
2019-04-04Fix part of T62720: crash loading alembic mesh that has no vertices.Brecht Van Lommel
2019-03-22Modifiers: add minimum number of vertices to triangulate modifier.Ish Bosamiya
This lets you only triangulate n-gons when setting the number to 5 or more. Differential Revision: https://developer.blender.org/D4367
2019-03-15Cleanup: indentation, wrappingCampbell Barton
Mostly functions wrapping args, not confirming to our style guide.
2019-03-08Cleanup: use plural names for Main listsCampbell Barton
Convention was not to but after discussion on 918941483f7e we agree its best to change the convention. Names now mostly follow RNA. Some exceptions: - Use 'nodetrees' instead of 'nodegroups' since the struct is called NodeTree. - Use 'gpencils' instead of 'grease_pencil' since 'gpencil' is a common abbreviation in the C code. Other exceptions: - Leave 'wm' as it's a list of one. - Leave 'ipo' as is for versioning.
2019-03-07Refactor CDData masks, to have one mask per mesh elem type.Bastien Montagne
We already have different storages for cddata of verts, edges etc., 'simply' do the same for the mask flags we use all around Blender code to request some data, or limit some operation to some layers, etc. Reason we need this is that some cddata types (like Normals) are actually shared between verts/polys/loops, and we don’t want to generate clnors everytime we request vnors! As a side note, this also does final fix to T59338, which was the trigger for this patch (need to request computed loop normals for another mesh than evaluated one). Reviewers: brecht, campbellbarton, sergey Differential Revision: https://developer.blender.org/D4407
2019-02-18doxygen: update doxygen & add balembic groupCampbell Barton
2019-02-18Cleanup: conform headers to have license firstCampbell Barton
Also remove doxy comments for licenses and add missing GPL header.
2019-02-16DNA: rename near/far -> clip_start/clip_endCampbell Barton
Rename for Camera, View3D (also CameraParams & Render not DNA)
2019-02-05Cleanup: remove contributors for CMake filesCampbell Barton
Following removal from C source code. See: 8c68ed6df16d8893
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits.
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