Age | Commit message (Collapse) | Author |
|
Note that some scripts still used the 3D view cursor which has been
removed for a while.
|
|
note: the driver setup for corner pin is broken in the
new dependency graph (relies on scene camera), will tackle that
separately
Fixes T60986
|
|
The parameter defaults were changed in rB0c829e8240eebd7ce4ed9d61f8682c0d6bf534f4
|
|
|
|
|
|
|
|
|
|
|
|
Identity checks should never be used with strings, it may fail based on
Python's interning logic.
|
|
Please do that *every time* you make any change but most basic cleanup ones!
|
|
|
|
|
|
As discussed during bconf, have been maintaing that one for years now,
and it's quiet widely used...
|
|
|
|
|
|
Differential Revision: https://developer.blender.org/D3746
|
|
|
|
Not that many issues, mostly matrix/vectors multiplications were a tad
tedious... Think everything is working now.
|
|
|
|
|
|
|
|
This has been removed from Blender's Image data...
|
|
|
|
|
|
|
|
Add-ons are no API, and are not expected to be used outside of
themselves (i.e. add-ons whall not depend on other add-ons). So no
reason to keep compatibility with previous behavior of import image a
splanes operator (especially since name had to be changed anyway).
Also simplified register/unregister code, exceptions are only to be used
to detect and handle errors, not to handle some valid cases.
|
|
- Contexts already return copy of themselves as dict with their copy() method.
- Do not store a vector in Enum id to then parse it into real vector,
just use sensible enum ids and a mapping to matching vectors...
- Since we don't use cutom handling of extensions anymore (did we really
want to get rid of this btw? :/ ), at least let's also get rid of hack
they needed, and just use standard 'batch' handling of file types.
There are probably more to cleanup, also not that happy with some
changes here (like the removal of filtering by exact extension/image
type), but this will do for now.
|
|
|
|
engines.
This script has to generate shaders for imported images' planes, so it can only work
with known engines. 'Fix' is only adding an explicit error message when an unknown
render engine is found, instead of failing silently.
|
|
material nodes system
when enabling "Use Alpha", for Cycles.
- Removed two options from Cycles Materal settings during import
("Diffuse & Transparent", "Emission & Transparent").
- Nodetree creation stays the same, but transparent BSDF (along the other needed nodes)
is now added when Import Option "Use Alpha" is checked.
Reviewers: testscreenings, mont29
Reviewed By: mont29
Projects: #addons
Differential Revision: https://developer.blender.org/D1437
|
|
importing.
There is now an option to force reloading existing images.
But main bug was elsewhere - that addon would always create new image datablocks, and yet
use same (already existing) texture afterwards, that was rather bad, fixed using new
'check_existing' option of load_image helper just added to master.
|
|
at once.
Also, name meshes from image names too.
|
|
|
|
with Cycles engine.
UseAlpha & co are image settings, they are not bound to any specific render engine.
To be backported to final 2.74.
|
|
* Fix setting frame_duration of image users (using op here is overkill, too).
* Cycles is now perfectly able to use videos as textures!
* Fix Cycles texures/images not getting fully set from op parameters.
|
|
|
|
minor other edits
|
|
materials).
|
|
Note: import gimp image also would need it, but it would anyway need a good cleanup (handling of paths is ugly), so did not bothered with it for now.
|
|
|
|
|
|
*Use absolute as default size mode (dpi with BU is not that nice).
*Use default plane primitive instead of creating our own square (this way we can be sure things like verts order will always match those of default plane!), request from Christopher Barrett in tracker.
|
|
Iggy B [rexxxus] for reporting the bug).
|
|
blender code (thanks to meta-androcto for the report on IRC).
|
|
Never use a generator as enum's "items" value!
|
|
make addons blender versions consistent
|
|
(absolute, to directly specify the result height, and dpi or dpbu [dots per Blender Unit], to use image definition). Based on an idea and code from mat ali, thanks!
Also fixed correct use of overriden context (not really a bug, but printed annoying warning messages in the console).
|
|
"import.image_to_plane" to "import_image.to_plane" (import is a keyword in python...). Thanks to P. Staples in tracker!
|
|
|
|
*Mostly, makes much more intensive use of Blender's FileSelector, to only show relevant files, and allow any pict/video files when "all" is selected (previously e.g. importing mkv's was impossible!).
*Style cleaning/refactoring (esp. do not use 'self' for anythin else than a method's object, so made most func member of op class)...
|