Age | Commit message (Collapse) | Author |
|
update for recent depsgraph API changes
Reviewers: brecht
Maniphest Tasks: T65990
Differential Revision: https://developer.blender.org/D5112
|
|
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
|
|
`Material.diffuse_color` has an alpha component now.
|
|
|
|
Reviewers: campbellbarton
Differential Revision: https://developer.blender.org/D3897
|
|
Minimize time spent loading modules on startup.
|
|
|
|
- Use 0.25 opacity because front/back overlap can too easily hide wire.
- Avoid using Py builtin 'object' for naming.
- Checking a collection is true/false more efficient in RNA
than check len(collection) > 0.
- Use staticmethods when self isn't needed.
|
|
|
|
Differential Revision: https://developer.blender.org/D3715
Reviewer: brecht
|
|
|
|
__name__ is never "__main__" here, but instead it is the module name (io_mesh_uv_layout).
|
|
|
|
|
|
"""
Apart from the 'export as PNG' all seems to be working ok.
'Export to PNG' also seems to work but doesn't look acceptable because the mesh
wireframe modifier is used to draw UV wireframes (I was going to see if a curve
object would be usable to draw wireframes). Something in setting the renderer up
could also be wrong or missing.
"""
D3507 by @Al
Note from reviewer: I can't get this addon to show in the menus. But the syntax
seems correct, and it's pep8 friendly, so no harm in committing it so I can
ask other devs to see why the addon is never registering here.
Also, some changes I made include making it pep8 friendly and replace:
['foo', 'bar'] with {'foo', 'bar'}.
|
|
Wireframes rendered over the solid mesh object in UV layout export would still have some transparency,
probably due to transparency sampling errors when solid object with transparency
would be rendered behind a wire object without transparency enabled.
Enabling transparency on the wire object but leaving it at the default alpha of 1 fixes this,
forcing better transparency sampling. Simple issue of changing render settings,
as UV layouts are actually rendered with Blender Internal.
Differential Revision: https://developer.blender.org/D2414
|
|
RNA API to remove datablocks has been unified, no more implicit unlinking is done
like it used to be for some types (most notably Scenes)...
|
|
messages part)."
This reverts commit e1d8c70bbb5776041383335f986b28b33d18f8ff.
Prefer not to have speculative fixes.
The intention here is not to use the context at all,
even if doing so fixes the crash -
it may then fail silently by mixing data from different contexts,
causing further complications which are much harder to debug.
|
|
Cannot reproduce the crash, let's see whether those missing context stuff fix it as well...
|
|
Looks like we need an explicit Scene.update() call here...
|
|
|
|
Python 3.4.0 deprecated the "imp" module, and replaced it with
"importlib". This changes imp.reload() into implib.reload().
Reviewers: campbellbarton
Differential Revision: https://developer.blender.org/D1016
|
|
|
|
minor other edits
|
|
Reported by Sean Kennedy. The Fill Opacity setting on Export was missing a tooltip.
|
|
access to customdata layers.
|
|
|
|
Another glitch from recent alpha work. Also modified povray's code. As usual, maintainders of these scripts, please double check changes are ok! :)
|
|
make addons blender versions consistent
|
|
finished
|
|
|
|
|
|
|
|
Note: would have loved to add an option to export tesselated layout (instead of ngon one), but currently I often get mesh without tesselation, and seems there is no way to call ensure_tesselated from python...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|