santorac
45429872d6
Switched back to making MaterialAsset::GetPropertyValues automatically finalize the material asset. I realized that it's too burdensome to expect client code to call Finalize on the MaterialAsset; every code that calls GetPropertyValues would have to call Finalize(). Instead of using const_cast in GetPropertyValues like I was doing before, I just changed GetPropertyValues to be a non-const function. There were a few places in Decal code I had to update to pass non-const MaterialAsset pointers. This isn't ideal, but I think it's better than the alternatives.
...
Signed-off-by: santorac <55155825+santorac@users.noreply.github.com >
2022-01-18 17:39:44 -08:00
mrieggeramzn
60a0d2ba01
Atom/mriegger/decalnormalmaps ( #4302 )
...
* Adding normal maps to decals initial commit
Signed-off-by: mrieggeramzn <mriegger@amazon.com >
* Adding checks for normal maps not present
Signed-off-by: mrieggeramzn <mriegger@amazon.com >
* Readding the proper switch statement
Signed-off-by: mrieggeramzn <mriegger@amazon.com >
* Addressing PR feedback, adding brackets
Signed-off-by: mrieggeramzn <mriegger@amazon.com >
* Adding comments
Signed-off-by: mrieggeramzn <mriegger@amazon.com >
* fixing compile issue
Signed-off-by: mrieggeramzn <mriegger@amazon.com >
2021-09-30 15:34:12 -07:00
Steve Pham
38261d0800
Shorten copyright headers by splitting into 2 lines ( #2213 )
...
* Updated all copyright headers to split the longer original copyright line into 2 shorter lines
Signed-off-by: Steve Pham <spham@amazon.com >
2021-07-16 15:25:48 -07:00
Steve Pham
b4a2edec6a
Final update copyright headers to reference license files at the repo root ( #1693 )
...
* Final update copyright headers to reference license files at the repo root
Signed-off-by: spham <spham@amazon.com >
* Fix copyright validator unit tests to support the stale O3DE header scenario
Signed-off-by: spham <spham@amazon.com >
2021-06-30 19:51:55 -07:00
Steve Pham
70042fcdcd
O3DE Copyright Updates for Linux Foundation ( #1504 )
2021-06-23 10:55:22 -07:00
alexpete
a10351f38d
Initial commit
2021-03-08 14:30:57 -08:00