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-26Cleanup: remove redundant BKE/BLI/BIF headersCampbell Barton
2019-01-25Cleanup: sort cmake file listsCampbell Barton
2019-01-15Cleanup: commas at the end of enumsCampbell Barton
Without this clang-format may wrap them onto a single line.
2019-01-15Cleanup: rename BKE_libblock_delete to BKE_id_delete.Bastien Montagne
2019-01-15Cleanup: rename BKE_libblock_free_us to BKE_id_free_us.Bastien Montagne
2019-01-11Preferences: remove author fieldCampbell Barton
This was only used by collada export metadata. If metadata like this is needed, we can use per-filetype preferences, to make it clear when user identifiable information is being used.
2019-01-10fix D4187: Collada Importer: Material assignment broken after importing Mesh ↵Trevor Glauz
with multiple materials
2019-01-10fix T60049: Collada Exporter: When exporting multiple UVs, the set index ↵Gaia Clary
must start with 0
2019-01-05fix T59743: Collada exporter: Add option for exporting flat curvesGaia Clary
The Collada exporter suppresses the export of flat animation curves to optimize the animation (in fact to make the exported file smaller). But sometimes it is important to also have the flat curves exported because they may be needed to define an initial transformation to a fixed location - like translating the weapon from the ground floor to the back of the model in the report. I added a new option "all keyed curves" which is disabled by default but when enabled it also exports flat curves. feedback is very welcome
2019-01-05fix T60092 collada exporter: exporting a rig with one single bone failsGaia Clary
The problem was that removing entries from a vetor while iterating the vector was implemented badly. This caused the failure when only one element was in vector.
2018-12-30Cleanup: remove non-existing function declarationsCampbell Barton
2018-12-20Cleanup: argument wrapping indentationCampbell Barton
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-07Cleanup: styleCampbell Barton
2018-12-06Merge remote-tracking branch 'origin/master' into blender2.8Gaia Clary
2018-12-06Fix (devtalk 4053): Collada build with older cmake versions brokenGaia Clary
2018-12-05Merge remote-tracking branch 'origin/master' into blender2.8Gaia Clary
2018-12-05fix: Collada: remove Class from method definition in header fileGaia Clary
2018-12-04Merge remote-tracking branch 'origin/master' into blender2.8Gaia Clary
2018-12-04fix T58568: used wrong case in variable nameGaia Clary
2018-12-04Merge branch 'master' into blender2.8Gaia Clary
2018-12-04fix T58568 build errors when using collada 1.6.68 or newerGaia Clary
2018-12-01fix: Collada exporter has similar issue as reproted in T58150Gaia Clary
2018-12-01fix T58293 Collada: Does not export Texture coordinates when option 'only ↵Gaia Clary
selected UV Map' is enabled
2018-11-29Cleanup: remove unused filesCampbell Barton
2018-11-28cleanup: Collada replaced outdated usage of CD_MTFACE Layers by CD_MLOOPUVGaia Clary
2018-11-28fix:T58093 Collada Exporter does not create bind_vertex_input and texcoord ↵Gaia Clary
attribute The Collada exporter used MTFACE layers (deprecated) instead of CD_MLOOPUV layers. In 2.8 the exporter could no longer find the UVMaps reliably.
2018-11-28Fix defined but unused static variable warningSergey Sharybin
2018-11-28Cleanup: styleCampbell Barton
2018-11-27fix: Collada Exporter: improve usage of viewlayer and depsgraphGaia Clary
* The exporter now gets the view layer from the context instead of the depsgraph. * The depsgrap is now fetched only on demand since the graph is not always needed for exporting (currently only for armature exports).
2018-11-27fix: Collada exporter: take care of parent inverse for exports of Armatures ↵Gaia Clary
with child objects
2018-11-27Fix: Collada Importer: Keep bindinfo option is not properly handledGaia Clary
Actually the option was not at all used and the importer always created the bindinfo custom properties.
2018-11-27fix: Collada: The limit precision option does nothingGaia Clary
2018-11-25Merge branch 'master' into blender2.8Campbell Barton
2018-11-24refactor: Collada reorganize class constructorsGaia Clary
- Class constructors without body (only attribute initialisations) can safely be kept in the class header files - Constructor variables should be initialized in the order of their definition in the header files This change is also aimed to remove a couple of build warnings from the linux builds.
2018-11-23fix: Collada: used wrong Enumeration type for comparisonGaia Clary
2018-11-23fix: collada: must use case sensitive filename in includeGaia Clary
2018-11-23fix: Collada: use reference to BezTriple instead of copyGaia Clary
2018-11-23fix: compiler errors on mac_x86_64_10_9Gaia Clary
2018-11-23cleanup: Collada: remove unused variablesGaia Clary
2018-11-23Partial rewrite of the Collada Module for Blender 2.8Gaia Clary
Most important changes are in the Animation exporter and Animation Importer. There is still some cleaning up to be done. But the Exporter/Importer basically work within Blender 2.8 Some details: User Interface: The interface has been reorganized to look more like the FBX interface. New options in user interface: * keep_keyframes: When sampling the distance between 2 keyframes is defined by the sampling rate. Furthermore the keyframes defined in the FCurves are not exported. However when this option is enabled then also the defined keyframes will be added to the exported fcurves * keep_smooth_curves: When sampling we do not use FCurves. So we also have no Curve handles for smooth exporting. However when this option is enabled, Blender does its best to recreate the handles for export. This is a very experimental feature and it is know to break when: - the exported animated objects have parent inverse matrices different from the unit matrix - The exported objects have negative scaling There may be many other situations when this feature breaks. This needs to be further tested. It may be removed later or replaced by something less wonky. BlenderContext: is a new class that contains the bridge to Blender. It contains pointers to the current export/import context plus derived values of Depsgraph, Scene, Main Reporting: I reorganized the output on the Blender Console to become more informative and more readable Preservation of Item names: name attributes are now encoded with XML entities. This makes sure that i can export/import names exactly defined in the tool. This affects material names, bone names and object names. Hierarchy export: * Object and Bone Hierarchies are now exported correctly by taking the Blender parent/child hierarchy into account * Export also not selected intermediate objects Problem: When we export an Object Hierarchy, then we must export all elements of the hierarchy to maintain the transforms. This is especially important when exporting animated objects, because the animation curves are exported as relative curves based on the parent-child hierarchy. If an intermediate animated object is missing then the exported animation breaks. Solution: If the "Selected" Optioon is enabled, then take care to also export all objects which are not selected and hidden, but which are parents of selected objects. Node Based Material Importer (wip): Added basic support for Materials with diffuse color and diffuse textures. More properties (opacity, emission) need changes in the used shader. Note: Materials are all constructed by using the principled BSDF shader. Animation Exporter: * Massive optimization of the Animation Bake tool (Animation Sampler). Instead of sampling each fcurve separately, i now sample all exported fcurves simultaneously. So i avoid many (many!) scene updates during animation export. * Add support for Continuous Acceleration (Fcurve handles) This allows us to create smoother FCurves during importing Collada Animation curves. Possibly this should become an option ionstead of a fixed import feature. * Add support for sampling curves (to bake animations) * The animation sampler now can be used for any animation curve. Before the sampler only looked at curves which are supported by Standard Collada 1.4. However the Collada exporter currently ignores all animation curves which are not covered by the 1.4.1 Collada Standards. There is still some room for improvements here (work in progres) Known issues: * Some exports do currently not work reliably, among those are the camera animations, material animations and light animations those animations will be added back next (work in progres) * Exporting animation curves with keyframes (and tangents) sometimes results in odd curves (when parent inverse matrix is involved) This needs to be checked in more depth (probably it can not be solved). * Export of "all animations in scene" is disabled because the Collada Importer can not handle this reliably at the moment (work in progres). * Support for Animation Clip export Added one extra level to the exported animations such that now all scene animations are enclosed: <Animation name="id_name(ob)_Action"> <Animation>...</Animation> ... </Animation> Animation Importer: * Import of animations for objects with multiple materials When importing multiple materials for one object, the imported material animation curves have all been assigned to the first material in the object. Error handling (wip): The Importer was a bit confused as it sometimes ignored fatal parsing errors and continued to import. I did my best to unconfuse it, but i believe that this needs to be tested more. Refactoring: update : move generation of effect id names into own function update : adjust importer/exporter for no longer supported HEMI lights cleanup: Removed no lopnger existing attribute from the exporter presets cleanup: Removed not needed Context attribute from DocumentExporter fix : Avoid duplicate deletion of temporary items cleanup: fixed indentation and white space issues update : Make BCAnimation class more self contained cleanup: Renamed classes, updated comments for better reading cleanup: Moved static class functions to collada_utils cleanup: Moved typedefs to more intuitive locations cleanup: indentation and class method declarations cleanup: Removed no longer needed methods update : Moved Classes into separate files cleanup: Added comments cleanup: take care of name conventions ... : many more small changes, not helpful to list them all
2018-11-14Lamps: Remove HEMI light typeClément Foucault
This type is not supported by either Eevee or Cycles. If other types of lamps are needed by external engines, we should support adding custom types.
2018-11-14Merge branch 'master' into blender2.8Campbell Barton
2018-11-14Cleanup: comment block tabsCampbell Barton
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...