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-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-08fix D4476 collada exporter: in Blender 2.80 we no longer have a specular color.Gaia Clary
Specularity is not a color but a factor. I have replaced the original export code with a correct export of the Specularity factor.
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-27Cleanup: file rename lamp -> lightCampbell Barton
2019-02-27Cleanup: rename lamp -> lightCampbell Barton
2019-02-27DNA: rename Lamp -> LightCampbell Barton
- BKE_lamp -> BKE_light - Main.lamp -> light
2019-02-23 fix T61122 : Collada Importer: Added support for transparency for Materials.Gaia Clary
This fix sets the Base color in the principled BSDF Shader and in the Material->r,g,b,a values. So the transparency and color are the same when switching the "use nodes" option for the material
2019-02-23fix T61122 : Added support for Materials with Nodes disabled.Gaia Clary
- The Collada exporter did not take care of material transparency when nodes are turned off. - recent change to use ma->alpha_threshold seems to have been wrong. transparency is now taken from ma->a when nodes are turned off.
2019-02-20fix T61122 : Collada exporter exported alpha value (always 0) from ↵Gaia Clary
deprecated material attribute
2019-02-19fix: Collada replace <polylist> export by <triangle> export for triangulated ↵Gaia Clary
meshes. This is a regression from Blender 2.79 where the usage of <triangles> was already implemented, but unintentionally removed in Blender 2.80 Also renamed variables for better reading.
2019-02-18DNA: rename Object.size -> scaleCampbell Barton
Resolves a common cause of confusion.
2019-02-18doxygen: add newline after \fileCampbell Barton
While \file doesn't need an argument, it can't have another doxy command after it.
2019-02-17DNA: rename dup_* struct members to instance_*Campbell Barton
2019-02-16DNA: rename near/far -> clip_start/clip_endCampbell Barton
Rename for Camera, View3D (also CameraParams & Render not DNA)
2019-02-16DNA: rename camera YF_dofdist -> dof_distanceCampbell Barton
2019-02-11Cleanup: comment indentation & spellingCampbell Barton
2019-02-06Cleanup: manually apply changes missed last commitCampbell Barton
Automatic edits failed for indented comment blocks, removed indentation & adjusted.
2019-02-06Cleanup: remove redundant doxygen \file argumentCampbell Barton
Move \ingroup onto same line to be more compact and make it clear the file is in the group.
2019-02-05BKE_library: id_copy: More general usage of LIB_ID_COPY_LOCALIZE.Bastien Montagne
Turns out most of our 'local working copy' cases can use same set of flags. Note that this commit adds LIB_ID_COPY_CACHES to all our local meshes copying, however this is no-op since that flag is unused during mesh copying... We may want to add another set of flags without that one at some point, but for now it would not be useful imho.
2019-02-05Cleanup: BKE_library: remove 'test' param of id_copy.Bastien Montagne
This was used in *one* place only... much better to have a dedicated helper for that kind of things. ;)
2019-02-05Cleanup: remove contributors for CMake filesCampbell Barton
Following removal from C source code. See: 8c68ed6df16d8893
2019-02-03Cleanup: trailing commasCampbell Barton
Needed for clan-format not to wrap onto one line.
2019-02-01Cleanup: manually remove header text not handled by automationCampbell Barton
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-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