Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Protection level for Texture2D variable defined in TransferFunction.cs #267

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Assets/Scripts/TransferFunction/TransferFunction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class TransferFunction : ScriptableObject
[SerializeField]
public List<TFAlphaControlPoint> alphaControlPoints = new List<TFAlphaControlPoint>();

private Texture2D texture = null;
protected Texture2D texture = null;
private Color[] tfCols;

private const int TEXTURE_WIDTH = 1024;
Expand Down
2 changes: 2 additions & 0 deletions CREDITS.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,7 @@ Async loading
Modified shader to handle stereo rendering.
- [Juan Pablo Montoya](https://github.com/JuanPabloMontoya271)
Overlay Segmentations - initial implementation
- [Vijay Kalivarapu](https://github.com/kvijaykiran)
Texture2D variable in TransferFunction changed to protected - to allow for custom texture creation

Feel free to add yourself to this list when contributing to this project.