blender.git
8 years agoNeed some fun once a while:
Ton Roosendaal [Fri, 22 Jul 2011 15:28:50 +0000 (15:28 +0000)]
Need some fun once a while:

On dragging a non-connected node on a noodle, it will insert it.
Functionality tweaks are possible, but it already feels non-intrusive.

Rules:
- Insertion only when a single noodle is intersecting with node.
- Default connects first matching socket type.
- If no socket match, it connects the first.

8 years agoremove duplicate function for printing the current file:line of a python script in...
Campbell Barton [Fri, 22 Jul 2011 11:21:01 +0000 (11:21 +0000)]
remove duplicate function for printing the current file:line of a python script in the BGE.

8 years agofix [#27910] baking ambient occlusion, do not consider closer object for blender...
Campbell Barton [Fri, 22 Jul 2011 05:33:06 +0000 (05:33 +0000)]
fix [#27910] baking ambient occlusion, do not consider closer object for blender 2.58a

8 years agopatch [#28045] Straighten tool from Simple Todos
Campbell Barton [Fri, 22 Jul 2011 01:21:20 +0000 (01:21 +0000)]
patch [#28045] Straighten tool from Simple Todos
from Kyle Mills (khonkhortisan)

8 years agomissed this file when adding option to disable frameserver
Campbell Barton [Fri, 22 Jul 2011 00:34:03 +0000 (00:34 +0000)]
missed this file when adding option to disable frameserver

8 years agofix [#28053] New material tooltip
Campbell Barton [Fri, 22 Jul 2011 00:31:24 +0000 (00:31 +0000)]
fix [#28053] New material tooltip

8 years agofix [#28052] PET: Shift-O cycling skips "random falloff"
Campbell Barton [Thu, 21 Jul 2011 23:36:17 +0000 (23:36 +0000)]
fix [#28052] PET: Shift-O cycling skips "random falloff"

8 years agocmake - option to disable the frame server
Campbell Barton [Thu, 21 Jul 2011 23:06:51 +0000 (23:06 +0000)]
cmake - option to disable the frame server

8 years agoAdding Shear transform to UV menu and Ctrl Alt Shift S hotkey (same as in 3D View)
Daniel Salazar [Thu, 21 Jul 2011 21:34:08 +0000 (21:34 +0000)]
Adding Shear transform to UV menu and Ctrl Alt Shift S hotkey (same as in 3D View)

8 years agoBugfix #28034
Ton Roosendaal [Thu, 21 Jul 2011 17:40:20 +0000 (17:40 +0000)]
Bugfix #28034

Blender render optimizes alpha=0 materials away, unless it has
a number of properties... but there wasn't a check for material
being ray-mirror, it then should be rendered always.

8 years agoCorrected View Selected operator for image editor so now it works
Sergey Sharybin [Thu, 21 Jul 2011 09:50:39 +0000 (09:50 +0000)]
Corrected View Selected operator for image editor so now it works
fine for images with different X and Y aspect ratio.

8 years agoFixed bug with multires baking to float buffers.
Sergey Sharybin [Thu, 21 Jul 2011 08:10:34 +0000 (08:10 +0000)]
Fixed bug with multires baking to float buffers.
Was missed a flag to set rect marked as changed.

8 years agorevert recent matrix multiplication patch:
Campbell Barton [Thu, 21 Jul 2011 02:00:29 +0000 (02:00 +0000)]
revert recent matrix multiplication patch:
 [#28032] Python Mathutils: Matrix Multiplication Error

Since they ended up reversing the order we better keep old code unless its proven to be incorrect.
also change Matrix.__repr__ function args to evaluate correctly (need to be inside a tuple).

8 years agoadd tip that duplicator system doesnt support xray / transp object draw options since...
Campbell Barton [Thu, 21 Jul 2011 01:37:15 +0000 (01:37 +0000)]
add tip that duplicator system doesnt support xray / transp object draw options since we keep getting reports about this.

8 years agofix [#28037] Missing orange selection lines (trivial)
Campbell Barton [Thu, 21 Jul 2011 01:30:26 +0000 (01:30 +0000)]
fix [#28037] Missing orange selection lines (trivial)

From what I can tell there is no good fix for this bug, calculating the 2d/3d viewborder and then attempting to align them to be pixel perfect fails because of float imprecision.

Added a workaround, so the camera border is always drawn in 2d space,
since this workaround may cause problems later on its kept under the define VIEW3D_CAMERA_BORDER_HACK so we can get old behavior back easily.

8 years agofix/workaround [#28040] float images reduced to 256 levels per channel upon save
Campbell Barton [Thu, 21 Jul 2011 00:41:00 +0000 (00:41 +0000)]
fix/workaround [#28040] float images reduced to 256 levels per channel upon save

Generated images would not be re-generated with a float buffer on load, even when selected on creation.
Now save the float buffer setting as a generated image flag.

This means you can enable before baking to enable baking to a float buffer.

8 years agofix [#27922] using preset_paths() with an absolute path returns twice the same thing
Campbell Barton [Wed, 20 Jul 2011 15:33:27 +0000 (15:33 +0000)]
fix [#27922] using preset_paths() with an absolute path returns twice the same thing
raise an error when an invalid subdir is passed to preset_paths()

8 years agoadded bpy.path.basename because "//" prefix breaks os.path.basename.
Campbell Barton [Wed, 20 Jul 2011 08:10:01 +0000 (08:10 +0000)]
added bpy.path.basename because "//" prefix breaks os.path.basename.

8 years agopatch [#28032] swapped matrix multiplication order, reverse it back, tested with...
Campbell Barton [Wed, 20 Jul 2011 06:41:51 +0000 (06:41 +0000)]
patch [#28032] swapped matrix multiplication order, reverse it back, tested with FBX, BVH import/export which are very sensitive to changes in matrix rotation.

8 years agopatch [#28030] SCONS Build: Build Date reflects "1" instead of actual date of build
Campbell Barton [Wed, 20 Jul 2011 06:22:16 +0000 (06:22 +0000)]
patch [#28030] SCONS Build: Build Date reflects "1" instead of actual date of build
by Scott Giese (sgiese)

This bug effected windows and linux.

8 years agopatch [#28031] Minor typo in Blenlib
Campbell Barton [Wed, 20 Jul 2011 06:05:47 +0000 (06:05 +0000)]
patch [#28031] Minor typo in Blenlib
from Scott Giese (sgiese)

8 years agopatch [#28032] Python Mathutils: Matrix Multiplication Error
Campbell Barton [Wed, 20 Jul 2011 05:57:38 +0000 (05:57 +0000)]
patch [#28032] Python Mathutils: Matrix Multiplication Error
from Scott Giese (sgiese)

8 years agoSpeedup, do only one global matrix grab per obj
Daniel Salazar [Tue, 19 Jul 2011 15:30:19 +0000 (15:30 +0000)]
Speedup, do only one global matrix grab per obj

8 years agoupdate to patch from Andrew Hale - obj.closest_point_ob_mesh() now takes an optional...
Campbell Barton [Tue, 19 Jul 2011 15:21:21 +0000 (15:21 +0000)]
update to patch from Andrew Hale - obj.closest_point_ob_mesh() now takes an optional max_dist argument.

8 years agoObject Align operator: coudn't resist and added a high quality (slower) option to...
Daniel Salazar [Tue, 19 Jul 2011 15:07:29 +0000 (15:07 +0000)]
Object Align operator: coudn't resist and added a high quality (slower) option to get perfect alighment on complex shapes with rotation/scaling :D

sexy example:
http://www.pasteall.org/pic/show.php?id=15171

8 years agoObject Align operator now correctly computes a *global* bounding box for all objects...
Daniel Salazar [Tue, 19 Jul 2011 13:27:05 +0000 (13:27 +0000)]
Object Align operator now correctly computes a *global* bounding box for all objects. This makes rotated or scaled objects work like they should. Now it's still derived from object's bounding box so it will not be completly acurate on complex objects.. to solve this Id need to cycle over all verts. Don't think that's a good idea to do in py

8 years agofix for [#28012] Mat ID messy with shader nodes
Jeroen Bakker [Tue, 19 Jul 2011 08:31:53 +0000 (08:31 +0000)]
fix for [#28012] Mat ID messy with shader nodes

Issue was that the Shader tree execution changed the ShaderInput.
Changes are that the UI is updated that only the main material will have the pass_index this is displayed in the "render pipeline options" panel.
When the material is not a node material the pass_index will be shown at the "options" panel

To test enable nodes on the material
Add a new input material
change the pass_index of the material (render pipeline options)
Enable RenderPass material ID and use the compositor to read out the material pass

Jeroen

8 years agofix for bpy.path.abspath(), if a path was passed it would get the last directory...
Campbell Barton [Tue, 19 Jul 2011 05:05:54 +0000 (05:05 +0000)]
fix for bpy.path.abspath(), if a path was passed it would get the last directory cut off, broke copying images on export.

8 years agocleanup of scene->gamedata DNA
Dalai Felinto [Tue, 19 Jul 2011 02:47:43 +0000 (02:47 +0000)]
cleanup of scene->gamedata DNA

xsch and ysch were originally planed to replace the scene->r.xsch/r.ysch
however in blender/3dview we still need to use the r. values. Therefore we can't really run
from using those values even in bplayer. So removed the values in gamedata.

The way it's now, render values (xsch and ysch) are responsible for aspect ratio and gamedata xplay and yplay are responsible for the size of the window.

8 years agobugfix: [#27348] blenderplayer showing a different viewport size in 2.57b
Dalai Felinto [Tue, 19 Jul 2011 01:41:45 +0000 (01:41 +0000)]
bugfix: [#27348] blenderplayer showing a different viewport size in 2.57b
I believe this bug was there since we (me) moved the game settings to scene->gm
Since I was here I added support for x/y non square aspect pixels (i.e. anamorphic)
we were already using it for videotexture so I don't know why we were not here.

Tested in OSX, but it should be working in all OSs.

8 years agofix [#28018] Sequence Swap Data Operator does not work
Campbell Barton [Tue, 19 Jul 2011 01:36:59 +0000 (01:36 +0000)]
fix [#28018] Sequence Swap Data Operator does not work

8 years agopatch: [#27783] "Problem with clock" at 18:39:00 by Daniel Dionne (mrzeon)
Dalai Felinto [Mon, 18 Jul 2011 22:28:42 +0000 (22:28 +0000)]
patch: [#27783] "Problem with clock" at 18:39:00  by Daniel Dionne (mrzeon)
the overflow of the clock was causing crash in the game engine in Linux.
(on June 11 2011, 18:39:00 GMT)

running to the "where is waldo (wally)" bug award of 2011.

8 years agoMissing struct keyword in function declaration causes compiler error with cmake/gcc.
Lukas Toenne [Mon, 18 Jul 2011 18:14:22 +0000 (18:14 +0000)]
Missing struct keyword in function declaration causes compiler error with cmake/gcc.

8 years agoBugfix #27927
Ton Roosendaal [Mon, 18 Jul 2011 14:41:59 +0000 (14:41 +0000)]
Bugfix #27927

This fixes assigning 'tweak' keymap option for border selecting in
Node editor. Thanks Perry Parks for the patch!

8 years agoscript to report deprecated functions of text and their age in days.
Campbell Barton [Mon, 18 Jul 2011 09:49:26 +0000 (09:49 +0000)]
script to report deprecated functions of text and their age in days.

8 years agofix [#28003] Unable to delete vgroup
Campbell Barton [Mon, 18 Jul 2011 07:38:44 +0000 (07:38 +0000)]
fix [#28003] Unable to delete vgroup
still need to find how an invalid defgroup index is set, but at least dont show the vertex group as selected when its not.

8 years agofix [#27996] Smart UV Unwrap Still Results in Overlaps
Campbell Barton [Mon, 18 Jul 2011 06:44:41 +0000 (06:44 +0000)]
fix [#27996] Smart UV Unwrap Still Results in Overlaps
real fix this time :S, I thought using old code from 2.4x would fix but quaternion needed to be inverted.

8 years agofix [#28005] Python Add-Ons are constantly reloaded if twice in the path
Campbell Barton [Mon, 18 Jul 2011 05:41:46 +0000 (05:41 +0000)]
fix [#28005] Python Add-Ons are constantly reloaded if twice in the path
Addons are checked for their timestamps and reloaded when it changes but this failed when, 2 addons had the same name since different times caused 2 reloads on every redraw.

Now when duplicate addons are in the path now give a error message in the UI and print path conflict in the console and don't thrash reloading.

8 years agofix [#27971] Blender OBJ export with Z-Up setting produces an error and fails
Campbell Barton [Mon, 18 Jul 2011 05:07:54 +0000 (05:07 +0000)]
fix [#27971] Blender OBJ export with Z-Up setting produces an error and fails
changes to extensions coming up...

8 years agoBug fix: particle cache should only be cleared on the exact first integer frame,...
Janne Karhu [Mon, 18 Jul 2011 02:40:54 +0000 (02:40 +0000)]
Bug fix: particle cache should only be cleared on the exact first integer frame, not in the case of a subframe between the first and second frame.

8 years agoModified behavior when replacing input links: The new target socket for the existing...
Lukas Toenne [Sun, 17 Jul 2011 19:43:14 +0000 (19:43 +0000)]
Modified behavior when replacing input links: The new target socket for the existing link is now chosen from available sockets that match the _target_ type, instead of the source type. This leads to more usable replacements, e.g. for toggling inputs on mix nodes. Still not a great solution to the mute/autoconnect problem, but a bit more intuitive for replacements.

8 years agoChanged the default keys for duplicate-nodes-while-keeping-input-links to ctrl+shift...
Lukas Toenne [Sun, 17 Jul 2011 18:17:35 +0000 (18:17 +0000)]
Changed the default keys for duplicate-nodes-while-keeping-input-links to ctrl+shift+dkey, to avoid conflicts with alt+dkey for linked duplicates.

8 years agoLittle modification of the duplicate operator on artist request: The default behavior...
Lukas Toenne [Sun, 17 Jul 2011 18:04:28 +0000 (18:04 +0000)]
Little modification of the duplicate operator on artist request: The default behavior (shift+dkey) is now to copy nodes and internal links, but not the input links from unselected nodes. This feature is available with the alternate duplicate operator (alt+dkey).

8 years agoRemoved the autoconnect call when adding new nodes, this hardly ever gives usable...
Lukas Toenne [Sun, 17 Jul 2011 16:14:52 +0000 (16:14 +0000)]
Removed the autoconnect call when adding new nodes, this hardly ever gives usable results and leads to annoyed artists.

8 years agotemplate for patch exporting objects in a scene.
Campbell Barton [Sun, 17 Jul 2011 13:29:50 +0000 (13:29 +0000)]
template for patch exporting objects in a scene.

8 years agoupdate to cmake checker script to also check if our include paths are ok
Campbell Barton [Sun, 17 Jul 2011 12:42:03 +0000 (12:42 +0000)]
update to cmake checker script to also check if our include paths are ok

8 years agopatch [#28001] Find the nearest point on an object to the given location
Campbell Barton [Sun, 17 Jul 2011 12:40:18 +0000 (12:40 +0000)]
patch [#28001] Find the nearest point on an object to the given location
from Andrew Hale (trumanblending)

8 years ago'bgl' python module.
Campbell Barton [Sun, 17 Jul 2011 12:30:23 +0000 (12:30 +0000)]
'bgl' python module.

- add back slicing for buffers, (was previously in 2.4x but not working in py3):
  buf = bgl.Buffer(...)
  ls = buf[:]

- fix for crash with negative index access not being clamped.

- improve repr() function for multi dimensional buffers.

- add back 'list' attribute, but print deprecation warning.

8 years agoFixed compile error on Fedora 15, when FFMPEG was enabled.
Jiri Hnidek [Sun, 17 Jul 2011 10:28:31 +0000 (10:28 +0000)]
Fixed compile error on Fedora 15, when FFMPEG was enabled.

8 years agocmake: cleanup include paths, some duplicates and going up some unneeded dirs.
Campbell Barton [Sun, 17 Jul 2011 09:11:13 +0000 (09:11 +0000)]
cmake: cleanup include paths, some duplicates and going up some unneeded dirs.

8 years agoAdded notifier listener for node editor.
Sergey Sharybin [Sun, 17 Jul 2011 08:38:04 +0000 (08:38 +0000)]
Added notifier listener for node editor.

Now it behaves right on playback:

- Starting playback "Anim Player" button appears on header.
  It used to appear only on mouse hover before.
- Stopping playback triggers refresh on compositor, so
  actual result would be visible if image sequence/movie
  is used in nodes.

8 years agocmake source definitions:
Campbell Barton [Sat, 16 Jul 2011 23:01:14 +0000 (23:01 +0000)]
cmake source definitions:
  remove missing includes and use more strict formatting.

8 years agoFixed crash of multires baker when baking from sculpt mode.
Sergey Sharybin [Sat, 16 Jul 2011 17:55:46 +0000 (17:55 +0000)]
Fixed crash of multires baker when baking from sculpt mode.

Incorrect low level was used for this case -- it should be
sculpt level, not preview level.

Thanks to Morten Mikkelsen to point on this bug :)

8 years agoprint an error message if Python.h can't be found for cmake and scons since its such...
Campbell Barton [Sat, 16 Jul 2011 06:55:45 +0000 (06:55 +0000)]
print an error message if Python.h can't be found for cmake and scons since its such a common problem.

8 years agofix for crash with edit armature buttons when no bones were selected (uninitialized...
Campbell Barton [Fri, 15 Jul 2011 23:55:20 +0000 (23:55 +0000)]
fix for crash with edit armature buttons when no bones were selected (uninitialized pointer)

8 years agoFix for [#26712] Particle group instance 'Use Count' value gets reset on file-load.
Janne Karhu [Fri, 15 Jul 2011 13:32:02 +0000 (13:32 +0000)]
Fix for [#26712] Particle group instance 'Use Count' value gets reset on file-load.
* New object pointers can't be loaded properly for library linked groups, so the weight groups now store an index to the group objects at save time. This index is used at load time to set the objects without relying on the old pointers.
* If the library linked group is modified the indices can be wrong, but this can't really be avoided easily as there's no way to relate objects in a linked group between loads.

8 years agofix for linking on mingw/scons with recent changes to mathutils
Campbell Barton [Fri, 15 Jul 2011 10:10:25 +0000 (10:10 +0000)]
fix for linking on mingw/scons with recent changes to mathutils

8 years agomove mathutils into its own lib.
Campbell Barton [Fri, 15 Jul 2011 04:01:47 +0000 (04:01 +0000)]
move mathutils into its own lib.

8 years agoFix for [#27307] Blender crashes when loading a new scene while baking fluid dynamics
Janne Karhu [Fri, 15 Jul 2011 00:39:49 +0000 (00:39 +0000)]
Fix for [#27307] Blender crashes when loading a new scene while baking fluid dynamics
* Fluid bakes didn't respect the job stop flag.
* Also made msvc happy with some casts.

8 years agomany mathutils exception types were wrong, went over all exceptions in mathutils...
Campbell Barton [Thu, 14 Jul 2011 09:54:03 +0000 (09:54 +0000)]
many mathutils exception types were wrong, went over all exceptions in mathutils and double checked the're correct.

8 years agoShuffle code so it compiles with MSVC too. (Array of unknown size otherwise).
Nathan Letwory [Thu, 14 Jul 2011 08:20:19 +0000 (08:20 +0000)]
Shuffle code so it compiles with MSVC too. (Array of unknown size otherwise).

8 years agoformatting changes for python mathutils module.
Campbell Barton [Thu, 14 Jul 2011 01:25:05 +0000 (01:25 +0000)]
formatting changes for python mathutils module.

8 years agorename bgl.Buffer attribute list to a method, to_list() as used for IDProps, also...
Campbell Barton [Wed, 13 Jul 2011 23:45:47 +0000 (23:45 +0000)]
rename bgl.Buffer attribute list to a method, to_list() as used for IDProps, also made repr function nicer.

8 years agominor changes to bgl.Buffer py class
Campbell Barton [Wed, 13 Jul 2011 23:24:21 +0000 (23:24 +0000)]
minor changes to bgl.Buffer py class
- use getset rather then getattr
- remove verbose Buffer docstring, better use sphinx docs for this
- replace bge.Buffer with the Buffer class and add a __new__ function to the class so it can be called.
- improve error messages

8 years agodont include the preview.blend in headless mode
Campbell Barton [Wed, 13 Jul 2011 19:27:42 +0000 (19:27 +0000)]
dont include the preview.blend in headless mode

8 years agouse linked duplicates in preview.blend to save some space.
Campbell Barton [Wed, 13 Jul 2011 19:20:50 +0000 (19:20 +0000)]
use linked duplicates in preview.blend to save some space.

8 years agoreuse USER_SAVE_PREVIEWS to not save thumbnails into blend file header
Campbell Barton [Wed, 13 Jul 2011 19:16:25 +0000 (19:16 +0000)]
reuse USER_SAVE_PREVIEWS to not save thumbnails into blend file header

8 years agocmake option to build without smoke sim: WITH_MOD_SMOKE
Campbell Barton [Wed, 13 Jul 2011 18:40:21 +0000 (18:40 +0000)]
cmake option to build without smoke sim: WITH_MOD_SMOKE

8 years agoFix python error in image sampling panel drawing when
Brecht Van Lommel [Wed, 13 Jul 2011 18:07:30 +0000 (18:07 +0000)]
Fix python error in image sampling panel drawing when
there is no texture slot available.

8 years agoFix #26704: activating a texture node inside material nodes did not show that
Brecht Van Lommel [Wed, 13 Jul 2011 17:52:23 +0000 (17:52 +0000)]
Fix #26704: activating a texture node inside material nodes did not show that
texture in the texture properties.

8 years agofix for animation playback and build error when compiling without WITH_AUDASPACE
Campbell Barton [Wed, 13 Jul 2011 17:24:33 +0000 (17:24 +0000)]
fix for animation playback and build error when compiling without WITH_AUDASPACE

8 years agoAdding Child Of constraint "inverse parent matrix" to rna, so it
Ton Roosendaal [Wed, 13 Jul 2011 17:20:20 +0000 (17:20 +0000)]
Adding Child Of constraint "inverse parent matrix" to rna, so it
can be set via Python.

8 years agoFix #27951: armature edit mode transform panel shows "nothing selected" even
Brecht Van Lommel [Wed, 13 Jul 2011 11:52:37 +0000 (11:52 +0000)]
Fix #27951: armature edit mode transform panel shows "nothing selected" even
when something is selected.

8 years agoAdvanced CMake option to build the player without blender: WITH_BLENDER
Campbell Barton [Wed, 13 Jul 2011 08:15:06 +0000 (08:15 +0000)]
Advanced CMake option to build the player without blender: WITH_BLENDER

8 years agopatch [#27950] Patch to add the ability to generate random points on mesh faces
Campbell Barton [Wed, 13 Jul 2011 07:50:21 +0000 (07:50 +0000)]
patch [#27950] Patch to add the ability to generate random points on mesh faces
from Andrew Hale (trumanblending)

8 years ago- don't build ghost's event printer unless ghost debug is enabled.
Campbell Barton [Wed, 13 Jul 2011 06:04:54 +0000 (06:04 +0000)]
- don't build ghost's event printer unless ghost debug is enabled.
- use char rather then STR_String for the event printer.
- added option to build WITH_GHOST_DEBUG for cmake
- renamed WITH_SDL_GHOST --> WITH_GHOST_SDL

8 years agomake X11's getModifierKeys more compact and don't run XKeysymToKeycode 8 times for...
Campbell Barton [Wed, 13 Jul 2011 05:22:21 +0000 (05:22 +0000)]
make X11's getModifierKeys more compact and don't run XKeysymToKeycode 8 times for call.

8 years agoSVN maintenance.
Guillermo S. Romero [Wed, 13 Jul 2011 00:49:22 +0000 (00:49 +0000)]
SVN maintenance.

8 years agochanges to ghost/sdl
Campbell Barton [Wed, 13 Jul 2011 00:31:08 +0000 (00:31 +0000)]
changes to ghost/sdl
- mouse coords made absolute
- window position set
- building with SDL 1.2 gives an error.

8 years agoBokeh blur in the blur node is wronlgy calculated.
Jeroen Bakker [Tue, 12 Jul 2011 19:21:38 +0000 (19:21 +0000)]
Bokeh blur in the blur node is wronlgy calculated.

when using the node on a single white pixel on black background, the output should look like as the bokeh image.
being a round image, but it looked like a donut.

the make_gausstab used dist/rad and bokeh used (dist/rad)*2 - 1
I changed it to reflect the correct bokeh circular image

8 years agoAdd delete with reconnect feature.
Jeroen Bakker [Tue, 12 Jul 2011 18:59:54 +0000 (18:59 +0000)]
Add delete with reconnect feature.

this will reconnect nodes as if the deleted node is muted.
Operation is added to the space_node node menu and to the keymap as CTRL-X

to test this just add some nodes to the space_node
select one or multiple nodes and press CTRL-X

It should reconnect the nodes as they were muted

limitations:
1. it performs a delete and reconnect per node. It does not evaluate all selected nodes as one whole
2. mute only supports Value, Vector and Color data types, so does this feature
3. not usable for nodes where input and output does not match (like colorToBW)

Where reconnect could not be preformed the links will be removed from the model.

Undo works with this delete with reconnect.

8 years agoFix for recent GHOST SDL commit.
Sergey Sharybin [Tue, 12 Jul 2011 18:39:46 +0000 (18:39 +0000)]
Fix for recent GHOST SDL commit.
SCons rules haven't been changed to deal with new option.

8 years agobuild option to use SDL 1.3 for GHOST rather then X11/Win32/Cocoa api's,
Campbell Barton [Tue, 12 Jul 2011 13:17:54 +0000 (13:17 +0000)]
build option to use SDL 1.3 for GHOST rather then X11/Win32/Cocoa api's,
This opens up the option for blender to be more easily ported to other devices, OS's.

TODO
- continuous grab.
- text glitch with multiple windows (was a bug in X11 too for a while, will check on this)

8 years agocorrection to cursor enum and make GHOST_SystemX11's convertXKey into a static function.
Campbell Barton [Tue, 12 Jul 2011 12:53:23 +0000 (12:53 +0000)]
correction to cursor enum and make GHOST_SystemX11's convertXKey into a static function.

8 years agoRNA: fix some text datablock property UI names.
Brecht Van Lommel [Tue, 12 Jul 2011 09:30:40 +0000 (09:30 +0000)]
RNA: fix some text datablock property UI names.

8 years agoFix #27928: avi raw writing failure, after earlier bugfix for big file sizes.
Brecht Van Lommel [Mon, 11 Jul 2011 09:47:13 +0000 (09:47 +0000)]
Fix #27928: avi raw writing failure, after earlier bugfix for big file sizes.

8 years agoFix #27930: many modifiers crashed when used on a lattice with a vertex group.
Brecht Van Lommel [Mon, 11 Jul 2011 09:15:20 +0000 (09:15 +0000)]
Fix #27930: many modifiers crashed when used on a lattice with a vertex group.

8 years agoFix #27912: crash after mesh.materials.pop().
Brecht Van Lommel [Mon, 11 Jul 2011 09:08:08 +0000 (09:08 +0000)]
Fix #27912: crash after mesh.materials.pop().

8 years agoFix #27921: optimal display with 2 subsurf modifiers fails.
Brecht Van Lommel [Mon, 11 Jul 2011 09:05:10 +0000 (09:05 +0000)]
Fix #27921: optimal display with 2 subsurf modifiers fails.

8 years agomake python3.3 compatible, __class__ is no longer in the class methods namespace.
Campbell Barton [Mon, 11 Jul 2011 05:50:49 +0000 (05:50 +0000)]
make python3.3 compatible, __class__ is no longer in the class methods namespace.

8 years agoFix for [#27398] Particle systems with animated groups render incorrectly in viewport
Janne Karhu [Sun, 10 Jul 2011 23:49:59 +0000 (23:49 +0000)]
Fix for [#27398] Particle systems with animated groups render incorrectly in viewport
* Hmph.. depsgraph and group duplication == illogical.

8 years agoFix for [#27293] Group Instance of particle system is rendered wrong
Janne Karhu [Sun, 10 Jul 2011 23:24:15 +0000 (23:24 +0000)]
Fix for [#27293] Group Instance of particle system is rendered wrong
* Silly mul_m4_v3 had turned into a mul_m4_v4 at some point!

8 years ago-OpenEXR fixed so enabling if user has enabled
Antony Riakiotakis [Sun, 10 Jul 2011 20:04:56 +0000 (20:04 +0000)]
-OpenEXR fixed so enabling if user has enabled
-Added Iex to lib list, was causing link time errors

8 years agorun WM_exit(C) when blender as a python module exits
Campbell Barton [Sun, 10 Jul 2011 18:54:02 +0000 (18:54 +0000)]
run WM_exit(C) when blender as a python module exits

8 years agoFix #27926: autokey not working with auto IK, broke this with an earlier bugfix.
Brecht Van Lommel [Sun, 10 Jul 2011 18:21:40 +0000 (18:21 +0000)]
Fix #27926: autokey not working with auto IK, broke this with an earlier bugfix.

8 years agoFix for [#27289] Hair: Render Option - Object does not point objects to end of "hair...
Janne Karhu [Sun, 10 Jul 2011 17:30:31 +0000 (17:30 +0000)]
Fix for [#27289] Hair: Render Option - Object does not point objects to end of "hair path"
* Objects are now always rotated in the directions of the hair paths
* Secondary fix: particle size wasn't updated for hair particles, so dupliobject size couldn't be change after the hair was edited

8 years agofix for various python bugs and remove unused var.
Campbell Barton [Sun, 10 Jul 2011 17:26:15 +0000 (17:26 +0000)]
fix for various python bugs and remove unused var.

8 years agoFix for [#26873] Animated displacement modifier on an object doesn't work with hair...
Janne Karhu [Sun, 10 Jul 2011 17:04:56 +0000 (17:04 +0000)]
Fix for [#26873] Animated displacement modifier on an object doesn't work with hair particle objects
* Noise is now considered an animated texture as it changes with every frame
* Converted a few places in particles code to use the particle system's own random table instead of BLI_frand.

8 years agocleanup for python scripts - unused vars and imports
Campbell Barton [Sun, 10 Jul 2011 12:51:37 +0000 (12:51 +0000)]
cleanup for python scripts - unused vars and imports

8 years agofix for NULL pointer usages
Campbell Barton [Sat, 9 Jul 2011 19:59:32 +0000 (19:59 +0000)]
fix for NULL pointer usages