| 678 | |
| 679 | |
| 680 | void ShaderNetworkAlgo::convertToOSLConventions( ShaderNetwork *network, int oslVersion ) |
| 681 | { |
| 682 | expandRamps( network, "osl:" ); |
| 683 | |
| 684 | // \todo - it would be a bit more efficient to integrate this, and only traverse the network once, |
| 685 | // but I don't think it's worth duplicated the code - fix this up once this call is standard and we |
| 686 | // deprecate and remove convertOSLComponentConnections |
| 687 | convertOSLComponentConnections( network, oslVersion); |
| 688 | |
| 689 | } |
| 690 | |
| 691 | ////////////////////////////////////////////////////////////////////////// |
| 692 | // `convertObjectVector()` |