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

HMLS, don't put empty lines in generated shaders for failed properties #497

Open
cryham opened this issue Feb 8, 2025 · 0 comments
Open

Comments

@cryham
Copy link
Contributor

cryham commented Feb 8, 2025

System Information

  • Ogre Version: 3.0.0 at least
  • Operating System / Platform: all
  • RenderSystem: all
  • GPU: any

Detailled description

E.g. I added this in .any

	// start
	@property( fake123124 )
		// skip 0
	@end
	@property( fake12 )
		// skip 1
	@end
	@property( fake123 )
		// skip 2
	@end
	@property( fake1231 )
		// skip 3
	@end
	@property( fake12312 )
		// skip 4
	@end
	// end

and now in all shaders I get this added:

	// start
	
	
	
	
	
	// end

This is a bug for me, there should be no new lines. It makes all shaders spread a lot with scattered actual lines.
Should be so:

	// start
	// end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant