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
2022-06-30Cleanup: fix various typosBrecht Van Lommel
Contributed by luzpaz. Differential Revision: https://developer.blender.org/D15328
2022-06-03Cleanup: remove <pep8 compliant> commentCampbell Barton
This is no longer necessary, see: T98554.
2022-03-29Fix .X3D/.WRL importer crashing with empty IndexedFaceSetsMax Schlecht
When importing a .x3d file containing an empty IndexedFaceSet, like this for example: ``` Shape { geometry IndexedFaceSet { coord Coordinate { point [ ] } coordIndex [ ] } } ``` `import_x3d.py` throws an exception, because `x_min`, `x_max`, ... are not initialized/still set to `None`. This fixes the issue by initializing the mentioned variables to `inf`/`-inf` respectively and also further simplifies the code by utlizing the `min` and `max` builtins. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D14470
2022-03-15Cleanup: fix source comment typosBrecht Van Lommel
Contributed by luzpaz. Differential Revision: https://developer.blender.org/D14312
2022-02-11File headers: use SPDX license identifiersCampbell Barton
See T95597
2021-12-01Cleanup: trailing space & tabs to spacesCampbell Barton
2021-10-27Fix T71232: .X3D/.WRL imports without materials and texturesMax Schlecht
When porting the x3d importer to 2.80, material and texture importing didn't get ported. The old importer was using Blender Render like materials, the new implementation uses the standard node system via `node_shader_utils`. Additionally this also adds a crude, text based method for material/texture caching for WRL file (previously only supported for X3D), fixes a possible `StructRNA has been removed` error caused by the cache and assigns proper names to the materials, if available. Reviewed By: mont29 Maniphest Tasks: T76656, T71232, T83428 Differential Revision: https://developer.blender.org/D12399
2021-09-02Fix T91113: printf in X3D Importer causes NameErrorCampbell Barton
2020-12-09Fix T84328: Correct errors caused by renamingRobert Guetzkow
In rBA6aa8e130eff59059886e203ff95221609f63b222 all occurrences of "lamp" where replaced with "light" which also accidentally renamed "clamp" to "clight". In case of the x3d importer and object carver add-on this broke some functionality. This commit fixes the names to match the use the correct properties of the Python API and use semantically correct names for other add-on where the renaming didn't cause functional changes. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D9782
2020-06-22Fix T76303: Divide by zero importing X3D/WRLCampbell Barton
2019-10-01Fix typos in source comments and descriptionsBrecht Van Lommel
Patch contributed by luzpaz. Differential Revision: https://developer.blender.org/D5800
2019-09-19Fix T69895: X3D Import and Export returns error on meshes with vertex colors.Bastien Montagne
2.8x materials don't have any indication they should use vcols anymore, that should be handled at node-based shader level now. For now just ignore, and always export/import active vcols.
2019-09-19X3D Import: Fix some geometry-types importers functions.Bastien Montagne
Based on D5822 by Tomas Antecky (@ta), but no reason to keep that unused parameter since those mesh geometry importer functions are all always only called with two parameters...
2019-08-21Fix T63497: wrl import fails.Bastien Montagne
Main issue was the sphere generation code, that was 100% broken, presumably since ages (= since adding bmesh to Blender)? Plus some non-updated API call after changes in 2.80.
2019-07-31Spelling fixes in comments and descriptions, patch by luzpazBrecht Van Lommel
Differential Revision: https://developer.blender.org/D5240
2019-05-20Fix T64853: FBX fail to export after recent changesBrecht Van Lommel
2019-05-20Update for removal of image.use_alphaBrecht Van Lommel
2019-05-17Update for Depsgraph API changesPhilipp Oeser
Reviewers: sergey Differential Revision: https://developer.blender.org/D4883
2019-03-16X3D: basic initial port to blender2.8.Bastien Montagne
That was a rather heavy work, since in 2.7 that add-on was still using tessellated geometry API quiet extensively (and that one has been removed from 2.8)... Also updated some minor things on the road, like e.g. exporting ColorRGBA for vertex colors, since ours now have some alpha. Main remaining TODO is materials afaik (those need to be ported to the new nodeshader wrapper), not very high priority for now. Also note that the whole code has many sub-optimal handling, but that whole format is not really designed for heavy geometries anyway I think, so this is probably fine for now (and going over whole code to optimize it would be quiet a work too).
2019-02-01Merge branch 'blender2.7'Philipp Oeser
2019-02-01x3d import: make it work without internet connectionPhilipp Oeser
Fixes T61052
2019-01-29addons: objects.link/unlink syntax updateNBurn
Changed objects.link and objects.unlink from scene to collection
2019-01-25addons: object select_set syntax updateNBurn
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-09-062.8: update for x_ray and draw/display renaming.Brecht Van Lommel
2018-07-06Update for renaming lamp to light.Brecht Van Lommel
2017-03-19Cleanup: identity for None comparisonCampbell Barton
2016-03-28When importing X3D files, mesh names are derived from X3D node DEF/USE ↵Seva Alekseyev
attributes (where present). For VRML, that worked all along, for X3D it was broken,
2016-02-04Fix T47310: WRML file not imported under OSXCampbell Barton
Always use utf8 encoding, with error escaping
2015-11-23Missed last commitCampbell Barton
2015-11-23X3D: use vrml name for point lampsCampbell Barton
2015-11-07X3D Minor updatesCampbell Barton
- Pass context/scene as arguments. - Avoid try/except on entire geometry loading (instead use dict.get). - Use keyword-only args for load/save module functions. - Don't pass the operator as first arg.
2015-10-24Remove check for Python installationCampbell Barton
We assume a full Python is available now
2015-10-24X3D: Don't write line-no into objects by defaultCampbell Barton
This is handy for debugging, not general use. so only do this when DEBUG is set. Also use a custom property instead of registering RNA.
2015-10-24Fix: Text.origin is not a valid input field, now ignoredSeva Alekseyev
2015-10-23Fix: validate before textures, colors, and normalsSeva Alekseyev
Feature: rudimentary support for Text nodes (no styling, only font size) Feature: line number of the node reported as a custom property
2015-10-23Fix: validating Extrusions after applying textures. Validation may remove ↵Seva Alekseyev
vertices/faces from a mesh, so assumptions about mesh size might be off after validation.
2015-10-15X3D import: expanded support to a larger subset of the standard.Seva Alekseyev
It supports: - all geometry nodes from Rendering - all geometry nodes from Geometry3D - ImageTexture (including primitives) - TextureTransform (needs careful testing) - all lamp nodes from Lighting - Viewpoint I've been going by the standard as outlined here: http://www.web3d.org/documents/specifications/19775-1/V3.3/index.html When not sure, I'd compare to a reference implementation, X3DOM ( http://www.x3dom.org/ ). The UI was left intact from the existing implementation. Reviewed by campbellbarton and mont29
2015-06-26Fix T45203: X3D import issues: no support of instancing!!!Bastien Montagne
Previously, that script whould create an object (two, actually!), mesh, material etc. for every 'Shape' node, even when x3d format has intancing capabilities. That would made importing files with many copies of same object insanely long. Now we support instances of objects, geometry (aka meshes), materials (aka appearance) and images, should be enough for now. Also, fixed some old cruft like still using tessface stuff in a few minor places and such.
2015-06-26Fix T45195: VRML import issues.Bastien Montagne
We need to split each vrml field on its own line in pre-processing step, to be sure we correctly detect all new (child) nodes...
2015-03-05Cleanup: typosCampbell Barton
2013-10-07fix for error reading gzip'd x3d/vrml filesCampbell Barton
2013-04-11fix [#34606] x3d file with comma separated coordinates doesn't importCampbell Barton
2013-03-12fix for importing face colorsCampbell Barton
2013-02-26fix for x3d import of lists of images and alpha support.Campbell Barton
2013-02-25fix for off-by-one error on X3D importCampbell Barton
2013-02-13fix for x3d failing to load meshes when some faces were invalid.Campbell Barton
2012-10-09style cleanup: pep8Campbell Barton
2012-09-28fix [#32615] VRML Import has incorrect texture coordinatesCampbell Barton