Don't allow quat="0 0 0 0" in XML.
PiperOrigin-RevId: 557535436 Change-Id: Ie71246da5fff67a7cc37cb1801dd88d4a79b5766
This commit is contained in:
committed by
Copybara-Service
parent
15d74ba939
commit
cf310079e2
@@ -145,6 +145,9 @@ class mjXUtil {
|
||||
T* data, std::string& text,
|
||||
bool required = false, bool exact = true);
|
||||
|
||||
static int ReadQuat(tinyxml2::XMLElement* elem, const char* attr, double* data,
|
||||
std::string& text, bool required = false);
|
||||
|
||||
// deprecated: use ReadAttrVec
|
||||
static int ReadVector(tinyxml2::XMLElement* elem, const char* attr,
|
||||
std::vector<double>& vec, std::string& text, bool required = false);
|
||||
|
||||
Reference in New Issue
Block a user