Convert doxygen to rst for X3DReader, XmlMaterialProfile, XRayView

This commit is contained in:
Nino van Hooff 2020-05-28 16:08:09 +02:00
parent 6035adb963
commit 5af9faf5e5
3 changed files with 56 additions and 36 deletions

View file

@ -3,11 +3,14 @@
from typing import Any, Dict
## Makes sure that the required metadata is present for a material.
class XmlMaterialValidator:
## Makes sure that the required metadata is present for a material.
"""Makes sure that the required metadata is present for a material."""
@classmethod
def validateMaterialMetaData(cls, validation_metadata: Dict[str, Any]):
"""Makes sure that the required metadata is present for a material."""
if validation_metadata.get("GUID") is None:
return "Missing GUID"