Commit Graph

28 Commits

Author SHA1 Message Date
Campbell Barton
78bb45931c scene.render_data -> scene.render
bpy.types.SceneRenderData -> bpy.types.RenderSettings

better do these changes before there are too many scripts out.
2010-02-23 12:48:35 +00:00
Thomas Dinges
dbb6c54862 Netrender:
* Added File Path Button for the "path" property.
2010-02-15 02:53:36 +00:00
Campbell Barton
081c1205a3 correct fsf address 2010-02-12 13:34:04 +00:00
Campbell Barton
95069f2909 pep8 changes 2010-01-31 14:46:28 +00:00
Martin Poirier
670d55f097 netrender: refactor thumbnail generation code. New option to generate the thumbnail on the slaves (per slave option, default off). Missing thumbnails are still generated on demand by the master. 2010-01-09 18:21:27 +00:00
Martin Poirier
eb2e64afa5 netrender: bugfix to make thumbnails work correctly when running master through the UI (not in background) [context is borked in that case]. Also show number of threads settings in slave settings (reusing render setting) and force that setting when rendering jobs. 2010-01-08 17:52:21 +00:00
Martin Poirier
a8c3831a1d netrender:
Slave and Master options to delete files when closed (default True for slave, False for Master)
Web interface option to remove files (on master) when deleting a job (or all jobs)
Web interface button to pause a job
2010-01-06 18:56:24 +00:00
Martin Poirier
2ad69c23a0 netrender: UI layout reorganization and prettifying. Also better operator descriptions (tooltips). Based on a patch by DingTo. 2010-01-05 20:47:23 +00:00
Campbell Barton
c79cf56b69 dict.get() defaults to None as the second arg. no need to supply it. 2010-01-04 21:10:51 +00:00
Martin Poirier
2034a77a45 netrender: reset server address on client when server is offline (on file load) as well as clear local caches (for slaves and jobs) 2010-01-04 21:05:52 +00:00
Campbell Barton
58b1591ceb netrender tab to spaces 2009-12-29 00:04:57 +00:00
Martin Poirier
54d64c4763 netrender: show web interface button in all modes. use rna decorator all the time (no need for special operator decorator) 2009-12-28 22:49:22 +00:00
Martin Poirier
c050f5f1de netrender
- Add "Get Result" button after a job has been sent (this calls Animate and fetches the results back as render result buffers)
- Rendering (animate or single frame) without an active job was broken. Note that this launches a new job for each frame (it's impossible in a render engine to know if an animation is being rendered or a single frame only).
2009-12-21 02:46:19 +00:00
Martin Poirier
383f29ff37 netrender
Display job status in web interface
Better use of Reports api for errors and success notifications
Don't show some Client options if server address is default (hasn't been scanned or entered manually yet)
2009-12-16 21:00:25 +00:00
Martin Poirier
55898c04fd netrender:
Add button to start Slaves and Master when in that mode (it's only calling render animation)
2009-12-15 03:25:26 +00:00
Campbell Barton
3449d3f9b3 use python3 syntax for defining a set. 2009-12-13 16:20:18 +00:00
Martin Poirier
8f2db59253 Netrender: categories and balancing by categories based on usage. Enables grouping of jobs in a single priority group. Jobs in the same category are still ordered by cluster usage. 2009-12-10 18:56:21 +00:00
Campbell Barton
b5740b0e77 remove ICON prefix from the enum, for python this is redundant eg.
layout.prop("setting", icon='ICON_BLAH_BLAH')

Also reverted previous commit, the cursor subtype just needed to be added to the switch statement.
2009-12-10 10:23:53 +00:00
Campbell Barton
caab05ec8c rna UI api rename...
note: this aims to follow pep8 however I chose to use 'prop/props' rather then 'property/properties' because it would make function names too long.

itemR() --> prop()
items_enumR() --> props_enum()
item_menu_enumR() --> prop_menu_enum()
item_pointerR() --> prop_pointer()
itemO() --> operator()
item_enumO() --> operator_enum()
items_enumO() --> operator_enums()
item_menu_enumO() --> operator_menu_enum()
item_booleanO() --> operator_boolean()
item_intO() --> operator_int()
item_floatO() --> operator_float()
item_stringO() --> operator_string()
itemL() --> label()
itemM() --> menu()
itemS() --> separator()

batch script used http://www.pasteall.org/9345
2009-11-23 00:27:30 +00:00
Martin Poirier
a73be8097d Netrender cleanup and bug fix
Blacklist and linked files work again

Store temp data in module
2009-11-18 18:00:46 +00:00
Campbell Barton
a99157b20d rna structs would not raise an error when assigning invalid properties
netrender needed updating for this.
 hint, bpy.data is not a module
2009-11-01 21:53:45 +00:00
Martin Poirier
9ea292290b Correct GPL license header for all python scripts 2009-11-01 15:21:20 +00:00
Campbell Barton
ea265fc697 change blender python interface for classes not to ise __idname__ rather bl_idname since __somename__ is for pythons internal use.
replacements...
"__idname__" -> "bl_idname"
"__props__" -> "bl_props"
"__label__" -> "bl_label"
"__register__" -> "bl_register"
"__undo__" -> "bl_undo"
"__space_type__" -> "bl_space_type"
"__default_closed__" -> "bl_default_closed"
"__region_type__" -> "bl_region_type"
"__context__" -> "bl_context"
"__show_header__" -> "bl_show_header"
"__URL__" -> "_url"
2009-10-31 13:31:23 +00:00
Thomas Dinges
bd0fee9a4c Network Render:
* Some code cleanups to match layout file code guidelines.
* Ported Operator Labels to op file itself.
* Added some Tooltips, theeth: Feel free to change/improve them as you like. :)
2009-10-15 17:18:47 +00:00
Thomas Dinges
c27a94849c * Fixes for Render Tab separation.
* All Edges is now in the object mode "Display" Tab, as the option doesn't affect Edit Mode. 
Missing Redraw here...
2009-10-14 14:45:58 +00:00
Thomas Dinges
715f682f22 Fixed [#19624] Small typo in Network Render. 2009-10-12 12:39:05 +00:00
Martin Poirier
46402ccddc netrender: use TEMP env var if available to set default temporary path 2009-10-06 21:28:45 +00:00
Campbell Barton
2d797f35d8 - removed 2.4x release/scripts
- moved release/io and release/ui into release/scripts/io, ui
- updated scons, cmake, make

When porting 2.4x scripts back, use a command like this so as not to loose the commit history...
 
 svn cp https://svn.blender.org/svnroot/bf-blender/branches/blender2.4/release/scripts/raw_import.py release/scripts/io/import_raw.py
2009-09-28 03:19:52 +00:00