12 years agoMerged 15170:15635 from trunk (no conflicts or even merges)
Ian Thompson [Fri, 18 Jul 2008 23:35:34 +0000 (23:35 +0000)]
Merged 15170:15635 from trunk (no conflicts or even merges)

12 years agoAdded a documentation panel with primitive word-wrap functionality. It can be display...
Ian Thompson [Fri, 18 Jul 2008 23:12:19 +0000 (23:12 +0000)]
Added a documentation panel with primitive word-wrap functionality. It can be displayed by Text.showDoc(string) in python and has a text-plugin script for function docs which may be invoked with Ctrl+I inside its params list. Eg. type "dir(" <Ctrl+I>

12 years agoAll parsing is now done in one sweep and cached to allow details to be obtained witho...
Ian Thompson [Fri, 18 Jul 2008 11:00:34 +0000 (11:00 +0000)]
All parsing is now done in one sweep and cached to allow details to be obtained without re-parsing. A text can be manually parsed with parse_text(text) which also updates the cache.

12 years agoFixed error when scripts were run without a visible Text to work on.
Ian Thompson [Wed, 16 Jul 2008 12:56:23 +0000 (12:56 +0000)]
Fixed error when scripts were run without a visible Text to work on.

12 years agoPreviously relying on import to run scripts didn't work every time and was not the...
Ian Thompson [Wed, 16 Jul 2008 10:33:48 +0000 (10:33 +0000)]
Previously relying on import to run scripts didn't work every time and was not the right way to do it. Also fixed a problem with 'import *' not working and added the sys.modules list to the import suggestion list with a timed update.

12 years agoMade suggestions case-insensitive which also puts _ prefixed items at the bottom...
Ian Thompson [Tue, 15 Jul 2008 17:03:59 +0000 (17:03 +0000)]
Made suggestions case-insensitive which also puts _ prefixed items at the bottom. Improvements have also been made to the way the list works, when it should disappear/update/confirm, etc.

12 years agoText plugin script updates: Better error handling, variable parsing, token caching...
Ian Thompson [Tue, 15 Jul 2008 12:55:20 +0000 (12:55 +0000)]
Text plugin script updates: Better error handling, variable parsing, token caching for repeat parsing of the same document. Fixed joining of multiline statements and context detection.

12 years agoCreated a BPy module BPyTextPlugin to centralize functions used across the text plugi...
Ian Thompson [Tue, 15 Jul 2008 07:34:46 +0000 (07:34 +0000)]
Created a BPy module BPyTextPlugin to centralize functions used across the text plugin scripts. Also created two more scripts to handle imports and member suggestions.

12 years agoAny script can now register a unique key combination as part of its bpy header. For...
Ian Thompson [Tue, 15 Jul 2008 07:04:31 +0000 (07:04 +0000)]
Any script can now register a unique key combination as part of its bpy header. For a supported space type, the user may press this shortcut to invoke the script.

Space types that are to support shortcuts like this should call BPY_menu_do_shortcut(...) from the event queue read method (See winqreadtextspace in drawtext.c for example)

12 years agoFixed own platform bug with stat/fstat.
Ian Thompson [Sat, 28 Jun 2008 00:07:22 +0000 (00:07 +0000)]
Fixed own platform bug with stat/fstat.

12 years agoMouse selection (LMB) and confirmation (MMB) added to suggestions UI. Also fixed...
Ian Thompson [Fri, 27 Jun 2008 19:55:08 +0000 (19:55 +0000)]
Mouse selection (LMB) and confirmation (MMB) added to suggestions UI. Also fixed the problem of offset text (horizontally scrolled).

12 years agoModifying a file externally or deleting a file linked with a Blender Text object...
Ian Thompson [Thu, 26 Jun 2008 18:28:33 +0000 (18:28 +0000)]
Modifying a file externally or deleting a file linked with a Blender Text object presents options for reloading, saving or separating the Text object from the external file (like the make local idea).

12 years agoAdded readline() and reset() for reading lines from a Blender Text Object and resetti...
Ian Thompson [Wed, 25 Jun 2008 21:00:39 +0000 (21:00 +0000)]
Added readline() and reset() for reading lines from a Blender Text Object and resetting the pointer to the beginning of the buffer. readline() will return the '\n' character and return '' when the end of the buffer is reached in accordance with other readline methods.

12 years agoAdded UI for suggestions list. Works with arrow-keys and mouse wheel, accept with...
Ian Thompson [Wed, 25 Jun 2008 13:51:54 +0000 (13:51 +0000)]
Added UI for suggestions list. Works with arrow-keys and mouse wheel, accept with Enter, reject with Esc or click elsewhere. Mouse selection not yet supported. The script is called from the File->Text Plugins menu.

Tidied python script, the C suggestions functions and fixed some bugs including suggestions not being freed properly.

12 years agoText plugin basis with plugin for suggestions/completions. The suggest plugin works...
Ian Thompson [Tue, 24 Jun 2008 15:25:25 +0000 (15:25 +0000)]
Text plugin basis with plugin for suggestions/completions. The suggest plugin works for imported global variables, methods, modules and module members. For example typing:

import Blender
from Blender import *
| <- cursor here suggests globals| <- cursor here suggests all Draw members starting gl

Currently suggestions are listed in the console when the space is redrawn but will be presented as a menu-style list soon. Also to add are shortcut/activation keys to allow plugins to respond to certain key strokes.

12 years agoAdded functions to the BPy Text object for positioning the cursor and inserting text...
Ian Thompson [Tue, 17 Jun 2008 19:26:26 +0000 (19:26 +0000)]
Added functions to the BPy Text object for positioning the cursor and inserting text. It seems Text.write() actually inserts *then* moves to the end of the buffer, so it doesn't really append as it says in the docs. However, with these new functions both appending and inserting can be achieved.

12 years agoImprovements to whole-word ops (thanks mindrones for suggestions).
Ian Thompson [Tue, 10 Jun 2008 15:25:05 +0000 (15:25 +0000)]
Improvements to whole-word ops (thanks mindrones for suggestions).

12 years agoMerged from trunk
Ian Thompson [Mon, 9 Jun 2008 14:04:19 +0000 (14:04 +0000)]
Merged from trunk
svn merge -r14988:15170

12 years agoFix: Convert to spaces/tabs corrupted syntax
Ian Thompson [Mon, 9 Jun 2008 12:45:49 +0000 (12:45 +0000)]
Fix: Convert to spaces/tabs corrupted syntax

12 years agoPrevent editing of linked library Texts
Ian Thompson [Sun, 8 Jun 2008 19:29:19 +0000 (19:29 +0000)]
Prevent editing of linked library Texts

12 years agoAdded file info to header. Also reopen was marking text dirty (different from disk...
Ian Thompson [Fri, 6 Jun 2008 11:32:45 +0000 (11:32 +0000)]
Added file info to header. Also reopen was marking text dirty (different from disk) which it isn't.

12 years agoWhole word operations added:
Ian Thompson [Wed, 4 Jun 2008 23:20:54 +0000 (23:20 +0000)]
Whole word operations added:
 * Alt-Left/Right: moves cursor/selection a word to the left/right
 * Alt-/Ctrl-Delete/Backspace deletes whole words at a time

12 years agoFixed unreported bug: Backspace at top of text pushed newline onto undo stack
Ian Thompson [Wed, 4 Jun 2008 16:03:19 +0000 (16:03 +0000)]
Fixed unreported bug: Backspace at top of text pushed newline onto undo stack

12 years agoOverwrite mode added, toggled with INSERTKEY
Ian Thompson [Wed, 4 Jun 2008 12:32:06 +0000 (12:32 +0000)]
Overwrite mode added, toggled with INSERTKEY

12 years agoFirst commit and merge from trunk for testing.
Ian Thompson [Mon, 26 May 2008 23:04:37 +0000 (23:04 +0000)]
First commit and merge from trunk for testing.
Merge: 14970-14988

12 years agoFixed some compile erros under msvc (thanks lguillaume)
Andre Susano Pinto [Mon, 26 May 2008 21:57:53 +0000 (21:57 +0000)]
Fixed some compile erros under msvc (thanks lguillaume)
Fixed object dependency (thanks ZanQdo for pointing it out)
Make some code cleaner
(preparing for adding bvh trees on nearest surface)

12 years agocreating gsoc branch for Ian Thompson
Martin Poirier [Sun, 25 May 2008 19:24:46 +0000 (19:24 +0000)]
creating gsoc branch for Ian Thompson

12 years agopatch [#11491] Fix for bug 11362: Blender.Draw.Image() method does not clip properly
Campbell Barton [Sun, 25 May 2008 16:39:57 +0000 (16:39 +0000)]
patch  [#11491] Fix for bug 11362: Blender.Draw.Image() method does not clip properly
fixing [#11362] Blender.Draw.Image() method does not clip properly
also return silently on zero zoomlevel rather then raising an error, only raise an error on negative values.

12 years ago== Sequencer ==
Peter Schlaile [Sun, 25 May 2008 16:07:32 +0000 (16:07 +0000)]
== Sequencer ==

[#12106] Memory leak in sequencer (>10MB/frame)

in parts: inner contents of meta strips are freed up after calculation
making more room for the cache.

Actually have to think of a mechanism, that remembers, which output
frames are asked for and caches only those.

12 years agoMerge BVH tree fixes from cloth branch
Andre Susano Pinto [Sun, 25 May 2008 15:47:54 +0000 (15:47 +0000)]
Merge BVH tree fixes from cloth branch
svn merge -r 14954:14963
svn merge -r 14954:14963

12 years agoAdded BVH nearest neighbour code, for now only works in 6-dop and finds the node...
Andre Susano Pinto [Sun, 25 May 2008 15:43:18 +0000 (15:43 +0000)]
Added BVH nearest neighbour code, for now only works in 6-dop and finds the node with the nearest bounding volume.
I'll work on making it more generic.
So far it querys faster than kdtree, but building the tree is slower.
And bvhtree NN uses an heuristic based on the last match.

Shrinkwrap (OBCube)24578 over (OBSuzanne)31658
build: 30.000000ms
query: 1360.000000ms

build: 140.000000ms
query: 490.000000ms

Shrinkwrap now uses bvhtree (binary tree, 6dop) for nearest vertex.

12 years ago[#11124] Hide Threshold button when Constant QMC sampling enabled
Martin Poirier [Sun, 25 May 2008 14:39:55 +0000 (14:39 +0000)]
[#11124] Hide Threshold button when Constant QMC sampling enabled

Patch by Olivier Saraja

12 years agoApply BGE patch 11137: Render objects with negative scaling correctly (as in Blender)
Benoit Bolsee [Sun, 25 May 2008 14:37:39 +0000 (14:37 +0000)]
Apply BGE patch 11137: Render objects with negative scaling correctly (as in Blender)

12 years ago[#11119] Tool tips correction
Martin Poirier [Sun, 25 May 2008 14:32:59 +0000 (14:32 +0000)]
[#11119] Tool tips correction

Patch by Olivier Saraja

12 years agoApply BGE patch 12799: Fix quad buffer stereo mode for Windows
Benoit Bolsee [Sun, 25 May 2008 14:32:26 +0000 (14:32 +0000)]
Apply BGE patch 12799: Fix quad buffer stereo mode for Windows

12 years agoMerge from trunk
Andre Susano Pinto [Sun, 25 May 2008 13:53:58 +0000 (13:53 +0000)]
Merge from trunk
svn merge -r 14843:14954

12 years agofor for [bf-blender-Bug Tracker][11843] 3DS importer imports broken meshes
Campbell Barton [Sun, 25 May 2008 13:48:36 +0000 (13:48 +0000)]
for for [bf-blender-Bug Tracker][11843] 3DS importer imports broken meshes

12 years agoMerge bvh tree from cloth branch
Andre Susano Pinto [Sun, 25 May 2008 13:44:55 +0000 (13:44 +0000)]
Merge bvh tree from cloth branch

12 years agoBGE patch: rename rayCastToEx() to rayCast() - better name
Benoit Bolsee [Sat, 24 May 2008 22:50:31 +0000 (22:50 +0000)]
BGE patch: rename rayCastToEx() to rayCast() - better name

12 years ago-> FLT import: Zero area N-gon bug fix
Geoffrey Bantle [Sat, 24 May 2008 18:43:02 +0000 (18:43 +0000)]
-> FLT import: Zero area N-gon bug fix

FLT importer would throw errors when importing ngons with
zero area. These faces are now ignored

12 years agoBGE patch: add rayCastToEx(), an extended version of rayCastTo() for use in game...
Benoit Bolsee [Sat, 24 May 2008 18:06:58 +0000 (18:06 +0000)]
BGE patch: add rayCastToEx(), an extended version of rayCastTo() for use in game script

12 years agofix for [#12797] FBX Exporter Exports Incorrect Matterial EmissiveFactor and DiffuseF...
Campbell Barton [Sat, 24 May 2008 12:22:53 +0000 (12:22 +0000)]
fix for [#12797] FBX Exporter Exports Incorrect Matterial EmissiveFactor and DiffuseFactor
- own error, swapped diffuse and emit factors

12 years agofix BGE bug #8646: unusable anaglyph settings
Benoit Bolsee [Sat, 24 May 2008 08:34:04 +0000 (08:34 +0000)]
fix BGE bug #8646: unusable anaglyph settings

The best rules for stereo rendering are now applied to Blender. Here is the new situation:
1) The focal distance is now settable through the GUI: select the camera (each camera can have a different setting) and go to the camera data (F9): the "Dof Dist" and "Dof Ob" can be used to set the focal distance for that camera. The "Dof Ob" is interesting because it sets the focal distance so that the center this object will appear at the surface of the screen when running the game.
2) The eye separation is automatically set to focal_distance/30, which is considered to be a reasonable value. If you need a different value, you can always use Python scripting.

- If you switch camera during the game, the focal distance will also change unless you have set the focal distance by scripting, in which case it overwrites the focal distance setting of all cameras.
- If you don't set the focal distance in the camera data or by scripting, the default value will be used. The default value corresponds more of less to the near clipping plane which means that all the objects will be very far with little 3D effect.
- If you don't set the eye separation by scripting, it is automatically computed as focal_distance/30, regardless on how the focal distance was set.

12 years ago== PyNodes ==
Willian Padovani Germano [Fri, 23 May 2008 16:31:02 +0000 (16:31 +0000)]
== PyNodes ==

Fixing bug #11737 reported by Daniel Salazar (Zanqdo, thanks!): assigning as pynode a text that failed to parse as a pynode script, then deleting that text would crash Blender.

12 years agoTypos and whitespace tweaks
Joshua Leung [Fri, 23 May 2008 11:12:03 +0000 (11:12 +0000)]
Typos and whitespace tweaks

12 years agoFix for bug #12526: object instancing didn't restore matrices
Brecht Van Lommel [Fri, 23 May 2008 10:06:06 +0000 (10:06 +0000)]
Fix for bug #12526: object instancing didn't restore matrices
correct for envmap, could give objects rendering in the wrong

12 years agofix for "[#11004] Adding ram sound and alt-U causes ram to look like HD sound and...
Campbell Barton [Fri, 23 May 2008 09:58:33 +0000 (09:58 +0000)]
fix for "[#11004] Adding ram sound and alt-U causes ram to look like HD sound and can lead to crash"

Missing call sound_initialize_sounds, cant be added BKE_reset_undo since its in blenderkernel.

12 years agoFix for bug #12473: crash converting old particle system from
Brecht Van Lommel [Fri, 23 May 2008 09:23:57 +0000 (09:23 +0000)]
Fix for bug #12473: crash converting old particle system from
a linked file.

12 years agofix for [#12218] Impossible to exit meta strips with hotkey
Campbell Barton [Fri, 23 May 2008 08:58:44 +0000 (08:58 +0000)]
fix for [#12218] Impossible to exit meta strips with hotkey
Only enter mesta's that are active and selected, inconsistent with editmode in the 3D view, but editmode dosnt deal with
nested data.

12 years agofix for error when all faces are the same area
Campbell Barton [Fri, 23 May 2008 08:39:59 +0000 (08:39 +0000)]
fix for error when all faces are the same area

12 years agoBugfix #12508:
Joshua Leung [Fri, 23 May 2008 04:54:16 +0000 (04:54 +0000)]
Bugfix #12508:

Action Editor Border Select Channels no longer selects bones

12 years agoFix for bug #11895: databrowse for image painting clone image didn't work.
Brecht Van Lommel [Thu, 22 May 2008 17:32:15 +0000 (17:32 +0000)]
Fix for bug #11895: databrowse for image painting clone image didn't work.

12 years agoFix for bug #11698: mesh deform modifier not working on extruded curves.
Brecht Van Lommel [Thu, 22 May 2008 17:06:46 +0000 (17:06 +0000)]
Fix for bug #11698: mesh deform modifier not working on extruded curves.
The modifier work on the tesselated result rather than the curve itself.

12 years agoFix for bug #12077: tangent shading (which only affects specular) made
Brecht Van Lommel [Thu, 22 May 2008 15:30:35 +0000 (15:30 +0000)]
Fix for bug #12077: tangent shading (which only affects specular) made
bump mapping not work for diffuse.

12 years agoFix for part of bug #12075: gamma node generated nan's on negative input.
Brecht Van Lommel [Thu, 22 May 2008 14:56:32 +0000 (14:56 +0000)]
Fix for part of bug #12075: gamma node generated nan's on negative input.

12 years agoComments!!1
Martin Poirier [Thu, 22 May 2008 14:12:09 +0000 (14:12 +0000)]

12 years agoFix for bug #11743: incorrect transformation for particle group
Brecht Van Lommel [Thu, 22 May 2008 14:08:13 +0000 (14:08 +0000)]
Fix for bug #11743: incorrect transformation for particle group
visualization DupliGroup option.

12 years agoFix for bug #11758: crash cancelling hair softbody bake.
Brecht Van Lommel [Thu, 22 May 2008 13:58:16 +0000 (13:58 +0000)]
Fix for bug #11758: crash cancelling hair softbody bake.
Fix for bug #11966: crash in hair softbody with hair amount 0.

12 years agoFix for bug #12334: the Disable Tex option didn't disable
Brecht Van Lommel [Thu, 22 May 2008 13:46:05 +0000 (13:46 +0000)]
Fix for bug #12334: the Disable Tex option didn't disable
textures for the Texface material option.

12 years agoTransform Orientations
Martin Poirier [Thu, 22 May 2008 09:22:00 +0000 (09:22 +0000)]
Transform Orientations

Normal orientation for editbones (was previously missing)

12 years agoremove module It is obsolete since 2.43, then all functions...
Remigiusz Fiedler [Thu, 22 May 2008 08:29:54 +0000 (08:29 +0000)]
remove module It is obsolete since 2.43, then all functions integrated in the main dxf-importer code

12 years agoadd missing flags for NLA strips
Campbell Barton [Wed, 21 May 2008 19:24:35 +0000 (19:24 +0000)]
add missing flags for NLA strips

12 years agoscene frames scene.render.cFrame,sFrame and eFrame were being treated as shorts....
Campbell Barton [Wed, 21 May 2008 12:14:52 +0000 (12:14 +0000)]
scene frames scene.render.cFrame,sFrame and eFrame were being treated as shorts. (which clamped them to 37856)

12 years agotestbreak was not working after the first use
Campbell Barton [Wed, 21 May 2008 11:06:49 +0000 (11:06 +0000)]
testbreak was not working after the first use

12 years agoBone Extrusion Bug
Martin Poirier [Wed, 21 May 2008 10:14:02 +0000 (10:14 +0000)]
Bone Extrusion Bug

Extruding from root would incorrectly set the Connected flag when it wasn't needed.

12 years ago[#12103] Force field moves when strength changes
Martin Poirier [Wed, 21 May 2008 10:11:10 +0000 (10:11 +0000)]
[#12103] Force field moves when strength changes

Wind effects would modify the center vector, so the limit sphere was drawn from the position of the last "wind ring"

12 years ago[#11892] track-to + "around selection" bug
Martin Poirier [Wed, 21 May 2008 10:07:38 +0000 (10:07 +0000)]
[#11892] track-to + "around selection" bug

Transform conversion was resetting constraints when used to calculate orbit center.

This is a tentative fix, it fixes this particular case but maybe not all.

12 years ago[#11748] Bevel tool not snapping when holding down ctrl and adjusting value
Martin Poirier [Wed, 21 May 2008 10:02:07 +0000 (10:02 +0000)]
[#11748] Bevel tool not snapping when holding down ctrl and adjusting value

Added proper gear support and fixed some misc errors in the setup of this transformation (negative values hav no effect, so use absolute value and other small things like that)

12 years ago== Sequencer ==
Peter Schlaile [Tue, 20 May 2008 21:30:16 +0000 (21:30 +0000)]
== Sequencer ==

This fixes:
[#11745] Blender crashes when changing Scenes on Sequencer`s Strips


- last_seq was set to null by scene-render
- button handling wasn't very robust (didn't check for null)

12 years agoreplacing epydoc generation script with one copied from bpy docs
Campbell Barton [Tue, 20 May 2008 05:55:12 +0000 (05:55 +0000)]
replacing epydoc generation script with one copied from bpy docs

12 years agomore updates to docs
Campbell Barton [Mon, 19 May 2008 13:34:43 +0000 (13:34 +0000)]
more updates to docs

12 years agosome updates to epy docs
Campbell Barton [Mon, 19 May 2008 09:54:38 +0000 (09:54 +0000)]
some updates to epy docs

12 years ago== Sequencer ==
Peter Schlaile [Mon, 19 May 2008 06:14:57 +0000 (06:14 +0000)]
== Sequencer ==

This fixes:
[11750] "Translate" stops working when offset > image size

12 years agomemory corruption error fix when changing orderU/Vs with curves, this could crash...
Campbell Barton [Sun, 18 May 2008 18:44:02 +0000 (18:44 +0000)]
memory corruption error fix when changing orderU/Vs with curves, this could crash blender or make odd display lists.
the problem was that the buttons would use the first nurb if there was no 'lastnu', but the makeknots function only checked for lastnu. this meant the knots would not get re-allocated on
values would be written outside the array.

12 years agoLast part of the svn release commit. It's now in freeze... unless?
Ton Roosendaal [Sun, 18 May 2008 18:05:55 +0000 (18:05 +0000)]
Last part of the svn release commit. It's now in freeze... unless?

12 years agoPart one of the 2.46 release commit
Ton Roosendaal [Sun, 18 May 2008 18:05:16 +0000 (18:05 +0000)]
Part one of the 2.46 release commit

12 years agotemptative fix for the ndof bug
Jean-Luc Peurière [Sun, 18 May 2008 16:00:13 +0000 (16:00 +0000)]
temptative fix for the ndof bug
if vd.dist is null at a wrong time,
retore to last known good value

12 years agoFix in mball last May 15th causes a hang (eternal loop) in mball.c,
Ton Roosendaal [Sun, 18 May 2008 13:57:47 +0000 (13:57 +0000)]
Fix in mball last May 15th causes a hang (eternal loop) in mball.c,
a division by zero was not handled

(weird though, only shows in OSX PPC. no optimize, debug build.)

12 years agoBugfix #11738:
Joshua Leung [Sun, 18 May 2008 10:41:42 +0000 (10:41 +0000)]
Bugfix #11738:

PoseLib Preview crashed when there was no active pose as there were no poses at all (i.e. on a newly created Pose Library) .

12 years agoBugfix 11736
Ton Roosendaal [Sun, 18 May 2008 07:30:51 +0000 (07:30 +0000)]
Bugfix 11736

CTRL+Click on "load" for image node crashed.
NULL pointer test missing...

12 years agofix for [#11691] No checks in curve code for "Number of points <= Order U"
Campbell Barton [Sat, 17 May 2008 22:37:34 +0000 (22:37 +0000)]
fix for [#11691] No checks in curve code for "Number of points <= Order U"
added checks for a nurbes orderu being larger then pntsu.
This has the same effect as the curve having only 1 point. (its display list is not generated
but it is still added but a dummy displist with zero points is made)
memcpy was also being used where the memory overlaped (probably worked in most cases but this is incorrect and valgrind complained), use memmove

12 years agoFix for mistake in recent interface bugfix commit.
Brecht Van Lommel [Sat, 17 May 2008 13:41:34 +0000 (13:41 +0000)]
Fix for mistake in recent interface bugfix commit.

12 years agoBugfix #11717:
Joshua Leung [Sat, 17 May 2008 00:35:30 +0000 (00:35 +0000)]
Bugfix #11717:

Rendering (Internal/OGL) would crash when StampInfo was on and adding info about the active camera, if there was no camera in the scene.

12 years agoroot level python tree menu's didnt work with seperators, would display SEPR text...
Campbell Barton [Fri, 16 May 2008 21:34:22 +0000 (21:34 +0000)]
root level python tree menu's didnt work with seperators, would display SEPR text instead

12 years ago== Sequencer ==
Peter Schlaile [Fri, 16 May 2008 21:04:06 +0000 (21:04 +0000)]
== Sequencer ==

This fixes: [#11642] VSE: crash with Speed Control and play head

Special sequence update (holding down left mouse button on a strip)
could lead to a crash when using the speed control effect, since
we didn't check properly for valid cfras (and therefore if
TStripElem is null... )

12 years ago== Nodes ==
Willian Padovani Germano [Fri, 16 May 2008 20:57:06 +0000 (20:57 +0000)]
== Nodes ==

- "Memoryblock free: attempt to free NULL pointer" messages related to the Material node (Add->Input->Material). Deleting it and quitting Blender would bring 2 or 3 of these warnings. Trivial fix (check if NULL) in blenkernel/intern/node.c, though Nodes devs may be interested. Found while testing to fix the following bug:

== PyNodes ==

- Bug #11715 reported by Alexanter Feterman:

Adding a Dynamic node and setting it to a pynode script would crash Blender if no Material Node (MatNode) was present.

Thanks Alexander for reporting and Brecht for assigning it to me.

12 years agoFix for two UI glitches:
Brecht Van Lommel [Fri, 16 May 2008 17:36:06 +0000 (17:36 +0000)]
Fix for two UI glitches:
Bug #11711: particle start frame could get NaN value.
Bug #11714: x-axis mirror button didn't work.

12 years ago[#5743] Rotate dosnt work at high zoom
Martin Poirier [Fri, 16 May 2008 13:13:20 +0000 (13:13 +0000)]
[#5743] Rotate dosnt work at high zoom

More precision added to previous fix through linear approximation of the angle at really small angle values.

12 years agofix for [#11542] "Add -> Mesh -> Torus" adds corrupt mesh
Campbell Barton [Fri, 16 May 2008 13:05:36 +0000 (13:05 +0000)]
fix for [#11542] "Add -> Mesh -> Torus" adds corrupt mesh
previous fix only worked in object mode

12 years ago[#11706] Camera IPO Lag
Martin Poirier [Fri, 16 May 2008 10:20:30 +0000 (10:20 +0000)]
[#11706] Camera IPO Lag

Broken in revision 14473

Camera IPO needs a special exception to be done earlier than others, that was removed in that revision.

I added a better comment to make sure nobody removes it again, unless they really understand what's happening.

12 years agoFix for bug #11682: active render vertex color not respected correctly.
Brecht Van Lommel [Fri, 16 May 2008 09:55:09 +0000 (09:55 +0000)]
Fix for bug #11682: active render vertex color not respected correctly.

13 years agoRemove PLATFORM_LINKFLAGS for makesdna, was breaking debug builds with MSVC8.
Ken Hughes [Thu, 15 May 2008 23:33:30 +0000 (23:33 +0000)]
Remove PLATFORM_LINKFLAGS for makesdna, was breaking debug builds with MSVC8.

13 years agoown error, off by 1 with string allocation
Campbell Barton [Thu, 15 May 2008 23:16:42 +0000 (23:16 +0000)]
own error, off by 1 with string allocation

13 years agoFix for bug #11676: the Spread value for particles does nothing, as
Brecht Van Lommel [Thu, 15 May 2008 20:45:02 +0000 (20:45 +0000)]
Fix for bug #11676: the Spread value for particles does nothing, as
far as I can see it would only do something if child particles could
be emitted from volume, so removed the button for now.

13 years agoFix for bug #11389: edgesplit modifier crash after subsurf when
Brecht Van Lommel [Thu, 15 May 2008 20:07:07 +0000 (20:07 +0000)]
Fix for bug #11389: edgesplit modifier crash after subsurf when
no edges were being split.

13 years agofix for [#11597] 2.46R5 and probably problem of all 2.46Rx - UNPREDICTED DRAW sculpt...
Campbell Barton [Thu, 15 May 2008 19:49:34 +0000 (19:49 +0000)]
fix for [#11597] 2.46R5 and probably problem of all 2.46Rx - UNPREDICTED DRAW sculpt brush
front and back face test was reversed. This problem still shows up when sculpting from the inside of a mesh, but this
cant be worked around unless its know which faces are visible or not. (tried some different workarounds but this
seems acceptable)

13 years agofix for [#11667] Minor problem with lightmap_uvpack, LC is getting out of control...
Campbell Barton [Thu, 15 May 2008 19:44:34 +0000 (19:44 +0000)]
fix for [#11667] Minor problem with lightmap_uvpack, LC is getting out of control but keeping to annoy theeth

13 years agoFix for bug #11650: removing uv layers in editmode did not work correct.
Brecht Van Lommel [Thu, 15 May 2008 19:40:09 +0000 (19:40 +0000)]
Fix for bug #11650: removing uv layers in editmode did not work correct.
Fix for bug #11661: bake to viewport uv layer instead of render uv layer.

13 years ago-> FLT import bug (loose vertices)
Geoffrey Bantle [Thu, 15 May 2008 19:35:17 +0000 (19:35 +0000)]
-> FLT import bug  (loose vertices)

New faceweld code broke the import of meshes with loose
vertices. Also added exception handling to the importer
and exporter so that UI doesnt quite when errors are encountered.
Instead traceback is printed to stderr and control returns to
the script UI

13 years agoLast bug fix of #10999. This should finaly work (tested by jesterking).
Jiri Hnidek [Thu, 15 May 2008 19:30:30 +0000 (19:30 +0000)]
Last bug fix of #10999. This should finaly work (tested by jesterking).