Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - philippe hermite

Pages: [1] 2
Substance PainterSubstance Painter - Scripting - Re: QML changes in 2019.3
 on: January 14, 2020, 02:58:36 pm 
Our QML library was modified to follow the new guidelines from Qt. The scripting documentation was updated to reflect these changes. It should have no impact on your plugins, and the use of our QML library is fully compatible between 2019.2.x and 2019.3.x versions.
The new version of Qt introduces new warnings and errors. Most error message should be clear enough. However, if you need help fixing these warnings, feel free to reach out to me.

Unfortunately, it is not possible to get the export presets list right now.

Sorry, it is not possible currently.

Substance PainterSubstance Painter - Scripting - Re: Managing history
 on: March 21, 2019, 10:53:35 am 
It is not possible right now.

No ETA for now.

Substance PainterSubstance Painter - Scripting - Re: Scripting API
 on: March 21, 2019, 10:49:54 am 
Thankyou, will there be some online documentation at some point? Its nice to be able to study without having the program to hand such as on the train on way to and from work.
It is not currently planned.

Unfortunately, it is not possible right now.

It's likely to be a bug, thanks.

Qt.ApplicationModal will prevent the user to interact with other windows but does not interrupt any running process.
Even if you use a WorkerScript it will be difficult to have such a behavior, and if you don't your dialog will probably appear after the script is finished.
The only simple way I can think of is to cut your code in several parts, call for your dialog visibility and trigger the next step when the visible property of your dialog changes back to false.

Sorry, this is not possible with the current logger.

This is a bug inside an internal QML type, I will fix it as soon as possible.
Thanks for the report.

The documentation of AlgWidgets 2.0 has been updated with Substance Painter 2018.2.0.
It now provides examples for each QML type.

You can try to download Substance Painter 2018.2.1 since some slider fixes have been done inside it.

I'm not sure what you really want to do, but you can maybe define your own log helpers to write inside a file.
I know that you can use a XMLHttpRequest to read or write a text file ('GET' method to read and 'PUT' method to write)
Something like:
Code: [Select]
    var read_request = new XMLHttpRequest();"GET", file_path, false);
    // read_request.responseText should contain your file text
Code: [Select]
    var write_request = new XMLHttpRequest();"PUT", file_path, false);

I will try to reproduce your log issue, for now I can just add a small example of the new AlgToolTipArea widget.

Code: [Select]
import AlgWidgets 2.0
import QtQuick 2.7

Rectangle {
  id: root
  width: 100
  height: 100

    anchors.fill: root
    tooltip: "hello world"

Pages: [1] 2