Docs update for msh material property fill operator and menu entry

This commit is contained in:
William Herald Snyder 2022-02-09 15:16:12 -05:00
parent bdcd4c4aa9
commit 4e2f6bf423
3 changed files with 10 additions and 1 deletions

View File

@ -207,7 +207,7 @@ class FillSWBFMaterialProperties(bpy.types.Operator):
bl_label = "Fill SWBF Material Properties" bl_label = "Fill SWBF Material Properties"
bl_description = ("Fill in SWBF properties of all materials used by selected objects.\n" bl_description = ("Fill in SWBF properties of all materials used by selected objects.\n"
"Only considers materials that use nodes.\n" "Only considers materials that use nodes.\n"
"Please see 'Materials Operators' in the docs for more details.") "Please see 'Materials > Materials Operators' in the docs for more details.")
def execute(self, context): def execute(self, context):

BIN
docs/images/mat_fill_op.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 375 KiB

View File

@ -24,6 +24,7 @@
+ [Materials.Flags](#materialsflags) + [Materials.Flags](#materialsflags)
+ [Materials.Data](#materialsdata) + [Materials.Data](#materialsdata)
+ [Materials.Texture Maps](#materialstexture-maps) + [Materials.Texture Maps](#materialstexture-maps)
+ [Materials Operators](#materials-operators)
- [Skeletons and Skinning](#skeletons-and-skinning) - [Skeletons and Skinning](#skeletons-and-skinning)
+ [XSI vs Blender](#xsi-vs-blender) + [XSI vs Blender](#xsi-vs-blender)
+ [Example Skin Hierarchy](#example-skin-hierarchy) + [Example Skin Hierarchy](#example-skin-hierarchy)
@ -575,6 +576,14 @@ Environment map for the material. Used to provide static reflections for the mod
Distortion maps control how Refractive materials distort the scene behind them. Should be a Normal Map with '-forceformat v8u8' in it's '.tga.option' file. See Appendix .tga.option Files. Distortion maps control how Refractive materials distort the scene behind them. Should be a Normal Map with '-forceformat v8u8' in it's '.tga.option' file. See Appendix .tga.option Files.
### Materials Operators
#### Fill SWBF Properties
Fills in SWBF properties of each material used by a currently selected object. This operator will only work with materials that have ```Use Nodes``` enabled and will just fill in the Diffuse Map property with the name of the image used by the material's Principled BSDF node.
It is used by selecting the relevant objects and choosing `SWBF` > `Fill SWBF Material Properties` in the `Object Context` (right-click) menu ![Menu Entry](images/mat_fill_op.png)