コード例 #1
0
ファイル: urdf.py プロジェクト: YulongWang2020/CourseWork
 def check_valid(self):
     if self.color is None and self.texture is None:
         xmlr.on_error("Material has neither a color nor texture.")
コード例 #2
0
ファイル: urdf.py プロジェクト: mikaelarguedas/urdfdom
	def check_valid(self):
		if self.color is None and self.texture is None:
			xmlr.on_error("Material has neither a color nor texture")
コード例 #3
0
ファイル: urdf.py プロジェクト: jmonga-1675/sawyer_pykdl
 def check_valid(self):
     if self.color is None and self.texture is None and not Material.error_already_displayed:
         Material.error_already_displayed = True
         xmlr.on_error("Material has neither a color nor texture\n")