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-10-20Cleanup: missing declaration warningsCampbell Barton
2019-10-04Fix expanding paths ignoring data-block librariesCampbell Barton
- Image views. - Sequencer text strip font. - Text check for modified/reload. - Collada image export. - Brush icons.
2019-10-02Implement a user preference for the default Auto Handle Smoothing mode.Alexander Gavrilov
The default was changed with an initial implementation of the feature. With the feedback from animators, having a behavior which affects curves outside of a changing range is not convenient for professional animators working on high quality character animation. On the other hand, automatic smoothing is better for casual animation of object motion. This change adds an ability to change the default via User Preferences. Differential Revision: https://developer.blender.org/D5875
2019-09-11Depsgraph: Pass bmain to depsgraph object creationSergey Sharybin
Currently unused, but will allow to keep of an owner of the depsgraph. Could also simplify other APIs in the future by avoiding to pass bmain explicitly to relation update functions and things like that.
2019-09-07Partially revert "Cleanup: use post increment/decrement"Campbell Barton
This partially reverts commit 0b2d1badecc48b5cbff5ec088b29c6e9acc5e1d0 Post increment can deep-copy for C++ iterators, while in my own checks GCC was able to optimize this to get the same output, better follow C++ best practice and use pre-increment for iterators.
2019-09-07Cleanup: use post increment/decrementCampbell Barton
When the result isn't used, prefer post increment/decrement (already used nearly everywhere in Blender).
2019-08-31Cleanup: rename natural string comparisonCampbell Barton
2019-08-25cleanup: collada: removed unused public class variableGaia Clary
2019-08-25fix: Removed Debug statement from Collada CMakeLists. cmake now silently ↵Gaia Clary
determines which collada library version it uses
2019-08-25Cleanup: redundant struct declarationsCampbell Barton
2019-08-14Cleanup: move trailing comments to avoid wrapping codeCampbell Barton
Some statements were split across multiple lines because of their trailing comments. In most cases it's clearer to put the comments above.
2019-08-02Cleanup: spellingCampbell Barton
2019-08-01Cleanup: misc spelling fixesCampbell Barton
T68035 by @luzpaz
2019-07-31Spelling fixes in comments and descriptions, patch by luzpazBrecht Van Lommel
Differential Revision: https://developer.blender.org/D3744
2019-07-23fix: unreported: Collada using incompatible Enumeration types for compareGaia Clary
2019-07-22Incompatible usage of the Collada transparency valueGaia Clary
Some external tools seem to have issues with the definition of Collada <transparency> - a float value in range (0,1). However it is possible to use the <transparent> color as a container for the <transparency> value. This seems to be a more reliable method to export transparency values from Blender PBSDF Shaders. The relevant documentation is in the collada 1.14 reference manual, page 7-5 about the usage of transparent and transparency. This fix makes export and import of the <transparency> and <transparent> values more convenient and more reliable. Reviewers: brecht, jesterking Reviewed By: brecht Differential Revision: https://developer.blender.org/D5305
2019-07-16fix T66899: Collada: Shininess/Reflectivity not handled correctGaia Clary
Fixed: The Collada Exporter only supports export of Lambert Shaders. But Shininess is not supported with Lambert Shaders. The exporter must not add Shininess to the Shader data! Fixed: The Collada Importer adds an illegal value of -1 for reflectivity when this parameters is not defined in the imported collada data. Now reflectivity is only set when the import data contains a valid value. Discarded: The Collada Importer handles shininess in a dubious way. I have discarded import for now. This needs to be reworked carefully in 2.81. Differential Revision: https://developer.blender.org/D5262
2019-07-07Cleanup: spellingCampbell Barton
2019-07-02Cleanup: move comments onto own lines to avoid breaking linesCampbell Barton
2019-06-17Cleanup: comment, RNA spellingCampbell Barton
2019-06-17Cleanup: comment spellingCampbell Barton
2019-06-11fix T65576 collada exporter duplicates node tree when exported material ↵Gaia Clary
already uses nodes
2019-06-05fix T65480: Collada exporter did not export image texture for Base ColorGaia Clary
2019-06-05update Collada Importer: reworked export and import of MaterialsGaia Clary
- added import of transparency and emission into principled BSDF Shader - added support for importing all default collada material parameters * diffuse * emission * index_of_refraction * shininess (mapped to BSDF Roughness) * reflectivity (mapped to BSDF Metallic) * transparency + transparent mapped to BSDF Alpha) * ambient (creates unconnected texture node) * specular (creates unconnected texture node) * reflective(creates unconnected texture node) - added support for exporting collada material parameters: * diffuse * emission * index_of_refraction * shininess (mapped to BSDF Roughness) * reflectivity (mapped to BSDF Metallic) * transparency + transparent mapped to BSDF Alpha) - prepared support for exporting the following parameters but currently commented out: * ambient (creates unconnected texture node) * specular (creates unconnected texture node) * reflective(creates unconnected texture node) Problem: For now we only allow export of principled BSDF based materials. I am not sure from where to get ambient, specular and reflective as those values are not included in the principled BSDF Shader (wip).
2019-06-04Cleanup: Cleanup: style, use braces for collada (BCMath)Campbell Barton
2019-06-04Cleanup: clang-format, remove tabsCampbell Barton
2019-06-03fix collada: get Alpha and Emission from principled BSDF ShaderGaia Clary
2019-06-03Cleanup: Cleanup: style, use braces for colladaCampbell Barton
2019-06-03fix collada Importer: Set bone transformation type when importing unskinned ↵Gaia Clary
skeleton
2019-06-03feature collada: Allow export/import of skeletal animations as curvesGaia Clary
2019-06-03refactor collada: Added utility functions bc_string_before() and ↵Gaia Clary
bc_string_after()
2019-06-03fix T34062 Collada exporter: changed order of export for decomposed ↵Gaia Clary
transformation. 1.) The Blender order of applying transforms is: Scale Rotation Transformation Reasoning: This order ensures there is no shearing, which happens when you do scaling after rotation, see also: https://blender.stackexchange.com/questions/1806 The Collada exporter now exports in the order how the transforms need to be applied upon import. 2.) Also removed obsolete #if 0 lines
2019-06-03refactor: use Quat and BCQuat instead of float[4] arrays for Quaternions (wip)Gaia Clary
2019-06-03fix: enforce transform export as <matrix> when exporting animated armature"Gaia Clary
Currently we can not export Decompsed Transforms in combination with Armature asnimations. As a temporary workaround enforce export of transformations as Matrix for armature objects.
2019-06-03fix: add back changes after last pull from masterGaia Clary
2019-06-03refactor collada: replace bc_sanitize_mat() by static class method in BCMatrixGaia Clary
2019-06-03refactor Collada: rename BCMatrix.* class files to BCMath.*Gaia Clary
2019-06-03refactor Collada: Add new class Quat (wip)Gaia Clary
2019-06-03refactor collada: Moved BCMatrix to its own fileGaia Clary
2019-06-03refactor collada: Moved basic typedefs in own fileGaia Clary
2019-06-03refactor collada: reorganize class methods in fileGaia Clary
2019-05-31Cleanup: style, use braces in source/ (include disabled blocks)Campbell Barton
2019-05-31Cleanup: style, use braces in source/Campbell Barton
Automated using clang-tidy.
2019-05-28Cleanup: clang formatCampbell Barton
2019-05-27cleanup: Collada exporter renamed 'transrotloc' to 'decomposed'Gaia Clary
The collada exporter allows to export transforms either as Matrix or as a decomposition of Translation, Rotation aand Scale. The decomposition option was falsely named "TransRotLoc". I renamed it to the much more descriptive word "Decomposed". The tooltip already contains sufficient information, so there is no need to change that.
2019-05-27fix: collada transformtype must be identical for animation export and object ↵Gaia Clary
export When exporting an object we can choose the transformation type 'Matrix' or 'trans/rot/scale' When exporting an animation we have the same choice regarding the used transformation type. However we must make sure that animations and objects use the same transformation type within one colleda export. The user interface is now reworked such that the correct settings are always guaranteed. I also reworked the tool tips
2019-05-27refactor collada: rename add_node_transform() to add_joint_transform()Gaia Clary
2019-05-23fix unreported Collada exporter Regression: Added back minimal support for ↵Gaia Clary
Maya bindpose
2019-05-23Collada exporter updateGaia Clary
Added new feature: Collada: global axis rotation upon export (UI) The new feature allows to specify the target rest coordinate system upon export. This allows for example to export a character that is in Blender orientation (Y forward) to match the Secondlife orientation where (-X forward) - Refactor:Added new utility methods to collada_utils Made BCMatrix class more powerfull moved Blender related structures into new BlenderContext class added class wrapper to encapsulate ExportSettings structure Added blender context getters to ExportSettings added access methods to BlenderContext into ExportSettings class Moved class BCMatrix into BlenderContext moved utility functions from collada_util into BlenderContext replace own function for parenting by a call to ED_object_parent_set() - Cleanup: removed obsolete parameters from methods renamed parameters for better understanding cleanup whitespace and indentation removed obsolete comments
2019-05-22fix T64873 collada export crashes Blender on MacGaia Clary