A PHP Error was encountered

Severity: 8192

Message: Function create_function() is deprecated

Filename: geshi/geshi.php

Line Number: 4698

Backtrace:

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4698
Function: _error_handler

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4621
Function: _optimize_regexp_list_tokens_to_string

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 1655
Function: optimize_regexp_list

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2029
Function: optimize_keyword_group

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2168
Function: build_parse_cache

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/Process.php
Line: 45
Function: parse_code

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/models/Pastes.php
Line: 517
Function: syntax

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/controllers/Main.php
Line: 693
Function: getPaste

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/index.php
Line: 315
Function: require_once

Untitled - Stikked
From Soft Matamata, 6 Years ago, written in Python.
Embed
  1. import sys
  2. sys.path.append('G:/Rigging/Paxton/node_world')
  3.  
  4. import os
  5. import node_world.tests.test_create_node as tcn
  6. reload(tcn)
  7. controller = tcn.test(count=0)
  8.  
  9. transform_1 = controller.create_node('transform', name='transform_1')
  10. transform_2 = controller.create_node('transform', name='transform_2')
  11. transform_3 = controller.create_node('transform', name='transform_3')
  12.  
  13. transform_2.set_parent(transform_1)
  14.  
  15. transform_3.set_parent(transform_2)
  16.  
  17. transform_3.parent
  18.  
  19. transform_1.matrix = (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
  20. transform_2.matrix = (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
  21. transform_3.matrix = (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
  22. transform_1.size = 1.9
  23. transform_1.index = 99
  24. plug_1 = transform_1.add_plug('plug_1')
  25.  
  26. plug_2 = transform_1.add_plug('plug_2')
  27. plug_3 = transform_1.add_plug('plug_3')
  28. plug_4 = transform_1.add_plug('plug_4')
  29. plug_1.connect_to(plug_2)
  30. plug_2.connect_to(plug_3)
  31. plug_3.connect_to(plug_4)
  32.  
  33. controller.serialize('%s_test.json')
  34.  

Replies to Untitled rss

Title Name Language When
Re: Untitled Bitty Porcupine python 6 Years ago.