Commit Graph

24501 Commits

Author SHA1 Message Date
Martin Poirier
78d3793d31 netrender
Save and Restore master from disk.

When the "clear on exit" option is off, write a data file (blender_master.data) in the master's path on exit and reads it back on load.

Note: Jobs and Slaves lists are restored, but not balancer settings (problem with the pickle module).
2010-06-20 20:33:59 +00:00
Thomas Dinges
be8a2de393 * Small fix for Color management RNA. 3D View didn't update on enabling/disabling Color Management. ND_SHADING > ND_SHADING_DRAW
Note: "ND_RENDER_OPTIONS" should trigger the update in the 3D View (as the 3D View listener listens to that) but that doesn't work for some reason.
2010-06-20 19:02:26 +00:00
Martin Poirier
62ffe63045 etch-a-ton bugfix
Add Convert operator and button (missing in 2.5)
Fix stroke selection (uneeded separate operator and missing redraw)
Map sketch operators to LEFTMOUSE and RIGHTMOUSE instead of SELECTMOUSE AND ACTIONMOUSE (more in line with other sketching operators, might work better with swapped mouse buttons)
2010-06-19 20:25:00 +00:00
Martin Poirier
801beadc52 Unhide constraint axis and orientation operator properties.
They are not just internal param, tweaking them later is not unconceivable.
2010-06-19 20:18:43 +00:00
Campbell Barton
f50714a64b minor edit to speed up api property name editing. 2010-06-19 12:11:40 +00:00
Campbell Barton
0ecae611f9 rna info module now prints out property names into the console when run directly 2010-06-19 12:06:34 +00:00
Joerg Mueller
229b7639e7 Merged revision 29562 from /branches/soc-2010-nexyon. 2010-06-19 10:50:23 +00:00
Diego Borghetti
615af47559 Fix #22621 Alt-A toggles panel expand collapse
Patch by John Carpenter

The expand/collapse command don't filter the Alt
modifier and make problem with the animation
shortuct (atl+a).
2010-06-18 20:19:24 +00:00
Diego Borghetti
000d23e05c Fix #22625
My fix for #22317 make that every time you delete an object,
blender go to perspective view, fixed now.
2010-06-18 15:23:39 +00:00
Campbell Barton
fe3d388af2 Changes to scene updating with set scenes.
The most useful effect of this is that set scenes can take the simplify settings from the current scene (render team doesnt have to worry about animators simplify settings).

details...
- updating on frame change now passes the parent scene to object update function. (this was alredy happening for updating tagged objects)
- set scenes objects update first so scenes can depend on set objects however this only happened at once level, now set scenes are updated recursively, so deepest level is updated first.
- collision objects used to only look through the current scene, now set objects are included.
2010-06-18 14:14:13 +00:00
Janne Karhu
61b0a5bdb5 Fix for [#22410] Texture force field doesn't depend on empty location (patch by Matt Ebb) 2010-06-18 11:36:51 +00:00
Janne Karhu
e4c9381f14 Fix for [#22479] Hair is left our when moving emitter unless Hair Dynamics is set on 2010-06-18 11:34:45 +00:00
Mitchell Stokes
c6b7b8a485 Fixing some warnings for glew in space_view3d when building with CMake. GLEW_STATIC needed to be defined; it was already defined for SCons. 2010-06-18 08:22:05 +00:00
Matt Ebb
0aef0d2538 Raise the default report popup severity to errors only (not warnings).
All reports still get displayed in header.
2010-06-18 05:18:46 +00:00
Matt Ebb
bfd0810beb Notifier cleanup - replaced ND_*_EDIT and ND_*_SELECT data notifiers
with the generic action equivalents (NA_EDITED and new NA_SELECTED)
2010-06-18 04:39:32 +00:00
Daniel Salazar
557f0525ea Added sintax coloring for None 2010-06-17 20:56:36 +00:00
Campbell Barton
8c031f22b9 fix for fcurve doubles not being removed when moving more then one selected points in the graph editor.
The bug could be redone with 3 points, 2 selected dragged onto the unselected.

looping backwards fixes this.
2010-06-17 19:33:27 +00:00
Campbell Barton
e41e138301 rather then naming new actions "Action", use the id name with an action prefix.
avoids having 100's of Action.XXX in a file.
2010-06-17 15:28:40 +00:00
Campbell Barton
1cb7dc55b4 sequencer numpad keys for zoom levels 2010-06-17 14:22:54 +00:00
Campbell Barton
a7386bf986 fix for crash with opengl sequencer strips that dont have a camera 2010-06-17 14:22:13 +00:00
Dalai Felinto
038e674cdd Logics ops: add s/c/a can now be called with an object parameter (e.g. bpy.ops.logic.controller_add_exec(name="name", object="non_active_object")
If no parameter is passed it uses the active object.

To do: make logic_window set "active object" in context before calling add s/c/a operator
So far I tried this before uiItemMenuEnumO(row, "LOGIC_OT_controller_add", "type", "Add Controller", 0); :

+RNA_pointer_create((ID *)ob, &RNA_Object, ob, &ob_ptr);
+uiLayoutSetContextPointer(row, "object", &ob_ptr);

Not working though :) (not committed either). to be investigated.
2010-06-17 08:42:15 +00:00
Dalai Felinto
3d562ddaa9 logic ops: accepting no object as argument into "remove s/c/a" operators (uses the active object in those cases) 2010-06-17 07:33:57 +00:00
Matt Ebb
3173232bfa Fix [#22610] Alpha problem with textureswhen Brightness > 1 or Contrast < 1
* Enabled premultiplication for packed images
* Added pack/unpack operator to image template
* Moved brightness/contrast corrections to after de-premultiplication in image texture sampling
2010-06-17 07:20:12 +00:00
Dalai Felinto
a8f6a198a6 Logic ops: uncommenting + fix remove ops to use full RNA code :)
The problem here was that it as passing Object *ob, while it should be Object **ob. Otherwise you can't change where the pointer is pointing to.
2010-06-17 06:34:11 +00:00
Dalai Felinto
57826238bf fixing warning from previous commit (rna_controller) 2010-06-17 04:31:02 +00:00
Guillermo S. Romero
3398d901a1 Revert changes back to original state, before 29506. 2010-06-17 03:29:16 +00:00
Joshua Leung
ed59822857 == SoC Bullet - Bullet Upgrade to 2.76 ==
Updated Blender's Bullet to 2.76 in this branch only.

This update was done by:
1) deleting the contents of the existing extern/bullet2/src directory (leaving the .svn folder in place),
2) copy/pasting the contents of the bullet/src directory (from unzipped Bullet archive) into this newly cleared folder. 

Hopefully there aren't any patches that are still needed from the Bullet we had in source.

---

Note: I didn't use Moguri's patch, since that was giving me compile errors with headers not being able to be found.

[[Split portion of a mixed commit.]]
2010-06-17 02:42:43 +00:00
Luca Bonavita
22bca493b2 == addons ==
- release/scripts/ui/space_userpref.py
  added the change to add a 'warning' field to bl_addon_info
  warning icons are used to show 'broken' scripts or warnings 
  asked permission to campbell and matt in blendercoders to apply this

- source/blender/python/doc/sphinx_doc_gen.py:
  small fix in the url
2010-06-17 02:38:49 +00:00
Mitchell Stokes
08a94f9bbd BGE: When dynamically loading scenes (bge.logic.LibLoad()) in GLSL mode, the lights in the loaded scene would not affect the current scene and vice versa. To fix this, I've updated to merge code to update the scenes that the shaders are using to the scene being merged into. 2010-06-16 19:07:20 +00:00
Diego Borghetti
dd3513e362 Fix Bug #22324
Blender crashes when wiring an image input to an image output in the
compositor (not the same image)

The string to keep the full path was usign FILE_MAXDIR, when
has to be both, FILE_MAXDIR + FILE_MAXFILE (240, like FILE_MAX).
2010-06-16 16:42:40 +00:00
Campbell Barton
e748969fd9 request from William, twice as close camera zoom limit 2010-06-16 12:55:49 +00:00
Mitchell Stokes
aeb9c44461 A bad assignment was causing the VideoTexture to set off a breakpoint when being initialized in debug mode. (Benoit gave the go ahead for this fix) 2010-06-16 08:36:18 +00:00
Dalai Felinto
6a70a6bee2 Logic UI: partial implementation of state per controller
Adding two rna properties: state and state_number

For scripting "state_number" (integer) makes more sense while "state" (boolean/array) may be needed for the UI.
So far the UI is only showing the state number (using Label). Still have to decide how is the better way to "change the state".

If we don't need "state" (as boolean) for the UI, we can have only the integer one and rename it to "state".

+ some cosmetic changes (renamed ob "states" to "visible states")

ps.: 2 goals == 2 commits... let's see if I can keep that ratio until the middle of July ...
2010-06-16 08:29:40 +00:00
Dalai Felinto
bc8e0c0f93 Partial fix for [#22574] Logic Panel missing buttons (when selecting multiple objects)
This commit allows you to see the Logic Bricks for multiple objects at once. It still will only add s/c/a for the active object.

@Matt,
currently "LOGIC_OT_controller_add" uses the active object. That's good for the operator to work in scripts, however for the UI we need something different.
Ideally I would like to pass the object as an (optional) parameter to the operator. Not sure if it's possible.

The solution in 2.49 looks too "2.50 incompatible". In there ob->scaflag is set to be retrieve later by "do_logic_buts". Smart but too hacky imho.
2010-06-16 06:20:56 +00:00
Jens Ole Wund
449569812d soft body
text label correction
2010-06-16 00:42:18 +00:00
Matt Ebb
6058dd6c68 Compositor 'free unused' option wasn't working at all, it was referring to the same property
as renderer 'free texture images' flag. Ouch.
2010-06-15 21:51:15 +00:00
Campbell Barton
a648a4699f scale option was only working for panoramic cameras 2010-06-15 21:46:02 +00:00
Andre Susano Pinto
bb7062abcb bugfix [#22581]
- on instances last hit optimization was jumping to the last hit face
 inside an instance without doing space transformation.

Fixed by making last hit optimization jump to the root node of the instance
instead of the last hit face.
2010-06-15 20:00:01 +00:00
Campbell Barton
3e3d2b7a4c ifdef disable X11 mouse grab, it locks up the system for artists too often (whenever blender locks up). 2010-06-15 17:40:31 +00:00
Campbell Barton
42ab9ed59a New Scene now has the popup from 2.4x which gives the option to copy.
Added some test code for rna_info to create a big list of property+type+descriptions, useful for api name review.
2010-06-15 17:14:21 +00:00
Mitchell Stokes
982cd944a4 Got the okay from Nathan to commit this: It's a small patch for Win32 Ghost that prevents a Blender window from setting the cursor position when it's not the active window. 2010-06-15 17:12:21 +00:00
Campbell Barton
927aac74ab - module for reading blend start/end frames and scene name (useful for finding the total frame count without loading a blend file)
- added render api as unstable to the docs.
2010-06-15 12:06:30 +00:00
Sergey Sharybin
9a5e5033a2 Fix for crash on bpy.ops.curve.vertex_add/bpy.ops.curve.extrude
Removed view3d_operator_needs_opengl from addvert_Nurb, which is unneeded here
2010-06-15 09:55:54 +00:00
Jens Ole Wund
7b0bda22e1 soft body
disable edge collision for bezier handles
because of massive pointlessness
2010-06-15 09:47:37 +00:00
Luca Bonavita
8d3a5a8b0a == python api docs ==
* source/blender/python/doc/sphinx_doc_gen.py:

  changed the "undocumented" message so that it still links to
  http://wiki.blender.org/index.php/Dev:2.5/Py/API/Documentation/Contribute
  but uses flags in the url to help documenting.

  Example: http://www.blender.org/documentation/250PythonDoc/bpy.ops.node.html#bpy.ops.node.link
  click on "contribute", the new section has title "bpy.ops.node.link" and a howto message is shown
  
* source/blender/python/intern/bpy.c:

  fixed a typo
2010-06-15 02:06:01 +00:00
Matt Ebb
ab41296461 'Fix' [#22591] Sun Lamp Sky / Atmosphere settings not rendering properly
Turbidity values below 2.0 give weird results, made 2.0 the default soft minimum.
2010-06-15 01:28:17 +00:00
Jens Ole Wund
148cca898b sofbody beziers may work nicer 2010-06-14 23:56:12 +00:00
Campbell Barton
8faa11a9e6 separate loose parts was hanging on hidden verts 2010-06-14 16:58:31 +00:00
Campbell Barton
69cb2cc37b adding curve and mesh objects through python would create the object without assigning it to any layers.
now initialize from the scene (when the value is unset), and throw an error when the value is set to all false.
2010-06-14 15:39:50 +00:00
Campbell Barton
08c4725a13 workaround for crash when notifiers cause a scene update at the same time rendering starts.
happens when changing frame and pressing render quickly on a slow scene.

for now ignore animation updates while rendering.
2010-06-14 15:02:16 +00:00