Radiant:
misc... * changed surface inspector behavior from 'set whole texture projection' to 'set modified value' (makes sense for multiple surfaces selected) * BP: surface inspector and Tex* binds scale texture by its axes, not world axes * BP: fix rotation of tex projection with scale S != scale T * BP: fix ruining nonregular tex projections by surface inspector (for example after fit/seamless/arbitrary projection) * jump over tex projection scale = 0 case, while modifying one (AP and BP)
This commit is contained in:
@@ -524,6 +524,13 @@ void Select_SetTexdef( const TextureProjection& projection ){
|
||||
Scene_BrushSetTexdef_Component_Selected( GlobalSceneGraph(), projection );
|
||||
}
|
||||
|
||||
void Select_SetTexdef( const float* hShift, const float* vShift, const float* hScale, const float* vScale, const float* rotation ){
|
||||
if ( GlobalSelectionSystem().Mode() != SelectionSystem::eComponent ) {
|
||||
Scene_BrushSetTexdef_Selected( GlobalSceneGraph(), hShift, vShift, hScale, vScale, rotation );
|
||||
}
|
||||
Scene_BrushSetTexdef_Component_Selected( GlobalSceneGraph(), hShift, vShift, hScale, vScale, rotation );
|
||||
}
|
||||
|
||||
void Select_SetFlags( const ContentsFlagsValue& flags ){
|
||||
if ( GlobalSelectionSystem().Mode() != SelectionSystem::eComponent ) {
|
||||
Scene_BrushSetFlags_Selected( GlobalSceneGraph(), flags );
|
||||
|
||||
Reference in New Issue
Block a user