When re-exporting a glTF material (e.g. from Substance 3D Painter) the updates aren't automatically applied to an objects material surface when said surface has non-default texture transforms. Like Scale ![= 1.0, Offset ](= 1.0, Offset )= 0.0
What were you doing when it happened?
1) Rez 2 prims. Prim A, and prim B.
2) Apply a glTF material to the top face, using the Local material feature of the build floater, to both prims.
3) Select the top face of B and set it's Scale u to 1.1 under PBR > Base color.
4) Make some obvious changes to the material, that is loaded on the prims, in your external editor of choice.
5) Re-export the material.
Observe that the updates are automatically applied to A, but not to B.
What were you expecting to happen instead?
Expecting that local materials are automatically apllied to an object even when its texture transforms are non-default.
Other information
To make auto updates work again on prim B, the texture transforms have to be reverted to the default values, and the local material has to be removed and re-applied.
Original Jira Fields
| Field | Value |
| ------------- | ------------- |
| Issue | BUG-233320 |
| Summary | [PBR] - Local material updates aren't applied to an object when texture transforms are non-default |
| Type | Bug |
| Priority | Unset |
| Status | Closed |
| Resolution | Triaged |
| Reporter | arton Rotaru (arton.rotaru) |
| Created at | 2023-02-04T00:20:12Z |
| Updated at | 2023-11-28T19:24:04Z |
```
{
'Build Id': 'unset',
'Business Unit': ['Platform'],
'Date of First Response': '2023-02-08T10:33:11.540-0600',
"Is there anything you'd like to add?": 'To make auto updates work again on prim B, the texture transforms have to be reverted to the default values, and the local material has to be removed and re-applied.',
'ReOpened Count': 0.0,
'Severity': 'Unset',
'System': 'SL Viewer',
'Target Viewer Version': 'viewer-development',
'What just happened?': "When re-exporting a glTF material (e.g. from Substance 3D Painter) the updates aren't automatically applied to an objects material surface when said surface has non-default texture transforms. Like Scale != 1.0, Offset != 0.0",
'What were you doing when it happened?': "1) Rez 2 prims. Prim A, and prim B.\r\n2) Apply a glTF material to the top face, using the Local material feature of the build floater, to both prims.\r\n3) Select the top face of B and set it's Scale u to 1.1 under PBR > Base color.\r\n4) Make some obvious changes to the material, that is loaded on the prims, in your external editor of choice.\r\n5) Re-export the material.\r\n\r\nObserve that the updates are automatically applied to A, but not to B.",
'What were you expecting to happen instead?': 'Expecting that local materials are automatically apllied to an object even when its texture transforms are non-default.',
'Where': 'secondlife://Aditi/secondlife/Materials%20Adult/241/16/24',
}
```
What just happened?
When re-exporting a glTF material (e.g. from Substance 3D Painter) the updates aren't automatically applied to an objects material surface when said surface has non-default texture transforms. Like Scale ![= 1.0, Offset ](= 1.0, Offset )= 0.0
What were you doing when it happened?
1) Rez 2 prims. Prim A, and prim B. 2) Apply a glTF material to the top face, using the Local material feature of the build floater, to both prims. 3) Select the top face of B and set it's Scale u to 1.1 under PBR > Base color. 4) Make some obvious changes to the material, that is loaded on the prims, in your external editor of choice. 5) Re-export the material.
Observe that the updates are automatically applied to A, but not to B.
What were you expecting to happen instead?
Expecting that local materials are automatically apllied to an object even when its texture transforms are non-default.
Other information
To make auto updates work again on prim B, the texture transforms have to be reverted to the default values, and the local material has to be removed and re-applied.
Original Jira Fields
| Field | Value | | ------------- | ------------- | | Issue | BUG-233320 | | Summary | [PBR] - Local material updates aren't applied to an object when texture transforms are non-default | | Type | Bug | | Priority | Unset | | Status | Closed | | Resolution | Triaged | | Reporter | arton Rotaru (arton.rotaru) | | Created at | 2023-02-04T00:20:12Z | | Updated at | 2023-11-28T19:24:04Z | ``` { 'Build Id': 'unset', 'Business Unit': ['Platform'], 'Date of First Response': '2023-02-08T10:33:11.540-0600', "Is there anything you'd like to add?": 'To make auto updates work again on prim B, the texture transforms have to be reverted to the default values, and the local material has to be removed and re-applied.', 'ReOpened Count': 0.0, 'Severity': 'Unset', 'System': 'SL Viewer', 'Target Viewer Version': 'viewer-development', 'What just happened?': "When re-exporting a glTF material (e.g. from Substance 3D Painter) the updates aren't automatically applied to an objects material surface when said surface has non-default texture transforms. Like Scale != 1.0, Offset != 0.0", 'What were you doing when it happened?': "1) Rez 2 prims. Prim A, and prim B.\r\n2) Apply a glTF material to the top face, using the Local material feature of the build floater, to both prims.\r\n3) Select the top face of B and set it's Scale u to 1.1 under PBR > Base color.\r\n4) Make some obvious changes to the material, that is loaded on the prims, in your external editor of choice.\r\n5) Re-export the material.\r\n\r\nObserve that the updates are automatically applied to A, but not to B.", 'What were you expecting to happen instead?': 'Expecting that local materials are automatically apllied to an object even when its texture transforms are non-default.', 'Where': 'secondlife://Aditi/secondlife/Materials%20Adult/241/16/24', } ```