Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/p/y/PyPRP-HEAD/PyPRP/prp_AnimClasses.py   PyPRP(Download)
        if(obj.type == "Lamp")and(obj.data.ipo):
            ipo = obj.data.ipo # first, we get the lamp ipo
            if (Ipo.LA_R in ipo) or (Ipo.LA_G in ipo) or (Ipo.LA_B in ipo):
                app = PrpController(0x030B) #plLightDiffuseApplicator
                app.data.fEnabled = 1
                    compoundController.fXController = controller
 
                if (Ipo.LA_G in ipo):
                    curve = ipo[Ipo.LA_G]
                    controller = plScalarController()