14 years ago= more translation updates =
Tom Musgrove [Sat, 6 Jan 2007 08:46:42 +0000 (08:46 +0000)]
= more translation updates =

okay updated translations - they actually compile and can be used now - woo hoo :)  Thank you translators for your hard work.  Also for other languages - if I haven't committed your language my apologies - please email me the most to up to date version you have thanks.

14 years agoadded lots of warnings for the makeEditable() command. - A user was having problems...
Campbell Barton [Sat, 6 Jan 2007 07:40:06 +0000 (07:40 +0000)]
added lots of warnings for the makeEditable() command. - A user was having problems editing pose data after calling it.

14 years agoFix for multires: prevent mesh separate operation.
Nicholas Bishop [Sat, 6 Jan 2007 06:05:35 +0000 (06:05 +0000)]
Fix for multires: prevent mesh separate operation.

14 years agoepydocs - Constants were wrong QUAT/ROT/LOC, should be LOC/SIZE/ROT
Campbell Barton [Sat, 6 Jan 2007 04:22:10 +0000 (04:22 +0000)]
epydocs - Constants were wrong QUAT/ROT/LOC, should be LOC/SIZE/ROT

14 years agomade comparing buttons the same as comparing thir values.
Campbell Barton [Sat, 6 Jan 2007 04:10:51 +0000 (04:10 +0000)]
made comparing buttons the same as comparing thir values.
bug 5612  (not a bug but this makes it work as scripters may expect)

14 years agoUpdated luminance node to work in all color spaces. Also made it work for any channe...
Robert Holcomb [Sat, 6 Jan 2007 01:25:59 +0000 (01:25 +0000)]
Updated luminance node to work in all color spaces.  Also made it work for any channel, not just luminance.

14 years agoFix for both cage and final DerivedMeshes being created in editmode even
Brecht Van Lommel [Sat, 6 Jan 2007 01:01:38 +0000 (01:01 +0000)]
Fix for both cage and final DerivedMeshes being created in editmode even
if they are identical, as reported by Campbell on the mailing list. Now
uses a single DerivedMesh, saves on memory and drawing time.

14 years agoFix for bug #5583:
Brecht Van Lommel [Sat, 6 Jan 2007 00:25:22 +0000 (00:25 +0000)]
Fix for bug #5583:
Crash when doing a boolean operation on a linked duplicate of the
same mesh.

14 years agoFix for bug #5510:
Brecht Van Lommel [Fri, 5 Jan 2007 23:55:09 +0000 (23:55 +0000)]
Fix for bug #5510:
Alt-B clipping doesn't work in side view. This seems to be a bug in
some gluUnProject implementations, used the same workaround as sculpt
mode did already.

14 years agoFix for bug #5096:
Brecht Van Lommel [Fri, 5 Jan 2007 23:49:51 +0000 (23:49 +0000)]
Fix for bug #5096:
Geometry shader node storage (added for UV name) wasn't allocated reading
older files, could crash on render.

14 years agobugfix, would make bow-tie faces when skinning more then 2 loops.
Campbell Barton [Fri, 5 Jan 2007 16:41:04 +0000 (16:41 +0000)]
bugfix, would make bow-tie faces when skinning more then 2 loops.
big speedup to loop detection
added support for skinning open loops (could be improved, dosnt work that well when open loops have different vert counts)
speedup elsewhere with LC's

14 years ago== Sequencer ==
Peter Schlaile [Fri, 5 Jan 2007 14:26:04 +0000 (14:26 +0000)]
== Sequencer ==
== Plugins ==

Made sequencer plugins work again by boosting the version number and
working around recent changes to the ImBuf-structure for older binary

This commit also restores the original length of name in VarStruct.

14 years agoBugfix #5212:
Joshua Leung [Fri, 5 Jan 2007 08:16:23 +0000 (08:16 +0000)]
Bugfix #5212:

IK Locks/Limits were applied to bones in IK-chains even when the IK
constraint for the chain had an influence value of 0.

I've added a check to see if the ik-constraint found has any influence
over a chain, before the chain is made available for ik-solving.

14 years ago=IPlugins=
Joseph Eagar [Fri, 5 Jan 2007 07:35:16 +0000 (07:35 +0000)]

Updated iff.h to use the latest imbuf struct definition.

14 years agostandard set of minor improvements, tho this is a good script and not much to change.
Campbell Barton [Fri, 5 Jan 2007 03:49:54 +0000 (03:49 +0000)]
standard set of minor improvements, tho this is a good script and not much to change.
faster dict/list operations.
use layer flags ratehr then lists.

14 years agofix, static objects were not dynamically added at the right position.
Erwin Coumans [Fri, 5 Jan 2007 02:31:34 +0000 (02:31 +0000)]
fix, static objects were not dynamically added at the right position.

14 years ago= mdd import update =
Tom Musgrove [Fri, 5 Jan 2007 01:45:54 +0000 (01:45 +0000)]
= mdd import update =

changed menu location from animation menu to import menu

14 years ago= mdd export update =
Tom Musgrove [Fri, 5 Jan 2007 01:42:19 +0000 (01:42 +0000)]
= mdd export update =

changed menu location from animation menu to export menu

14 years ago==dxf import script ==
Tom Musgrove [Fri, 5 Jan 2007 00:51:12 +0000 (00:51 +0000)]
==dxf import script ==

script for DXF import by kitsu (Ed Blake) - provide superior import to our native DXF import for many files

14 years agoBugfix #5600:
Joshua Leung [Fri, 5 Jan 2007 00:23:55 +0000 (00:23 +0000)]
Bugfix #5600:

When clicking on the basis curve of a Curve's shapekeys in the IPO Editor
with 'Relative' turned off, Blender crashed. This was caused by the call to
set_sculpt_object() which only works on meshes (at the moment).

I've added a check to make sure this is only called for meshes. Also, silenced
the 'implicit declaration' warning my compiler was giving me about this function.

14 years ago== NLA Editor - Object Collapsing ==
Joshua Leung [Thu, 4 Jan 2007 23:39:09 +0000 (23:39 +0000)]
== NLA Editor - Object Collapsing ==

Now, objects without actions/nlastrips cannot get collapsed anymore
as it didn't make sense. The open/close triangle is no longer shown
for these.

Also, I went through and made sure all the NLA tools to comply with this.
This fixes bug #5591.

14 years agoA few code cleanups for the IPO cleaning stuff in an attempt to get rid
Joshua Leung [Thu, 4 Jan 2007 22:35:19 +0000 (22:35 +0000)]
A few code cleanups for the IPO cleaning stuff in an attempt to get rid
of a bug which hides all but the active ipo-curve after cleaning. The bug
still remains, but I hope to have a solution soon.

14 years agoFixed two compile warnings I introduced.
Nicholas Bishop [Thu, 4 Jan 2007 22:16:49 +0000 (22:16 +0000)]
Fixed two compile warnings I introduced.

14 years agoRetyped texcolfaces.tex_page to match MTFace.
Nicholas Bishop [Thu, 4 Jan 2007 22:14:40 +0000 (22:14 +0000)]
Retyped texcolfaces.tex_page to match MTFace.

14 years agoMultires bugfix: texcolface.tex_page needs to be updated on file load.
Nicholas Bishop [Thu, 4 Jan 2007 22:09:58 +0000 (22:09 +0000)]
Multires bugfix: texcolface.tex_page needs to be updated on file load.

14 years agoFixed bug #5587, emulated numpad viewport rotation keys non functional in sculpt...
Nicholas Bishop [Thu, 4 Jan 2007 21:42:52 +0000 (21:42 +0000)]
Fixed bug #5587, emulated numpad viewport rotation keys non functional in sculpt mode, was just missing a call to convert_for_nonumpad.

14 years agoUpdate to JMSs scripts fixed bug 5419.
Campbell Barton [Thu, 4 Jan 2007 20:44:33 +0000 (20:44 +0000)]
Update to JMSs scripts fixed bug 5419.

  newstyle classes and fixed an error where objects with no material would fail to export.

14 years ago3ds_export now exports Texface UV images to 3ds's materials - supports material image...
Campbell Barton [Thu, 4 Jan 2007 15:20:28 +0000 (15:20 +0000)]
3ds_export now exports Texface UV images to 3ds's materials - supports material images as well
3ds_import - made it support image maps without a file chunk. unlikely but possible.

14 years agofix for [ #5553 ] Command line broken
Andrea Weikert [Thu, 4 Jan 2007 14:08:05 +0000 (14:08 +0000)]
fix for [ #5553 ] Command line broken
Loading iconfile list via BLI_getdir did change the current directory,
so the file wasn't found anymore.

14 years agotoolbox.c - for the label in VarStruct use the tooltip for the text to get around...
Campbell Barton [Thu, 4 Jan 2007 11:43:13 +0000 (11:43 +0000)]
toolbox.c - for the label in VarStruct use the tooltip for the text to get around the 15 char limit that only allowed you to fill about half of the available area on the clever numbuts panel,
the tip isnt used for a label anyway. added comments explaining whats going on. only effects clever numbuts internaly.

type fixes for

14 years agoChanging the VarStruct name length messed up plugins, so changing back.
Campbell Barton [Thu, 4 Jan 2007 11:15:06 +0000 (11:15 +0000)]
Changing the VarStruct name length messed up plugins, so changing back.

14 years agoremoved, this is the second time where nobody has been able to maint...
Campbell Barton [Thu, 4 Jan 2007 10:18:37 +0000 (10:18 +0000)]
removed, this is the second time where nobody has been able to maintain this script to fix minor bugs, aparently the cal3d/soya guys maintain their own scripts anyhow.

Adding switchDirection() for curNurbs. simple function and double checked to make sure its ok.

14 years agoBugfix #5411
Ton Roosendaal [Thu, 4 Jan 2007 09:30:50 +0000 (09:30 +0000)]
Bugfix #5411

Selecting option conflict... shift+alt+click was used both for 'select with
a menu' as for 'flush selection to group members'.
Solution for now: keep the group select for shift+alt+click, and menu select
for alt+click.

14 years agoFixed bug #5592, change from sculpt mode to edit mode crashes 2.43RC1 on OsX Intel...
Nicholas Bishop [Thu, 4 Jan 2007 07:48:26 +0000 (07:48 +0000)]
Fixed bug #5592, change from sculpt mode to edit mode crashes 2.43RC1 on OsX Intel. Fix was to check that undo data is taken from the correct object.

14 years agoReverted my fix for bug #5539, brush circle cursor is slow. The fix was causing more...
Nicholas Bishop [Thu, 4 Jan 2007 07:03:00 +0000 (07:03 +0000)]
Reverted my fix for bug #5539, brush circle cursor is slow. The fix was causing more sculptmode drawing artifacts for some users. Since this is a non-critical performance related bug, it can wait until after 2.43.

14 years agoFixed bug #5582, Subsurfed Multires'd objects don't display properly with interactive...
Nicholas Bishop [Thu, 4 Jan 2007 06:11:45 +0000 (06:11 +0000)]
Fixed bug #5582, Subsurfed Multires'd objects don't display properly with interactive display unset. Added a new function for sculptmode that checks to make sure that not only are there some modifiers active, but that they are actually enabled for realtime editing.

14 years agobugfix for #5167 images are now exported from the material, (todo - texface) thanks...
Campbell Barton [Thu, 4 Jan 2007 05:59:23 +0000 (05:59 +0000)]
bugfix for #5167 images are now exported from the material, (todo - texface) thanks to digiboy
Also found that the exported UV coords were scrambled, now fixed.

14 years agoMade auto face fill (used in retopo) accessible from FKey editmode menu.
Nicholas Bishop [Thu, 4 Jan 2007 05:24:00 +0000 (05:24 +0000)]
Made auto face fill (used in retopo) accessible from FKey editmode menu.

14 years agoAdded IlmThread to the list of OpenEXR libs for WIN32 by request of
Chris Want [Thu, 4 Jan 2007 01:56:31 +0000 (01:56 +0000)]
Added IlmThread to the list of OpenEXR libs for WIN32 by request of
Eugene Riley. Untested, and I hope the capitalization is correct
-- please test!

14 years ago== Compositor ==
Matt Ebb [Thu, 4 Jan 2007 01:56:21 +0000 (01:56 +0000)]
== Compositor ==
* Ported Math node from shader nodes to composite nodes too

It's a good general purpose utility node and also allows stupid stuff
like this more easily :)

14 years ago== Armatures - Path Drawing Bugfix ==
Joshua Leung [Wed, 3 Jan 2007 23:22:58 +0000 (23:22 +0000)]
== Armatures - Path Drawing Bugfix ==

Now, when several highlighted points on the path occur at the same place
(i.e. when there is a pause) only the first frame number when this is the case
is drawn. This results in less overlapping frame numbers (causing an unreadable
blob of digits)

14 years agoI commited a dumb little icon for Sculpt mode since we didn't have anything.
Kent Mein [Wed, 3 Jan 2007 21:12:56 +0000 (21:12 +0000)]
I commited a dumb little icon for Sculpt mode since we didn't have anything.
If anyone has anything better feel free to blow this one away.
I was going for a chunk of marble and a chisel if anyone is going wtf?


14 years agoBugfix #5515
Ton Roosendaal [Wed, 3 Jan 2007 13:45:03 +0000 (13:45 +0000)]
Bugfix #5515

Having splitted a screen almost into 128 subwindows gives crashes when you
try to make a 'full window'. Code was missing NULL pointer checks for when
new window failed to open...

14 years agoFixed crashes in the Action Editor when keys for shapekeys were displayed
Joshua Leung [Wed, 3 Jan 2007 09:13:42 +0000 (09:13 +0000)]
Fixed crashes in the Action Editor when keys for shapekeys were displayed
and user tries to snap keyframes to frame(s) or mirror keyframes.

14 years agoModified the multires loading code so that it always checks for a NULL edge flag...
Nicholas Bishop [Wed, 3 Jan 2007 07:21:04 +0000 (07:21 +0000)]
Modified the multires loading code so that it always checks for a NULL edge flag array.

14 years agoadded sharp edge theme color
Campbell Barton [Wed, 3 Jan 2007 05:50:17 +0000 (05:50 +0000)]
added sharp edge theme color

14 years ago== 'Smarter' Keyframing Bugfixes ==
Joshua Leung [Wed, 3 Jan 2007 05:13:40 +0000 (05:13 +0000)]
== 'Smarter' Keyframing Bugfixes ==

'Smarter' keyframing tools ('needed' option for manual and auto keyframing)
now work better than before, with more cases handled in an predictable
manner. There are still a few cases it still doesn't handle well yet. Those will be
fixed in the next few days.

See comments in code for rules in place now. Also, I've changed the code
to use the IS_EQ macro instead of my clumsy sqrt((a-b)*(a-b)) calculations.

14 years agoSculptmode propset bugfix: texture angle should be ignored if there's no texture...
Nicholas Bishop [Tue, 2 Jan 2007 22:53:44 +0000 (22:53 +0000)]
Sculptmode propset bugfix: texture angle should be ignored if there's no texture enabled.

14 years agoMultires bugfix: when deleting lower levels, edge flags should be subdivided to the...
Nicholas Bishop [Tue, 2 Jan 2007 22:40:45 +0000 (22:40 +0000)]
Multires bugfix: when deleting lower levels, edge flags should be subdivided to the next level.

14 years agoAdded undo push for retopo all.
Nicholas Bishop [Tue, 2 Jan 2007 20:33:11 +0000 (20:33 +0000)]
Added undo push for retopo all.

14 years agoAnother multires loading fix: if edge_flags is null, allocate a new array
Nicholas Bishop [Tue, 2 Jan 2007 19:28:54 +0000 (19:28 +0000)]
Another multires loading fix: if edge_flags is null, allocate a new array

14 years agoFix for a multires crash: when loading dverts, extra call needed to relink them.
Nicholas Bishop [Tue, 2 Jan 2007 19:23:55 +0000 (19:23 +0000)]
Fix for a multires crash: when loading dverts, extra call needed to relink them.

14 years agoDisabled interaction between multires and shape keys. Attempting to add a shape key...
Nicholas Bishop [Tue, 2 Jan 2007 18:42:41 +0000 (18:42 +0000)]
Disabled interaction between multires and shape keys. Attempting to add a shape key on a multires mesh will give an error, and attempting to add multires to a mesh with shape keys will give the user an okee before deleting shape keys. (This isn't an optimal solution to the multires/shapekey situation, but a real fix is non-trivial.)

14 years agoThe combine HSVA node was missing, now all the color space seperators
Robert Holcomb [Tue, 2 Jan 2007 14:45:59 +0000 (14:45 +0000)]
The combine HSVA node was missing, now all the color space seperators
and combiners are available.

14 years ago== Compositor ==
Matt Ebb [Tue, 2 Jan 2007 14:15:41 +0000 (14:15 +0000)]
== Compositor ==
* Added patch 5251 X/Y Offset to Split Viewer node, by Juho
(with some modifications from the patch version).

Also various small tweaks to compositor drawing & buttons.

14 years agoimproved z-locking (would previously still try to rotate about the view axis and...
Campbell Barton [Tue, 2 Jan 2007 13:54:24 +0000 (13:54 +0000)]
improved z-locking (would previously still try to rotate about the view axis and then right it).
also added error messages for libdata and dont allow views with object locking to fly.

14 years agoweightpaint_envelope_assign - was making an error checking a null vgroup
Campbell Barton [Tue, 2 Jan 2007 13:12:23 +0000 (13:12 +0000)]
weightpaint_envelope_assign - was making an error checking a null vgroup
API_intro - changed URL from elysuin
others - added __copy__() docs.

14 years ago== Armatures - Bone Paths ==
Joshua Leung [Mon, 1 Jan 2007 22:48:09 +0000 (22:48 +0000)]
== Armatures - Bone Paths ==

* Shuffled a few bone-path buttons in the Armature Visualisation panel.

* Added a new option for bone-paths drawing: Calculate/show the path
travelled by the 'head' (fat end) of bone. By default, this option is off.

* Also, I forgot to mention in last commit that I had added an option which
specified the time-difference between each highlighted point on the curve.

14 years agobugfix for #5552, please check this is as you expect (argunda)
Campbell Barton [Mon, 1 Jan 2007 15:27:47 +0000 (15:27 +0000)]
bugfix for #5552, please check this is as you expect (argunda)

Also added ease in/out for roll correction and a small lag for directional changes to motion shouldnt be jurky.

If people are serious about using this to record camera path IPOs then we should have a panel for motion settings (roll correction speed x and z and motion lag for eg.)

14 years agoCorrected IThread.lib to IlmThread.lib.. thanks Stephane :)
Simon Clitherow [Mon, 1 Jan 2007 12:01:41 +0000 (12:01 +0000)]
Corrected IThread.lib to IlmThread.lib.. thanks Stephane :)

14 years agoUpdating scons VC config to OpenEXR 1.4.0
Simon Clitherow [Mon, 1 Jan 2007 11:48:17 +0000 (11:48 +0000)]
Updating scons VC config to OpenEXR 1.4.0

14 years agoSmall change to keep MSVC happy -- defined variable at the start of a conditional...
Simon Clitherow [Mon, 1 Jan 2007 11:30:47 +0000 (11:30 +0000)]
Small change to keep MSVC happy -- defined variable at the start of a conditional block.

14 years ago-> Fix for bug #5472
Geoffrey Bantle [Mon, 1 Jan 2007 09:41:10 +0000 (09:41 +0000)]
-> Fix for bug #5472

Vertex snapping now works with backbuffered selection modes. Previously
backbuffer sampling had no way to check whether or not the indices that
it retrieved were selected or not. To resolve this I added two optional
arguments to sample_backbuf_rect in drawview.c. The first argument tells
the function that some additional testing  of the retrieved index values
needs to be done and the second argument is a pointer to a function to
do the testing. findnearestvert() in editmesh_mods.c now makes use of this
and passes sample_backbuf_rect() the appropriate argument when being used
for vertex snapping.

14 years ago== Armature Ghost and Path Drawing ==
Joshua Leung [Mon, 1 Jan 2007 08:32:11 +0000 (08:32 +0000)]
== Armature Ghost and Path Drawing ==

The Plumiferos Team have requested some improvements to the
ghost and path drawing tools for armatures. These changes make
these more useful, with more customisable settings. A new panel in
the editing panels for armatures has been added to house these

-> Ghosts
In addition to the existing method of showing ghosts either side of the
current frame, it is now possible to show ghosts from a given frame range.
This is useful for visualising how the poses in another part of the animation
changed, while editing another part. The colour of ghosts goes from light
(earlier on) to darker (later on).

-> Paths
Several new options for path drawing have been added.
* It is now possibly specify a frame range in which to calculate paths too.
This offers speedups for longer timelines as a shorter span of time can be
* Keyframes from the active action/action strip can be shown in a different
colour (in the default theme, this is yellow) on the path.
* Frame numbers for the highlighted positions on the path can be drawn.

Two notes of caution:
* For ghost range: keep the frame ranges relatively small (20-50 frames),
otherwise you will experience a slowdown.
* For path frame numbers: if you have a graphics card which is picky about
text in the 3d-view (like x,y,z labels on empty), this may cause issues.

14 years agoAdded support for load/save of multires edge flags
Nicholas Bishop [Mon, 1 Jan 2007 07:53:14 +0000 (07:53 +0000)]
Added support for load/save of multires edge flags

14 years ago->Fix for bug #5542
Geoffrey Bantle [Mon, 1 Jan 2007 01:05:40 +0000 (01:05 +0000)]
->Fix for bug #5542

Missing a check for non-manifold edges in new alt-j code. Fixed now.

14 years ago== Action Editor ==
Joshua Leung [Mon, 1 Jan 2007 00:56:16 +0000 (00:56 +0000)]
== Action Editor ==

Little cleanup to the drawing-internals removing the need for a little
hack I put in for drawing keyframes in the NLA editor for active action

14 years agoFixed bug #5557, retopo - toggling fullscreen shifts painted lines
Nicholas Bishop [Sun, 31 Dec 2006 22:18:21 +0000 (22:18 +0000)]
Fixed bug #5557, retopo - toggling fullscreen shifts painted lines

14 years agoAdded Ctrl+FKey shortcut for rotating the brush texture. Also improved the drawing...
Nicholas Bishop [Sun, 31 Dec 2006 21:55:12 +0000 (21:55 +0000)]
Added Ctrl+FKey shortcut for rotating the brush texture. Also improved the drawing of rotated brushes in propset mode.

14 years agoFixed bug #5556, sculpt - rotated texture is shown unrotated in the brush image
Nicholas Bishop [Sun, 31 Dec 2006 19:49:59 +0000 (19:49 +0000)]
Fixed bug #5556, sculpt - rotated texture is shown unrotated in the brush image

14 years ago== Sequencer ==
Peter Schlaile [Sun, 31 Dec 2006 15:38:14 +0000 (15:38 +0000)]
== Sequencer ==

* The speed controller changes now dynamically the IPO-curve range to
  it's needs. (Frame matching and negative velocities didn't work...
  Obviously nobody tried ;-)
* Fixed some redraw bugs. The IPO window is correctly updated if one pushes
  the IPO Frame locking button.

14 years agoExtended the brush texture rotate option to work with Tile mode.
Nicholas Bishop [Sun, 31 Dec 2006 11:31:39 +0000 (11:31 +0000)]
Extended the brush texture rotate option to work with Tile mode.

14 years agoBugfix for sculptmode texture tiling: tile size should not be affected by brush size.
Nicholas Bishop [Sun, 31 Dec 2006 11:17:57 +0000 (11:17 +0000)]
Bugfix for sculptmode texture tiling: tile size should not be affected by brush size.

14 years agoPrevent user from applying editmode operations that will be ignored by multires.
Nicholas Bishop [Sun, 31 Dec 2006 10:51:21 +0000 (10:51 +0000)]
Prevent user from applying editmode operations that will be ignored by multires.

14 years agoAdded propagation of the edge seam flag for multires. Note that the flag is only...
Nicholas Bishop [Sun, 31 Dec 2006 10:36:48 +0000 (10:36 +0000)]
Added propagation of the edge seam flag for multires. Note that the flag is only stored for level 1.

14 years ago== Bugfix #5550 ==
Joshua Leung [Sun, 31 Dec 2006 07:26:23 +0000 (07:26 +0000)]
== Bugfix #5550 ==

* UV and Radiosity passes are now visible in Outliner (like for other passes)

* Changed tooltip of overwrite material to:
"Name of Material to use as Materials instead"

* Also, fixed Reflection and Refraction passes in the Outliner - flags were
mixed up, so turning on Reflection turned on Refraction and vica-versa.

14 years ago== Compositor ==
Matt Ebb [Sun, 31 Dec 2006 00:28:46 +0000 (00:28 +0000)]
== Compositor ==
* Added a new top-level add menu category for compositing nodes: Distort

It currently contains Translate, Rotate, Scale, Flip, Displace and Map UV

Also did some cleaning up of the ordering of add node menu items to be a
bit better organised.

14 years agoPython API:
Willian Padovani Germano [Sat, 30 Dec 2006 18:28:49 +0000 (18:28 +0000)]
Python API:

-Added missing access to Node win theme (thanks MickaĆ«l Le-bihan for pointing) and also options group and group_active.
-Added Node space to Window.Types dict.
-Tiny update to the save theme script version numbers (keeping 2.42 for now to avoid popups, but should change to 2.43 right before release).

BTW: Happy New Year everyone :).

14 years ago=== Code Fixes ===
Martin Poirier [Sat, 30 Dec 2006 16:35:46 +0000 (16:35 +0000)]
=== Code Fixes ===

Adding missing define for displace node (Matt can change the number when he gets back, this is just to fix compilation)

Removing "#pragma mark" from node.c. IIRC, that's XCode leaving crap around, so be sure to remove them when you commit (it outputs warnings on other compilers).

14 years ago== Compositor ==
Matt Ebb [Sat, 30 Dec 2006 14:47:03 +0000 (14:47 +0000)]
== Compositor ==
* Displace Node

Displaces an input image's pixels based on an input vector mask. This can be
useful for a lot of things, like hot air distortion, quick-and-dirty compo
refraction, compositing live footage behind refracting objects, and more!

The amount of displacement in the X and Y directions is determined by:
* The value of the mask's channels
  - (red) channel 1's value determines displacement along the positive or
  negative X axis
  - (green) channel 2's value determines displacement along the positive or
  negative Y axis

If both the channel's values are equal (i.e. a greyscale image) the input
image will be displaced equally in both X and Y directions, also according to:
* The X scale and Y scale buttons
  - These act as multipliers to increase or decrease the strength of the
  displacement along their respective axes. They need to be set to non-zero
  values for the node to have any effect.

Because of this, you can use the displace node in two ways, with a greyscale
mask(easy to paint, or take from a procedural texture), or with a vector
channel or RGB image, such as a normal pass, which will displace the pixels
based on the normal direction.

A quick practical example:

And some techie examples:

Using a greyscale mask

Using a vector mask

14 years agouse new edge/face keys ittributes
Campbell Barton [Sat, 30 Dec 2006 09:40:05 +0000 (09:40 +0000)]
use new edge/face keys ittributes

14 years ago* theme save script now saves iconThemes and supports string types.
Campbell Barton [Sat, 30 Dec 2006 07:32:58 +0000 (07:32 +0000)]
* theme save script now saves iconThemes and supports string types.
* added .iconTheme variable
* bugfix. drawType was not being saved because Py_BuildValue and __members__ was missing an "s"
* added Blender.Get('icondir')

14 years agoA few little tweaks for compiling purposes.
Joshua Leung [Sat, 30 Dec 2006 05:38:54 +0000 (05:38 +0000)]
A few little tweaks for compiling purposes.

14 years ago* Fix for bug #5555 Numpad zoom does not recognize that the
Matt Ebb [Sat, 30 Dec 2006 05:37:45 +0000 (05:37 +0000)]
* Fix for bug #5555 Numpad zoom does not recognize that the
transform properties window is collapsed.

Just checks now to see if the floating panel is collapsed or not
and where the mouse is before zooming.

14 years ago* Redraw the node editor when render passes are enabled or disabled
Matt Ebb [Sat, 30 Dec 2006 05:36:22 +0000 (05:36 +0000)]
* Redraw the node editor when render passes are enabled or disabled
in the outliner

14 years agoadded pose_bone.displayObject for getting/setting custom bones
Campbell Barton [Sat, 30 Dec 2006 01:04:19 +0000 (01:04 +0000)]
added pose_bone.displayObject for getting/setting custom bones

14 years agoHopefully fixed bug #5437, sculpt - seam selection flushing eats lots of ram on low...
Nicholas Bishop [Sat, 30 Dec 2006 00:51:26 +0000 (00:51 +0000)]
Hopefully fixed bug #5437, sculpt - seam selection flushing eats lots of ram on low multires level

This appears to have been caused by the excessive amount of memory that multires was eating up every time an edit operation pushed a new undo copy. Added a hack for multires that allows it to use the same multires data for multiple undo copies until the user actually changes levels (which is when multires data is actually updated.)

14 years agoAdded texture rotation for sculpt brush (only drag mode for now.)
Nicholas Bishop [Fri, 29 Dec 2006 23:14:34 +0000 (23:14 +0000)]
Added texture rotation for sculpt brush (only drag mode for now.)

14 years agoChanged Add/Sub sculpt menu items to a single Add toggle, shortcut is Vkey
Nicholas Bishop [Fri, 29 Dec 2006 22:09:05 +0000 (22:09 +0000)]
Changed Add/Sub sculpt menu items to a single Add toggle, shortcut is Vkey

14 years agoMore improvements to the sculpt brush panel. Texture scale can now be set independent...
Nicholas Bishop [Fri, 29 Dec 2006 21:53:52 +0000 (21:53 +0000)]
More improvements to the sculpt brush panel. Texture scale can now be set independently on the X/Y/Z axes for 3D textures and the X/Y axes for tiled brushes. The sizes can be locked together for 1:1 scaling.

14 years ago=IDProperties Python Test GUI Script update=
Joseph Eagar [Fri, 29 Dec 2006 21:17:57 +0000 (21:17 +0000)]
=IDProperties Python Test GUI Script update=

Another stupid little coding mistake, made switching
idblock types (like from object to scene) crash the

14 years agoReorganized brush palette into three columns. Changed brush View slider to the range...
Nicholas Bishop [Fri, 29 Dec 2006 20:13:03 +0000 (20:13 +0000)]
Reorganized brush palette into three columns. Changed brush View slider to the range [0-10], since there's really no need to it to values like 93%, 90% is close enough.

14 years agorecord while in fly mode when record is enabled from the timeline.
Campbell Barton [Fri, 29 Dec 2006 18:09:05 +0000 (18:09 +0000)]
record while in fly mode when record is enabled from the timeline.
if play and record are enabled at the same time you can record the flight path.
adds a keyframe for every frame, dosnt support the Keying options in the user prefs.
If no rotation is being done on the camera, no rot keys are applied and same for location.

14 years agodraw the right pannel when weughtpaint+vcol modes are on at the same time.
Campbell Barton [Fri, 29 Dec 2006 13:13:17 +0000 (13:13 +0000)]
draw the right pannel when weughtpaint+vcol modes are on at the same time.
(was drawing the vcol panel in wp mode)
it may be good to not allow both modes at once.

14 years agoJMS's latest SVG importer with his compatibility fixes and optimizations.
Campbell Barton [Fri, 29 Dec 2006 11:09:29 +0000 (11:09 +0000)]
JMS's latest SVG importer with his compatibility fixes and optimizations.

14 years agoBug fix: if a file is saved with sculptmode on and a brush with a texture is enabled...
Nicholas Bishop [Fri, 29 Dec 2006 09:51:29 +0000 (09:51 +0000)]
Bug fix: if a file is saved with sculptmode on and a brush with a texture is enabled, the brush image must be loaded before it can be used.

14 years agoFixed case where sculpt brush texture is not set
Nicholas Bishop [Fri, 29 Dec 2006 09:32:57 +0000 (09:32 +0000)]
Fixed case where sculpt brush texture is not set

14 years agoScene.c - deprecation warning for getScene
Campbell Barton [Fri, 29 Dec 2006 08:57:33 +0000 (08:57 +0000)]
Scene.c - deprecation warning for getScene - use old slow method of adding keyframes. setting IPO's was having problems.

14 years agoSort-of-fix for bug #5382, sculpt - image/texture brush heavily distorted when not...
Nicholas Bishop [Fri, 29 Dec 2006 08:40:19 +0000 (08:40 +0000)]
Sort-of-fix for bug #5382, sculpt - image/texture brush heavily distorted when not sculpting flat relative to screen
Fix for bug #5248, sculpt - mirrored tiled texture odd results

Changed the algorithm used for projecting the brush texture onto the model. The old algorithm was never implemented properly, causing increasingly
wonky distortions of the brush as it got farther away from parallel to the screen. The new system uses the screen coords of vertices, the obvious
advantage being that 2D screen coords can be mapped quite easily to 2D texture coords. The main disadvantage of this method is that there are still
distortions in the brush as the surface beneath it becomes less parallel the screen. These distortions, however, are not as bad as the old ones
because they are predictable from the user's perspective. (It's analogous to a movie being projected onto a sphere; if the viewer is in front of the
sphere there is no apparent distortion, but from the side the movie appears stretched and distorted.)

This may still be worth revisiting after the release.

14 years ago* Patch #5337 from Juho: Ipo vertex size theme setting
Matt Ebb [Fri, 29 Dec 2006 06:58:39 +0000 (06:58 +0000)]
* Patch #5337 from Juho: Ipo vertex size theme setting

(with some small modifications)