Skip to content

Commit

Permalink
Update to RenderDoc 1.10
Browse files Browse the repository at this point in the history
  • Loading branch information
eliemichel committed Oct 20, 2020
1 parent d4567a8 commit dff7cf8
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion blender/MapsModelsImporter/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
bl_info = {
"name": "Maps Models Importer",
"author": "Elie Michel",
"version": (0, 3, 2),
"version": (0, 3, 3),
"blender": (2, 82, 0),
"location": "File > Import > Google Maps Capture",
"description": "Import meshes from a Google Maps or Google Earth capture",
Expand Down
Binary file removed blender/MapsModelsImporter/bin/win32/renderdoc.dll
Binary file not shown.
Binary file removed blender/MapsModelsImporter/bin/win32/renderdoc.pyd
Binary file not shown.
Binary file modified blender/MapsModelsImporter/bin/win64/renderdoc.dll
Binary file not shown.
Binary file modified blender/MapsModelsImporter/bin/win64/renderdoc.pyd
Binary file not shown.
3 changes: 2 additions & 1 deletion blender/MapsModelsImporter/google_maps_rd.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ def getVertexShaderConstants(self, draw, state=None):
ep,
cb.bindPoint,
cbuff.resourceId,
0,
0
)
for var in variables:
Expand Down Expand Up @@ -217,7 +218,7 @@ def run(self):
with open("{}{:05d}-uv.bin".format(FILEPREFIX, drawcallId), 'wb') as file:
pickle.dump(unpacked, file)
except Exception as err:
print("(Skipping: {})".format(err))
print("(Skipping because of error: {})".format(err))
continue

# Vertex Shader Constants
Expand Down
2 changes: 1 addition & 1 deletion blender/MapsModelsImporter/meshdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def fmt2struct(fmt):
rd.CompType.UScaled: uintfmt,
rd.CompType.SNorm: sintfmt,
rd.CompType.SScaled: sintfmt,
rd.CompType.Double: floatfmt,
#rd.CompType.Double: floatfmt,
}
return str(fmt.compCount) + formatChars[fmt.compType][fmt.compByteWidth]

Expand Down

0 comments on commit dff7cf8

Please sign in to comment.