Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-06-03Fix T65326: OBJ import is broken when no material is in OBJ file.Bastien Montagne
Caused by rB8252cc7044ea (fix for T65215), we actually need a default material in edges-only case too, not to exclude None (default) one in that case...
2019-05-28Fix T65215: export/import a simple cube to/from wavefront (.obj) format ↵Bastien Montagne
fails on re-import if object has adges but no faces.
2019-05-16Update for Depsgraph API changesSergey Sharybin
Addresses new behavior of object.to_mesh(). This is corresponding part for D4875. Reviewers: brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D4876
2019-05-16Addons: Adopt for Dependency Graph API changesSergey Sharybin
Mainly search-and-replace approach. Tested the enabled-by-default export/import addons. Seems to work with an exception of X3D which is still referencing Blender Internal material properties. Reviewers: brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D4866
2019-05-15OBJ IO: Use Principled BSDF's Alpha new setting.Bastien Montagne
Much better than using Principled's Transmission setting as we did before... Part of T64609.
2019-03-18Fix T62695: OBJ mtllib fails when filename contains spacesCampbell Barton
2019-03-13Disable/remove 'use_mesh_modifiers_render' in FBX/OBJ for now.Bastien Montagne
We need a way for add-ons to generate a temp render depsgraph and evaluate it, for this to work again, with new Blender 2.8 design.
2019-03-05OBJ importer: do not do 'smart' init of new UV layers.Bastien Montagne
Not really important here (we expect to set a value for all items), but avoids useless computation anyway.
2019-02-07Cleanup OBJ debug prints from recent own commit.Bastien Montagne
Thanks to @BzztPloink for the headup.
2019-02-07Fix T61254: Import OBJ error:Bastien Montagne
We cannot clear a face's vnors/uvs indices in case none are defined in the OBJ file, we need indices for all loops when defining them in Blender's mesh...
2019-02-06Fix T60845: Export OBJ: error exporting as obj when file contains collection ↵Bastien Montagne
instances. Looks like that was skipped somehow when OBJ IO was ported to 2.8...
2019-02-05Don't split groups by default when importing .obj filesJacques Lucke
As discussed in D4303.
2019-02-05Fix T61179: Import OBJ groups bug.Bastien Montagne
Regression/side effect from rBA9448cef00d1b3, while we do want to get one Blender object per 'o' line (object declaration) in OBJ file, we do want to 'reuse' same objects when same OBJ groups ('g' lines) are used inside of a same object, in case we split OBJ groups into objects... Thanks to Jacques Lucke (@JacquesLucke) for initial investigation.
2019-01-30Fix: Material.diffuse_color has an alpha component nowJacques Lucke
2019-01-25import_obj: Comment why getting an int as a float is neededCampbell Barton
2019-01-11Fix T60387: Blender 2.8 OBJ file format not work in import mode.Bastien Montagne
Bloody stupid mistake in 'speed-up parsing' work, yet annoyingly difficult to spot on... :(
2019-01-11Fix second part of T60381: OBJ import of textures would fail when map ↵Bastien Montagne
scale/offset was specified.
2019-01-10Fix first part of T60381: OBJ import broken in case of multiple OBJ objects ↵Bastien Montagne
named the same. Ensure we use a different key for each OBJ object (usung similar naming increment as Blender one).
2019-01-08Fix T60282: use keyword argument in obj exporterJacques Lucke
2019-01-06Fix T60238: Error in OBJ exporter if material has a normal map.Bastien Montagne
Typo, thanks to Aleksi Juvani (@aleksijuvani) for finding it.
2019-01-04OBJ Import: better handling for metallicPhilipp Oeser
retrival of metallic (ab)uses OBJ material ambient term. this can be non-zero, but in case of no reflections (OBJ 'illum' < 3) metallic should be zero. Fixes T60150
2019-01-04OBJ Import: Fix finalize material code not being performed on last material.Bastien Montagne
Issue noticed by Philipp Oeser (@lichtwerk), thanks!
2018-12-21Rename user_preferences -> preferencesCampbell Barton
2018-12-07Fix T58896: Addons with ob.vertex_groups.new without name keyworkDalai Felinto
Original report: OBJ file import fails for objects with vertex groups defined when polygroups option is selected
2018-11-28Use collection and instance terminology in Python APISergey Sharybin
This follows naming convention agreed on in T56648.
2018-11-28Fix T58094: Failure to import .obj files without material data.Bastien Montagne
Not sure how we did this in old code, but we certainly cannot ignore None (a.k.a. default place holder) material anymore... Do not generate it when not needed, though!
2018-11-20OBJ Import: Improve mesh building performances (over 20% speedup).Bastien Montagne
This commit essentially replaces several face data setting done into a regular loop by calls to magic 'foreach_set'. This increases seed of affected code by over 200%, global mesh building by over 40%, and overall typical OBJ import by 20%.
2018-11-20OBJ Import: Improve parsing performances (overall 5% speedup).Bastien Montagne
This commits mainly add a specific, optimized handling for vertex data (coos, nors, UVs) expressed on single lines. Nearly all OBJ files I've come accross use a single line per vertex data. This code cand be up to 40% quicker on vertex data parsing, making typical parsing about 8% quicker, and typical import about 5% quicker. Note that I tried applying same kind of optimizations on faces parsing, but we need to perform rather more complex checks there, so could not get any interesting improvements. Also, fixing some logical flaw in invalid nor/uvtex indices, which also gives marginal speed improvements.
2018-11-20OBJ import: minor cleanup and optimizations.Bastien Montagne
Does not give any measurable benefit though.
2018-11-15OBJ import: Fix specPhilipp Oeser
2018-11-08Update for changes in Blender's APICampbell Barton
2018-11-06Updates for change in ViewLayer RNA API.Bastien Montagne
2018-11-05OBJ import: fix (remove) deprecated viewlayer handling code.Bastien Montagne
Guess that was added when layercollection of view layer could still be edited, that is no more the case (reading code), now view layers appear to always only have the scene's master collection, all others being children of that one.
2018-11-01Merge branch 'master' into blender2.8Campbell Barton
2018-11-01Update for changes to Blender's APICampbell Barton
2018-10-19Merge branch 'master' into blender2.8Brecht Van Lommel
2018-10-19Spelling fixes in comments and descriptions, patch by luzpaz.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D3746
2018-10-17Potential fix for T57280 (OBJ import: typo in material handling code).Bastien Montagne
2018-10-16OBJ IO: Change specular IO conversion.Bastien Montagne
Conversion from phong exponent to Principled BSDF is expected to be quadratic afaik, not linear.
2018-10-15Merge branch 'master' into blender2.8Philipp Oeser
2018-10-15Fix T57113: OBJ material import int conversionPhilipp Oeser
2018-10-12Update for node_shader_utils changes.Brecht Van Lommel
2018-10-12Fixes for tessface removal.Brecht Van Lommel
2018-10-10Update for removal of tessfaces.Brecht Van Lommel
This ports the already working addons. The disabled x3d, psk, lwo, 3ds, raw, dxf addons still need to be converted.
2018-10-04Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: io_scene_obj/__init__.py io_scene_obj/import_obj.py
2018-10-04Fix T57055: Import wavefront OBJ does not correctly parse the '-bm' parameter.Bastien Montagne
Dummy typo, investigation done by @JimG, thanks!
2018-09-28OBJ IO: Initial support for modern shaders.Bastien Montagne
Based on new bpy_extras' node_shader_utils module. Note that this is still quiet rough on the edges, not all features previously supported (in 2.7x) are back yet (at least missing displacement, which should not be too hard to add, and real alpha handling, which is probably a bit more hairy). Also, some things like specular or mirror colors, ambient lighting, etc. do not exists in Principled BSDF shader, tried to work around it but there likely some room for improvements here too.
2018-09-26OBJ: Cleanup: remove 'use_cycles' option.Bastien Montagne
We are always using nodes now, whether we want it or not... Also fixed various access to removed 'fixed shader' old 2.7x materials in import, and some other minor bugs.
2018-09-21Initial porting of OBJ (wavefront) IO add-on to 2.8.Bastien Montagne
As with FBX, major changes are no support for exporting materials anymore (since all are nodals), and no more texface at all.
2018-08-29Python / Cleanup: rename INFO_MT to TOPBAR_MT to reflect actual location.Brecht Van Lommel