|  | @@ -28,8 +28,11 @@ open class PQTextFilter: PQBaseFilter {
 | 
											
												
													
														|  |          super.init(fragmentShader: AlphaPassthroughFragmentShader, numberOfInputs: 1)
 |  |          super.init(fragmentShader: AlphaPassthroughFragmentShader, numberOfInputs: 1)
 | 
											
												
													
														|  |          stickerInfo = sticker
 |  |          stickerInfo = sticker
 | 
											
												
													
														|  |          subTitleTexture = 0
 |  |          subTitleTexture = 0
 | 
											
												
													
														|  | 
 |  | +        
 | 
											
												
													
														|  | 
 |  | +//        BFLog("\(stickerInfo.materialPosition)", message: 2)
 | 
											
												
													
														|  |   
 |  |   
 | 
											
												
													
														|  |          createTexture()
 |  |          createTexture()
 | 
											
												
													
														|  | 
 |  | +        
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  |   
 |  |   
 | 
											
												
													
														|  |      // 清空数据
 |  |      // 清空数据
 | 
											
										
											
												
													
														|  | @@ -46,6 +49,10 @@ open class PQTextFilter: PQBaseFilter {
 | 
											
												
													
														|  |          DispatchQueue.main.async {[weak self] in
 |  |          DispatchQueue.main.async {[weak self] in
 | 
											
												
													
														|  |   
 |  |   
 | 
											
												
													
														|  |              autoreleasepool {
 |  |              autoreleasepool {
 | 
											
												
													
														|  | 
 |  | +                if(self == nil){
 | 
											
												
													
														|  | 
 |  | +                    BFLog(message: "self is null error!!!!!")
 | 
											
												
													
														|  | 
 |  | +                    return
 | 
											
												
													
														|  | 
 |  | +                }
 | 
											
												
													
														|  |                  let subtitleLab =
 |  |                  let subtitleLab =
 | 
											
												
													
														|  |                  UILabel.init(frame: CGRect(x: 0, y: 0, width: self?.stickerInfo?.materialPosition?.width ?? 0, height: self?.stickerInfo?.materialPosition?.height ?? 0))
 |  |                  UILabel.init(frame: CGRect(x: 0, y: 0, width: self?.stickerInfo?.materialPosition?.width ?? 0, height: self?.stickerInfo?.materialPosition?.height ?? 0))
 | 
											
												
													
														|  |               
 |  |               
 |