diff --git a/addons/io_scene_swbf_msh/__init__.py b/addons/io_scene_swbf_msh/__init__.py index 2675489..04fcaf6 100644 --- a/addons/io_scene_swbf_msh/__init__.py +++ b/addons/io_scene_swbf_msh/__init__.py @@ -207,7 +207,7 @@ class FillSWBFMaterialProperties(bpy.types.Operator): bl_label = "Fill SWBF Material Properties" bl_description = ("Fill in SWBF properties of all materials used by selected objects.\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): diff --git a/docs/images/mat_fill_op.png b/docs/images/mat_fill_op.png new file mode 100644 index 0000000..3367776 Binary files /dev/null and b/docs/images/mat_fill_op.png differ diff --git a/docs/reference_manual.md b/docs/reference_manual.md index 580ba96..c978283 100644 --- a/docs/reference_manual.md +++ b/docs/reference_manual.md @@ -24,6 +24,7 @@ + [Materials.Flags](#materialsflags) + [Materials.Data](#materialsdata) + [Materials.Texture Maps](#materialstexture-maps) + + [Materials Operators](#materials-operators) - [Skeletons and Skinning](#skeletons-and-skinning) + [XSI vs Blender](#xsi-vs-blender) + [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. +### 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) + +