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
1
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.

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

3
Sorry, it is not possible currently.

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

5
No ETA for now.

6
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.

7
Unfortunately, it is not possible right now.

8
It's likely to be a bug, thanks.

9
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.

10
Sorry, this is not possible with the current logger.

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

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

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

14
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();
    read_request.open("GET", file_path, false);
    read_request.send(null);
    // read_request.responseText should contain your file text
and
Code: [Select]
    var write_request = new XMLHttpRequest();
    write_request.open("PUT", file_path, false);
    write_request.send(your_log);

15
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

  AlgToolTipArea
  {
    anchors.fill: root
    tooltip: "hello world"
  }
}

Pages: [1] 2