Page MenuHomeFeedback Tracker

clipTL and clipBR only work in type = group (class MFD)
New, WishlistPublic

Description

so yeah as the title says, the clipping tools in class MFD only seem to work when they are placed in a type=group class, and even then they only apply to classes in that group, instead of all groups from there on out.

class Draw {
class group {

		type = group;
		clipTL[] = {...};
		clipBR[] = {...};
		class element {
			type = line;
			points [] = {...}; //clipTL and clipBR work on these
		};
		class groupception {
			class element_2 {
				type = line;
				points [] = {...}; //clipTL and clipBR do not work on these, even though these are technically in a hirearchy clipped by clipTL clipBR
			};
		};

};
class group_2 {

		type = line;
		clipTL[] = {...};
		clipBR[] = {...};
		points [] = {...}; //clipTL and clipBR do not work on these, even though they are in the same class.

};
};

Details

Legacy ID
3957142229
Severity
None
Resolution
Open
Reproducibility
Always
Category
Scripting

Event Timeline

Olli_ edited Steps To Reproduce. (Show Details)Sep 6 2014, 1:21 AM
Olli_ edited Additional Information. (Show Details)
Olli_ set Category to Scripting.
Olli_ set Reproducibility to Always.
Olli_ set Severity to None.
Olli_ set Resolution to Open.
Olli_ set Legacy ID to 3957142229.May 7 2016, 7:23 PM
Bohemia added a subscriber: AD2001.Sep 6 2014, 1:21 AM
Olli_ added a subscriber: Olli_.May 7 2016, 7:23 PM
Olli_ added a comment.Sep 6 2014, 1:24 AM

im circumventing this just by placing classes i need clipped inside a group class and the clipping the group, but that just creates unnecessary complexity.
additionally if clipTL and clipBR applied to all classes in its hierarchy it would be easier to clip larger HUD elements which consist of a lot of different classes