Commit Graph

7 Commits

Author SHA1 Message Date
87d1c3811f Update class names after api changes to Blender
In rB4ddad5a7ee5d9c3245593c509714f8c1359f9342
the `RENDER_PT_dimensions` class was renamed to
`RENDER._PT_format`
2021-09-05 23:24:04 -04:00
f86f25e622 POV: Code formatting and bugfixes
* fix: more imports cleanup and formatting
* add: hair shape (from old MaterialStrand for now)
* add: pixel / Non Blender units strand width
* fix: an exception handling of df3_library
* fix: gas flow_type typo
2021-06-09 03:13:10 +02:00
448eeb681a Update for changes in the Python API using keyword only arguments 2021-06-09 03:12:45 +10:00
e25068ef47 Revert "POV : fix registering"
This reverts commit a885950276.
2021-05-27 18:41:55 +02:00
a885950276 POV : fix registering
Fix : Removed some duplicate class that caused addon register /
unregister to fail after previous commit
2021-05-27 18:36:18 +02:00
73c752effe Povray: Fix bunch of issues after recent refactor.
Those were breaking automated tests, since (un)registering was not
working properly. Mainly:

* Use `hasattr` instead of try/except when batch-assigning to a variable
  that does not always exist.
* Fix some incorrect call to sub-`register()` from parent `unregister()`
  functions.
* Remove double definition (in two different files) of World's pov
  textures.
2021-05-27 17:26:34 +02:00
fad5186bb6 Formatting and fixes
* Moved: some existing functions into new separate files to improve code
readability (detailed in __init__.py docstring)

* Remove: max_intersections deprecated in pov 3.8

* Add: Validate utf-8 characters with specific API function at session's
first script init

* Add : Icons to some text fields and inviting labels

* Change default camera normal perturbation value to non zero since its
use is first driven by a boolean toggle

* Change: lists (vectors and indices) are now exported in one line by
default for better manual scene overview and debugging

* Change: a couple of tooltips corrections

* Change : renamed many variables and functions to snake_case according
to recommanded style guides

* Fix : Heightfield primitive (forward slashes were expected for
displacement texture path)

* Fix : Text nippet insertion operator

* Fix : added console print tip to check executable path on failure to
process

* Fix : tweaked finished render say command for Linux

* Fix : interface of some shader nodes broken since 2.8 api changes

* Fix : export hair particles
2021-05-26 01:34:50 +02:00