Skip to content

Commit 806eb1b

Browse files
committed
Update logo image in README
Removed width attribute from the logo image.
1 parent f81f5d7 commit 806eb1b

4 files changed

Lines changed: 11 additions & 14 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div align="center">
2-
<img src="Revit.Extensions/icon-large.png" alt="Revit.Extensions" width="120" />
2+
<img src="Revit.Extensions/icon-large.png" alt="Revit.Extensions" />
33

44
# Revit.Extensions
55

Revit.Extensions/Extensions/DrawSession.cs

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
41
using Autodesk.Revit.DB;
52
using Autodesk.Revit.DB.DirectContext3D;
63
using Autodesk.Revit.DB.ExternalService;
@@ -116,17 +113,17 @@ public DrawSession Clear()
116113
public ExternalServiceId GetServiceId() =>
117114
ExternalServices.BuiltInExternalServices.DirectContext3DService;
118115

119-
public string GetName() => "DrawSession";
116+
public string GetName() => "DrawSession";
120117
public string GetDescription() => "Revit.Extensions transient geometry renderer";
121-
public string GetVendorId() => "Revit.Extensions";
118+
public string GetVendorId() => "Revit.Extensions";
122119

123120
public string GetApplicationId() => "Revit.Extensions.DrawSession";
124-
public string GetSourceId() => _serverId.ToString();
125-
public bool UsesHandles() => false;
121+
public string GetSourceId() => _serverId.ToString();
122+
public bool UsesHandles() => false;
126123

127-
public bool CanExecute(View view) => !_disposed && _lines.Count > 0 && view is View3D;
124+
public bool CanExecute(View view) => !_disposed && _lines.Count > 0 && view is View3D;
128125
public bool UseInTransparentPass(View view) => false;
129-
public Outline? GetBoundingBox(View view) => null;
126+
public Outline? GetBoundingBox(View view) => null;
130127

131128
public void RenderScene(View view, DisplayStyle displayStyle)
132129
{
@@ -189,17 +186,17 @@ private void RebuildBuffers()
189186

190187
#if REVIT_2024 || REVIT_2023 || REVIT_2022 || REVIT_2021 || REVIT_2020
191188
foreach (var item in groups)
192-
{
189+
{
193190
var key = item.Key;
194191
var lines = item.Value;
195192
#else
196193
foreach (var (key, lines) in groups)
197194
{
198195
#endif
199196

200-
int nVerts = lines.Count * 2;
201-
int nPrims = lines.Count;
202-
int ibSize = nPrims * IndexLine.GetSizeInShortInts();
197+
int nVerts = lines.Count * 2;
198+
int nPrims = lines.Count;
199+
int ibSize = nPrims * IndexLine.GetSizeInShortInts();
203200

204201
var vb = new VertexBuffer(nVerts * VertexPosition.GetSizeInFloats());
205202
vb.Map(nVerts * VertexPosition.GetSizeInFloats());

Revit.Extensions/icon-large.png

861 KB
Loading

Revit.Extensions/icon.png

-861 KB
Loading

0 commit comments

Comments
 (0)