13 years agoAdded Copy and Paste functions to GHOST.
Ricki Myers [Tue, 4 Mar 2008 00:41:30 +0000 (00:41 +0000)]
Added Copy and Paste functions to GHOST.
- Moved WIN32 code to ghost and added code for other systems.
- Added functions getClipboard(flag), and putClipboard(buffer, flag)
    -Flag is used on X11 to request selection buffer or clipboard.
    -If any other system uses flag = 1 the function returns doing nothing.
- Changed ctrl +c/v and shift+ctrl + c/v to do the same thing (use the clipboard).
- Changed the menu items (copy, paste) to use the clipboard.

13 years agoPyAPI: create scene sequence data if its not there when getting scene.sequence
Campbell Barton [Mon, 3 Mar 2008 21:43:31 +0000 (21:43 +0000)]
PyAPI: create scene sequence data if its not there when getting scene.sequence

13 years ago[#8434] Normal manipultor does not align with normals (like in 2.45)
Martin Poirier [Mon, 3 Mar 2008 19:57:48 +0000 (19:57 +0000)]
[#8434] Normal manipultor does not align with normals (like in 2.45)

Bring back multivert normal average for the normal manipulator/orientation.

When selecting more than three vertice, the averaged normal of all selected is used to get orientation Z-axis.

NOTE: This is only applicable when NO faces are selected, otherwise it uses the averaged normal of the faces (excluding vertice that aren't part of a face). This is not new behavior

CHANGES FROM 2.45: Selecting 2 or 3 vertice doesn't use normal averaging but uses virtual edge and face orientations instead.

13 years agoCloth bugfix for linked deflector groups (reported by alchibal on #blendercoders...
Daniel Genrich [Mon, 3 Mar 2008 19:02:01 +0000 (19:02 +0000)]
Cloth bugfix for linked deflector groups (reported by alchibal on #blendercoders incl. source) - please verify

13 years agoBugfix: displacement with object texture mapping could crash.
Brecht Van Lommel [Mon, 3 Mar 2008 18:53:06 +0000 (18:53 +0000)]
Bugfix: displacement with object texture mapping could crash.

13 years agoFix for bug #8410: dupliframes didn't render.
Brecht Van Lommel [Mon, 3 Mar 2008 17:16:29 +0000 (17:16 +0000)]
Fix for bug #8410: dupliframes didn't render.

13 years agoFix for bug #8366, render color sampling bugs and inconsistencies:
Brecht Van Lommel [Mon, 3 Mar 2008 16:38:27 +0000 (16:38 +0000)]
Fix for bug #8366, render color sampling bugs and inconsistencies:
- renderwindow didn't show values of previous buffer correct.
- renderwindow only showed floats and no char values like image editor.
- renderwindow didn't show x,y values.
- image editor didn't show z values.

Patch to fix these problems provided by Rob Hausauer, thanks!

13 years agoBugfix: crash loading texture plugin, instance_init callback added some
Brecht Van Lommel [Mon, 3 Mar 2008 15:56:05 +0000 (15:56 +0000)]
Bugfix: crash loading texture plugin, instance_init callback added some
time ago wasn't initialized to NULL correctly, in case the plugin was
not available.

13 years agoWere path issues with getversion script on some platforms.
Kent Mein [Mon, 3 Mar 2008 15:51:55 +0000 (15:51 +0000)]
Were path issues with getversion script on some platforms.


13 years agoFix for bug #8412: clicking to active tabbed panels could still
Brecht Van Lommel [Mon, 3 Mar 2008 14:19:58 +0000 (14:19 +0000)]
Fix for bug #8412: clicking to active tabbed panels could still
go wrong with tabbed panels being hidden.

13 years agoMinor corrections to help message.
Stephen Swaney [Mon, 3 Mar 2008 13:34:31 +0000 (13:34 +0000)]
Minor corrections to help message.

13 years agoAction Editor - Group Selection (Harkyman Suggestion):
Joshua Leung [Mon, 3 Mar 2008 11:03:18 +0000 (11:03 +0000)]
Action Editor - Group Selection (Harkyman Suggestion):

Now, when selecting Action Channel Groups while holding the Ctrl-Shift keys, all of the group's channels are selected. Any other channels/groups are deselected. Likewise, the related bones will also get selected.

13 years agoBugfix:
Joshua Leung [Mon, 3 Mar 2008 10:43:46 +0000 (10:43 +0000)]

Constraint Channel keyframes are now transformed when they appear in Action Channel Group summaries.

13 years agoBugfix: uv pack islands didn't work on islands without a boundary.
Brecht Van Lommel [Mon, 3 Mar 2008 10:01:36 +0000 (10:01 +0000)]
Bugfix: uv pack islands didn't work on islands without a boundary.

13 years agoupdated the notes for blenders help message
Campbell Barton [Mon, 3 Mar 2008 08:55:45 +0000 (08:55 +0000)]
updated the notes for blenders help message

13 years ago* Bugfix #8426: certain hooks options segfaulted
Joshua Leung [Mon, 3 Mar 2008 03:21:25 +0000 (03:21 +0000)]
* Bugfix #8426: certain hooks options segfaulted
This was caused by my previous commit for add_hook.

* Also, removed a compiler warning in the Python code

13 years agoAdded a feature to the UV editor- Average UV islands, this averages selected UV islan...
Campbell Barton [Mon, 3 Mar 2008 01:44:35 +0000 (01:44 +0000)]
Added a feature to the UV editor- Average UV islands, this averages selected UV islands, in proportion to the faces area in 3d space.

Renamed 'Pack Charts' to 'Pack Islands' (according to google, uv islands is a more common term)

13 years agoCloth makefiles bugfix which lead in disabled collisions
Daniel Genrich [Mon, 3 Mar 2008 00:43:37 +0000 (00:43 +0000)]
Cloth makefiles bugfix which lead in disabled collisions

13 years agoCloth bugfix - stupid typo resulted in missing diagonal springs (reported by nudelZ...
Daniel Genrich [Sun, 2 Mar 2008 23:20:20 +0000 (23:20 +0000)]
Cloth bugfix - stupid typo resulted in missing diagonal springs (reported by nudelZ on #blendercoders)

13 years agoblenders window argument -w / -W didnt use the last argument as command line arg...
Campbell Barton [Sun, 2 Mar 2008 22:09:40 +0000 (22:09 +0000)]
blenders window argument -w / -W didnt use the last argument as command line arg should.

13 years agoCloth: Bugfix for IRIX compile (hopefully), bugfix for multiple springs (appeared...
Daniel Genrich [Sun, 2 Mar 2008 22:01:43 +0000 (22:01 +0000)]
Cloth: Bugfix for IRIX compile (hopefully), bugfix for multiple springs (appeared on triangles), _test_ for inlining on msvc

13 years agoNSIS Installer:
Simon Clitherow [Sun, 2 Mar 2008 20:12:06 +0000 (20:12 +0000)]
NSIS Installer:

Committing the changes used for 2.45 and the upcoming 2.46 release :)

(Better late than never!)

13 years agoPy API - rename UndoPush to SaveUndoState
Campbell Barton [Sun, 2 Mar 2008 15:57:19 +0000 (15:57 +0000)]
Py API - rename UndoPush to SaveUndoState

13 years ago== Sequencer ==
Peter Schlaile [Sun, 2 Mar 2008 14:54:45 +0000 (14:54 +0000)]
== Sequencer ==

Fixed a bug with ibuf caching on startstill / endstill.

The new blend modes happened to force start and endstill to be rendered
over and over again. This could get very annoying especially on scene

We therefore now cache the original start or endstill ibuf seperately
and copy on demand.

13 years ago* to be able to properly compile this, the friend needs 'class' too: friend class...
Nathan Letwory [Sun, 2 Mar 2008 09:39:14 +0000 (09:39 +0000)]
* to be able to properly compile this, the friend needs 'class' too:  friend class CcdOverlapFilterCallBack

13 years ago* temproary -> temporary topy fxi
Nathan Letwory [Sun, 2 Mar 2008 08:49:39 +0000 (08:49 +0000)]
* temproary -> temporary topy fxi

13 years agoBugfix:
Joshua Leung [Sun, 2 Mar 2008 01:17:17 +0000 (01:17 +0000)]

Disabled fully OpenGl-based drawing of keyframes in the Action Editor. This was apparently causing problems on some Intel cards...

13 years agomade it possible to type in ~ at the start of the filename, ~/Desktop for instance.
Campbell Barton [Sun, 2 Mar 2008 00:26:13 +0000 (00:26 +0000)]
made it possible to type in ~ at the start of the filename, ~/Desktop for instance.
Enabled for win32 and in the image browser.

13 years agoVarious mem leaks related to CValue reference count fixed
Benoit Bolsee [Sat, 1 Mar 2008 19:46:50 +0000 (19:46 +0000)]
Various mem leaks related to CValue reference count fixed

13 years agoMem leak fixed in sound buffer & parent invert node
Benoit Bolsee [Sat, 1 Mar 2008 19:29:01 +0000 (19:29 +0000)]
Mem leak fixed in sound buffer & parent invert node

13 years agoRadar/Near sensor performance problem fixed
Benoit Bolsee [Sat, 1 Mar 2008 19:17:37 +0000 (19:17 +0000)]
Radar/Near sensor performance problem fixed

13 years agounknown property fixed in sensor/actuators
Benoit Bolsee [Sat, 1 Mar 2008 19:05:41 +0000 (19:05 +0000)]
unknown property fixed in sensor/actuators

13 years agorandom sensor fixed (patch 8414)
Benoit Bolsee [Sat, 1 Mar 2008 18:46:23 +0000 (18:46 +0000)]
random sensor fixed (patch 8414)

13 years ago_DEBUG defined in release build of node project
Benoit Bolsee [Sat, 1 Mar 2008 18:41:32 +0000 (18:41 +0000)]
_DEBUG defined in release build of node project

13 years ago-> Bevel modifier cleanup
Geoffrey Bantle [Sat, 1 Mar 2008 16:32:23 +0000 (16:32 +0000)]
-> Bevel modifier cleanup

Bevel modifier had several problems. These should be fixed now. The bevel
modifier in editmode cannot have 'apply to cage' checked as the modifier
cannot possibly support mapping. Further, custom data preservation has been
turned off temporarily, but will be added back in soon.

13 years agoBugfix:
Ton Roosendaal [Sat, 1 Mar 2008 14:54:18 +0000 (14:54 +0000)]
New option "move texture channel up/down" lacked redraw calls.

There's still no manipulator handles for lamps to set cone size, dist,
clipping. To save our poor Peach artists hours of work I've added a
quick method to at least be able to do it interactive.
Option is hidden behind Wkey, and uses a similar function like Scaling.
(Put mouse cursor close to start value, move mouse to center of lamp)

Ultimately this should move to custom manipulator handles...

13 years agofix for [#8408] Indentation error in text editor when typing a colon anywhere
Campbell Barton [Sat, 1 Mar 2008 12:31:00 +0000 (12:31 +0000)]
fix for [#8408] Indentation error in text editor when typing a colon anywhere

13 years agoFix for bug [#8405] makeParentDeform segfaults Blender
Campbell Barton [Sat, 1 Mar 2008 10:59:38 +0000 (10:59 +0000)]
Fix for bug [#8405] makeParentDeform segfaults Blender
linking armatures to objects didnt make pose data.

13 years ago'Bug'-fix #8404:
Joshua Leung [Sat, 1 Mar 2008 04:03:06 +0000 (04:03 +0000)]
'Bug'-fix #8404:

Action Editor now displays shapekey channels for curves/surfaces too now. This commit may be reverted if there are some corner cases which work really bad with this.

13 years agoThis commit contains the addition of a greek translation thanks to
Tom Musgrove [Sat, 1 Mar 2008 03:56:16 +0000 (03:56 +0000)]
This commit contains the addition of a greek translation thanks to

Κωστής Καρβουνιάρης
Kostas Gerontis

Also a patch from Markus Schulz that

adds buttons to the material, light, and world texture panels to make it
easy to rearrange the textures in the list without having to
use copy and paste.

13 years agoSplit the add_hook function into two parts (user interaction + actual operations)
Joshua Leung [Sat, 1 Mar 2008 03:45:04 +0000 (03:45 +0000)]
Split the add_hook function into two parts (user interaction + actual operations)

13 years agoRemoved warning from py-api code
Joshua Leung [Sat, 1 Mar 2008 03:42:09 +0000 (03:42 +0000)]
Removed warning from py-api code

13 years agoWrap UndoPush with python, needed for apricot, so changes made be scripts can have...
Campbell Barton [Fri, 29 Feb 2008 20:45:57 +0000 (20:45 +0000)]
Wrap UndoPush with python, needed for apricot, so changes made be scripts can have undo's as well, otherwise users undo and loose changes the script made.

13 years ago-> Bevel cleanup
Geoffrey Bantle [Fri, 29 Feb 2008 20:26:35 +0000 (20:26 +0000)]
-> Bevel cleanup

Bevel and bmesh code is in need of some cleanup and fixing.

-Fixed potential crasher in BME_JEKV
-Sped up memory usage of BME_MF
-Removed unused structure members

More to come soon....

13 years agoFix segmentation fault in Image node when change the Layer in EXR files.
Diego Borghetti [Fri, 29 Feb 2008 19:19:31 +0000 (19:19 +0000)]
Fix segmentation fault in Image node when change the Layer in EXR files.

The argument in the uiButSetFunc is a Image struct, but
BKE_image_multilayer_index expect a RenderResult struct, so when
you load a exr file and try change the Layer, Blender crash.
(image_layer_cb call BKE_image_multilayer_index)

13 years agoFix for bug #8403: a radiosity render crash.
Brecht Van Lommel [Fri, 29 Feb 2008 16:52:46 +0000 (16:52 +0000)]
Fix for bug #8403: a radiosity render crash.

13 years ago* Made BLI_join_dirfile() check before adding a slash between dir and file so as...
Campbell Barton [Fri, 29 Feb 2008 15:50:28 +0000 (15:50 +0000)]
* Made BLI_join_dirfile() check before adding a slash between dir and file so as not to get /foo///bar.blend
* Pointcache now uses the process id to construct the path for unsaved files. (so 2 or more blender's open wont try to read/write the same pointcache)
* Temp pointcache is cleared when existing blender, added BIF_clear_tempfiles() for this. Should also be usedto clear EXR's in the temp dir (TODO), BIF_clear_tempfiles also needs to be added in more places. (On file load for instace)

13 years agoFix segfault when save the render with Multilayer format.
Diego Borghetti [Fri, 29 Feb 2008 15:36:24 +0000 (15:36 +0000)]
Fix segfault when save the render with Multilayer format.

The RE_WriteResult function don't call BLI_make_existing_file
like BKE_write_ibuf, so if you append a directory to the output
path and it don't exist, the exr_begin_write fail to create
the file and blender crash.

Note that this is only 1 line of code and don't touch
anything in the render code.

13 years agoFix for bug rendering scene layers from the compositor and scene sets,
Brecht Van Lommel [Fri, 29 Feb 2008 13:29:15 +0000 (13:29 +0000)]
Fix for bug rendering scene layers from the compositor and scene sets,
two functions were both using the same LIB_DOIT flag, gave conflicts.

13 years agoBugfix: DPX menu entry for saving renders was missing, caused by
Brecht Van Lommel [Fri, 29 Feb 2008 12:23:26 +0000 (12:23 +0000)]
Bugfix: DPX menu entry for saving renders was missing, caused by
DDS saving not being uncommented consistently.

13 years agoDidnt set the image output node active before browsing the files.
Campbell Barton [Fri, 29 Feb 2008 10:13:34 +0000 (10:13 +0000)]
Didnt set the image output node active before browsing the files.

13 years agoParticle weights weren't drawn properly in particle mode. There also was some lag...
Janne Karhu [Fri, 29 Feb 2008 08:31:11 +0000 (08:31 +0000)]
Particle weights weren't drawn properly in particle mode. There also was some lag in updating the colors when changing particle edit brushes.

13 years ago* Fix for own big, Adding group objects from the outliner didnt check they were exter...
Campbell Barton [Thu, 28 Feb 2008 23:14:55 +0000 (23:14 +0000)]
* Fix for own big, Adding group objects from the outliner didnt check they were externally linked.
* ping "~" in the fileselectors dir will take you to $HOME (non win32)
* Added a file selector for Node output image

13 years agoCloth: Bugfix for wrong calculated bending springs, Bugfix for selfcollisions (faster...
Daniel Genrich [Thu, 28 Feb 2008 23:12:50 +0000 (23:12 +0000)]
Cloth: Bugfix for wrong calculated bending springs, Bugfix for selfcollisions (faster + bugfix for explode), Changed: Collision response also put vertices back to surface now

13 years agoPossible bugfix for weird FFMPEG files, I have no idea if that cases can even occur...
Daniel Genrich [Thu, 28 Feb 2008 21:57:24 +0000 (21:57 +0000)]
Possible bugfix for weird FFMPEG files, I have no idea if that cases can even occur - Please take a look Peter.

13 years agochanging default SDL audio driver for linux to alsa since its default in 2.6 kernel...
Campbell Barton [Thu, 28 Feb 2008 21:27:48 +0000 (21:27 +0000)]
changing default SDL audio driver for linux to alsa since its default in 2.6 kernel's and many users report problems if they dont specifically set it to alsa.

13 years agoFix segfault with bad setting in the Image node.
Diego Borghetti [Thu, 28 Feb 2008 20:26:00 +0000 (20:26 +0000)]
Fix segfault with bad setting in the Image node.

The limit in the UI tooltips to set the amount of
images used in animation allow the zero value,
that cause a segfault.

This commit fix the UI, add a init value of 1 to
the node and also check in case that
node_composit_get_image return NULL.

13 years agoCloth: Bugfix for goals, rotations could let them go wrong (reported by nudelZ, ...
Daniel Genrich [Thu, 28 Feb 2008 18:57:14 +0000 (18:57 +0000)]
Cloth: Bugfix for goals, rotations could let them go wrong (reported by nudelZ, #blendercoders)

13 years agoFix for bug #8357: metaball rendering + radiosity was broken.
Brecht Van Lommel [Thu, 28 Feb 2008 18:54:25 +0000 (18:54 +0000)]
Fix for bug #8357: metaball rendering + radiosity was broken.

13 years agoBugfix: compositor Blur node Bokeh option gave wrong results at the
Brecht Van Lommel [Thu, 28 Feb 2008 15:23:44 +0000 (15:23 +0000)]
Bugfix: compositor Blur node Bokeh option gave wrong results at the
bottom pixels of the image.

13 years agoBugfix: jitterd particle distribution was really slow for a large
Brecht Van Lommel [Thu, 28 Feb 2008 13:31:25 +0000 (13:31 +0000)]
Bugfix: jitterd particle distribution was really slow for a large
number of particles/face. Now for > 25 particles/face it switches
to using a QMC hammersley distribution, much faster, for less
jitter still looks a bit better.

13 years agoBugfix: texture effectors didn't link in their textures.
Brecht Van Lommel [Thu, 28 Feb 2008 11:39:13 +0000 (11:39 +0000)]
Bugfix: texture effectors didn't link in their textures.

13 years agoBugfix:
Joshua Leung [Thu, 28 Feb 2008 02:25:23 +0000 (02:25 +0000)]

Outliner drawing crashed after "Merge Bones" operation (Alt-M) if the end-bone of the merge had a child.

13 years agoCloth: 1. Bugfix for possible memory leak reported by Kenneth Styrberg (via mailing...
Daniel Genrich [Thu, 28 Feb 2008 00:01:19 +0000 (00:01 +0000)]
Cloth: 1. Bugfix for possible memory leak reported by Kenneth Styrberg (via mailing list), 2. Bugfix for friction again, 3. Preset menu on GUI (thanks to help from nudelZ (#blendercoders), 4. Possibility to disable autoprotect cache, 5. Some cache bugs fixed, 6. Some speedup in generating cloth

13 years agoleft in prints
Campbell Barton [Wed, 27 Feb 2008 23:11:04 +0000 (23:11 +0000)]
left in prints

13 years agoFix for [#8382] UV unwrap & export puts seams on all edges.
Campbell Barton [Wed, 27 Feb 2008 23:10:25 +0000 (23:10 +0000)]
Fix for [#8382] UV unwrap & export puts seams on all edges.
Maya uses OBJ's UV's to generate seams, some people complained that models imported from blender didnt work well in maya.
It was faster to write every faces UV (without doing a remove doubles), but sharing UV coords makes smaller files and might also be more efficient in other applications.

13 years agoBugfix: NewBooleanMesh() would return 'internal error' no matter what happened -...
Daniel Genrich [Wed, 27 Feb 2008 20:17:03 +0000 (20:17 +0000)]
Bugfix: NewBooleanMesh() would return 'internal error' no matter what happened - real return values must have been lost on the way. I put the proper return in it's place. (reported by cptf on IRC)

13 years agoFix for bug #8373: using SSS the rendertime could be reported wrong.
Brecht Van Lommel [Wed, 27 Feb 2008 20:10:05 +0000 (20:10 +0000)]
Fix for bug #8373: using SSS the rendertime could be reported wrong.

13 years agoFix for bug #8380: snapping in the uv editor didn't work with
Brecht Van Lommel [Wed, 27 Feb 2008 19:35:27 +0000 (19:35 +0000)]
Fix for bug #8380: snapping in the uv editor didn't work with
non-square images.

Fix for uv limit stitch, was broken since editmode integration.

13 years agoFix for making vectoquat threadsafe, missed a warning.
Brecht Van Lommel [Wed, 27 Feb 2008 17:43:23 +0000 (17:43 +0000)]
Fix for making vectoquat threadsafe, missed a warning.

13 years agoBugfix: Copy Modifiers with particle systems crashed, it didn't copy
Brecht Van Lommel [Wed, 27 Feb 2008 17:04:58 +0000 (17:04 +0000)]
Bugfix: Copy Modifiers with particle systems crashed, it didn't copy
the particle systems.

13 years agoFix for part of bug #8376: shift+MMB dragging the view didn't work in
Brecht Van Lommel [Wed, 27 Feb 2008 14:26:47 +0000 (14:26 +0000)]
Fix for part of bug #8376: shift+MMB dragging the view didn't work in
the node editor like other windows. Is already used for backdrop, but
if that isn't enabled it can still do it.

13 years agoFix for bug: cross platform strand render differences with kink/branch.
Brecht Van Lommel [Wed, 27 Feb 2008 14:17:32 +0000 (14:17 +0000)]
Fix for bug: cross platform strand render differences with kink/branch.
This time is was due to different accuracy of floating point computation,
now it uses does a comparison a bit different to avoid this.

Also changed the vectoquat function to be threadsafe.

13 years agoadded missing call to reset teh toolbox - Only effected Python treemenu's
Campbell Barton [Wed, 27 Feb 2008 14:15:14 +0000 (14:15 +0000)]
added missing call to reset teh toolbox - Only effected Python treemenu's

13 years ago-> Minification filter type for FLT attrib files
Geoffrey Bantle [Wed, 27 Feb 2008 11:52:19 +0000 (11:52 +0000)]
-> Minification filter type for FLT attrib files

-Changed the minification filter type from Bilinear to

13 years agoFix for dupli rendering bug, with a duplicating particle system using
Brecht Van Lommel [Wed, 27 Feb 2008 11:50:20 +0000 (11:50 +0000)]
Fix for dupli rendering bug, with a duplicating particle system using
groups that were not in the scene. Also commented the code better.

13 years agoadding stubs for player
Jean-Luc Peurière [Wed, 27 Feb 2008 11:47:07 +0000 (11:47 +0000)]
adding stubs for player

13 years agoBugfix [#8328] Python scripts from user defined location doesn't load
Campbell Barton [Wed, 27 Feb 2008 10:02:40 +0000 (10:02 +0000)]
Bugfix  [#8328] Python scripts from user defined location doesn't load

last commit had mistakes but tested this to fix the bug.
- Cam

13 years agoshould fix bug on win32 with user python menu's not loading because stat() didnt...
Campbell Barton [Wed, 27 Feb 2008 09:48:43 +0000 (09:48 +0000)]
should fix bug on win32 with user python menu's not loading because stat() didnt like the trailing slash and returned the dir as missing.

13 years agoCloth: fixed completely useless/wrong friction force; changed some initial settings
Daniel Genrich [Wed, 27 Feb 2008 03:23:17 +0000 (03:23 +0000)]
Cloth: fixed completely useless/wrong friction force; changed some initial settings

13 years ago== MSVC 7.1 projectfiles ==
Andrea Weikert [Tue, 26 Feb 2008 23:39:52 +0000 (23:39 +0000)]
== MSVC 7.1 projectfiles ==
- added missing files rev. 13829 (Bevel tools and Bmesh kernel
) commit.

13 years agoGoing into vertex paint mode without vertex colors, now it doesn't
Brecht Van Lommel [Tue, 26 Feb 2008 18:30:41 +0000 (18:30 +0000)]
Going into vertex paint mode without vertex colors, now it doesn't
create vertex colors from shaded mode anymore. Instead there is
function in vertex paint mode to create them.

Also some fixes for previous commits.

13 years agoWeight, vertex and texture paint modes now don't draw the active
Brecht Van Lommel [Tue, 26 Feb 2008 17:46:22 +0000 (17:46 +0000)]
Weight, vertex and texture paint modes now don't draw the active
object on top of everything anymore. It can be useful to see objects
that are in front too, and if you don't want to see them you can
just go into local viewmode. It's also more consistent with editmode
which doesn't draw on top either.

13 years ago== BPython ==
Willian Padovani Germano [Tue, 26 Feb 2008 17:23:56 +0000 (17:23 +0000)]
== BPython ==

Another experiment to support threading properly. By default the Python Interpreter releases its lock every 100 instructions so that other threads get a chance to run Python code and API calls. But that is not enough to prevent race conditions causing artifacts (and maybe crashes) during threaded rendering, since all threads will access the same pynodes data.

So I'm disabling this automatic releasing of the lock (the GIL) by the interpreter, which seems to be a better option for how Blender uses Python.

13 years agoFix for bug #6854: meta object crash with preview render. Meta objects
Brecht Van Lommel [Tue, 26 Feb 2008 16:20:36 +0000 (16:20 +0000)]
Fix for bug #6854: meta object crash with preview render. Meta objects
were using an ugly trick to store render orco's, but there's really no
reason for it, now it works like other primitives.

13 years agoCloth: make cloth more crash resistant if memory allocation failed
Daniel Genrich [Tue, 26 Feb 2008 14:25:29 +0000 (14:25 +0000)]
Cloth: make cloth more crash resistant if memory allocation failed

13 years agoBugfix [#8365] cresh by RMB selecting object in 3D_View from set of overlapping objects
Daniel Genrich [Tue, 26 Feb 2008 14:00:13 +0000 (14:00 +0000)]
Bugfix [#8365] cresh by RMB selecting object in 3D_View from set of overlapping objects

13 years agoTweak bugfix #8347 a bit, the self intersection problem with raytraced
Brecht Van Lommel [Tue, 26 Feb 2008 13:05:18 +0000 (13:05 +0000)]
Tweak bugfix #8347 a bit, the self intersection problem with raytraced
shadows and jittering.

13 years agoHair particles with object or group visualisation didn't take the
Brecht Van Lommel [Tue, 26 Feb 2008 11:48:12 +0000 (11:48 +0000)]
Hair particles with object or group visualisation didn't take the
rotation settings into account. Now if rotation is not set to None,
instead of automatically deriving it from the particle path (which
is useful for feathers), it uses the rotation settings (useful for
distributing twigs randomly).

13 years agoBugfix: recent rollback of premul changes gave issues. The premul
Brecht Van Lommel [Tue, 26 Feb 2008 11:38:32 +0000 (11:38 +0000)]
Bugfix: recent rollback of premul changes gave issues. The premul
flag bit was changed and not changed back, and the flag was moved
back from image user to image. This meant that files saved both
before and during the premul changes did not read premul settings
correct anymore.

Now it uses the old premul flag bit again, which also keeps forward

13 years agoCloth: Little (bug)fix to let springs appear as an upper tridiagonal matrix
Daniel Genrich [Tue, 26 Feb 2008 09:55:07 +0000 (09:55 +0000)]
Cloth: Little (bug)fix to let springs appear as an upper tridiagonal matrix

13 years agoPopup menus for displaying names of groups available for selection now draw with...
Joshua Leung [Tue, 26 Feb 2008 06:33:06 +0000 (06:33 +0000)]
Popup menus for displaying names of groups available for selection now draw with multiple columns when the number of entries cannot fit in a single column (and be editable).

13 years agoremoved mingw from the list of platforms to use the
Joseph Eagar [Tue, 26 Feb 2008 00:04:54 +0000 (00:04 +0000)]
removed mingw from the list of platforms to use the
debug python lib, as it was causing link errors.

if someone wishes to figure out why this is messing up,
go ahead.

13 years agoAdded PyGILState_Ensure and PyGILState_Release funcs around module reloading.
Campbell Barton [Mon, 25 Feb 2008 18:35:35 +0000 (18:35 +0000)]
Added PyGILState_Ensure and PyGILState_Release funcs around module reloading.
Without them blender would crash when reloading scripts.

13 years agoBugfix: dupliparticles didn't respect the enabled button for the
Brecht Van Lommel [Mon, 25 Feb 2008 17:20:35 +0000 (17:20 +0000)]
Bugfix: dupliparticles didn't respect the enabled button for the
particle system, could crash.

13 years agoBugfix for some particle system vertex group memory leaks.
Brecht Van Lommel [Mon, 25 Feb 2008 16:46:58 +0000 (16:46 +0000)]
Bugfix for some particle system vertex group memory leaks.

13 years agoFix for bug #7914: when rendering ray transparency with premul or key,
Brecht Van Lommel [Mon, 25 Feb 2008 15:08:46 +0000 (15:08 +0000)]
Fix for bug #7914: when rendering ray transparency with premul or key,
the alpha channel was set wrong.

13 years agoFix for #6686: crash with array modifier fit to curve option, could
Brecht Van Lommel [Mon, 25 Feb 2008 13:05:08 +0000 (13:05 +0000)]
Fix for #6686: crash with array modifier fit to curve option, could
create a too large amount of duplicates.

13 years agoFix for bug #8081: python script crash writing MFace.uv.
Brecht Van Lommel [Mon, 25 Feb 2008 11:55:51 +0000 (11:55 +0000)]
Fix for bug #8081: python script crash writing MFace.uv.

13 years agoFix for bug #8347: bug in raytraced shadow with edgesplit. Problem
Brecht Van Lommel [Mon, 25 Feb 2008 10:58:12 +0000 (10:58 +0000)]
Fix for bug #8347: bug in raytraced shadow with edgesplit. Problem
was the new jittering of the start position gave self intersections,
especially noticable with for example edgesplit because in that case
it can't detect them as well. 'Solution' now is to bias the start
position away from the surface a bit according to how much the start
position was jittered.