14 years ago= line ending fix =
Tom Musgrove [Thu, 18 Jan 2007 08:39:31 +0000 (08:39 +0000)]
= line ending fix =
these files all had non unix line endings...

14 years agoFixed bug #5742, Crash on sculpt mode. This bug was triggered when adding a new objec...
Nicholas Bishop [Thu, 18 Jan 2007 07:04:08 +0000 (07:04 +0000)]
Fixed bug #5742, Crash on sculpt mode. This bug was triggered when adding a new object while already in sculpt mode. Sculpt mode wasn't being deactived on cameras, lamps, etc. Fixed in add_object_draw() by turning off G_SCULPTMODE, also by adding a check in sculpt_init_session() to be sure any previous session is free'd before making a new one.

14 years agoBugfix for retopo paint: deleting a line didn't do an undo push.
Nicholas Bishop [Thu, 18 Jan 2007 04:08:01 +0000 (04:08 +0000)]
Bugfix for retopo paint: deleting a line didn't do an undo push.

14 years agoerror in generating projections fixed.
Campbell Barton [Thu, 18 Jan 2007 01:10:48 +0000 (01:10 +0000)]
error in generating projections fixed.
also modified the margin value so you dont need to have values like 0.001
and added an option not to use face areas to weight projections.

14 years agoBugfix #5732
Ton Roosendaal [Wed, 17 Jan 2007 21:07:10 +0000 (21:07 +0000)]
Bugfix #5732

Python scripts: when setting a layer for an object, the function assumed
the object had to be in the current scene, thus ignoring layers for other

Now the object->lay value is set always.

14 years agobugfix for 5572, BLI_makestringcode was being used to join 2 paths, but adding c...
Campbell Barton [Wed, 17 Jan 2007 15:04:37 +0000 (15:04 +0000)]
bugfix for 5572, BLI_makestringcode was being used to join 2 paths, but adding c:\ to the start of a non root dir. it wold be nice to have a BLI_join_path for this to avoid #ifdef WIN32's in the main code and to check for existing slashes

14 years agobugfix for 5572, BLI_makestringcode was being used to join 2 paths, but adding c...
Campbell Barton [Wed, 17 Jan 2007 15:01:56 +0000 (15:01 +0000)]
bugfix for 5572, BLI_makestringcode was being used to join 2 paths, but adding c:\ to the start of a non root dir. it wold be nice to have a BLI_join_path for this to avoid #ifdef WIN32's in the main code and to check for existing shashes

14 years agoBugfix #5725
Ton Roosendaal [Wed, 17 Jan 2007 14:12:48 +0000 (14:12 +0000)]
Bugfix #5725

Curves widget: using "clipping" option didn't work well when dragging
multiple points. Now it clips based on entire selection.

14 years agoin seqeffects.c I removed and extra ; and then did a lot of formatting
Kent Mein [Wed, 17 Jan 2007 14:10:02 +0000 (14:10 +0000)]
in seqeffects.c I removed and extra ; and then did a lot of formatting

gamma.c made it return B_PLUGIN_VERSION instead of a hard coded 4.
I haven't had time to look at the other plugins but I'm guessing
the deal was B_PLUGIN_VERSION was still 3 and gamma.c was float aware
so it was bummped to 4.  Now that B_PLUGIN_VERSION is 5 I'm guessing
the other plugins need to be updated so they are at level 5 as well.
(float aware)  I'm going to work on it later today.  At home with a
sick kid.  This is all in reference to bug #5692


14 years agobutton alignment for logic buttons
Campbell Barton [Wed, 17 Jan 2007 12:40:40 +0000 (12:40 +0000)]
button alignment for logic buttons

14 years agoFixed bug #5718, retopo - undo after applying returns the pen strokes to the wrong...
Nicholas Bishop [Wed, 17 Jan 2007 08:22:52 +0000 (08:22 +0000)]
Fixed bug #5718, retopo - undo after applying returns the pen strokes to the wrong location

14 years ago(Hopefully this commit is ok for current bcon status)
Joshua Leung [Wed, 17 Jan 2007 05:53:44 +0000 (05:53 +0000)]
(Hopefully this commit is ok for current bcon status)

Moved function used for 'Visual' keyframing, to live with the rest of the
API calls I added for Pose-Mode bone snapping. Now, it is in a more
'releasable' state.

14 years agoFixed bug #5647, retopo - projection buffer not updated when changed via numpad....
Nicholas Bishop [Wed, 17 Jan 2007 04:02:09 +0000 (04:02 +0000)]
Fixed bug #5647, retopo - projection buffer not updated when changed via numpad. Was caused by not updating the depth and matrix retopo data when changing the view.

14 years agoAdded a new function+struct to glutil that takes care of reading in the OpenGL data...
Nicholas Bishop [Wed, 17 Jan 2007 03:57:01 +0000 (03:57 +0000)]
Added a new function+struct to glutil that takes care of reading in the OpenGL data needed for gluProject/gluUnProject. This allows retopo and sculptmode to share some of the same code, and is probably useful elsewhere as well.

14 years ago== NLA Visibility Tweak ==
Joshua Leung [Wed, 17 Jan 2007 03:24:21 +0000 (03:24 +0000)]
== NLA Visibility Tweak ==

In a few cases, it may be helpful to turn off the 'only show objects that are
in visible scene layers in the nla' trick. By default though, this is still on. Find
the switch in the View menu of NLA editor.

14 years agoCorrected buffer generation in matte nodes after Ton showed me a better way to do it.
Robert Holcomb [Tue, 16 Jan 2007 21:52:46 +0000 (21:52 +0000)]
Corrected buffer generation in matte nodes after Ton showed me a better way to do it.

14 years agofixed stupid little warning about targets differ in signedness.
Kent Mein [Tue, 16 Jan 2007 21:34:39 +0000 (21:34 +0000)]
fixed stupid little warning about targets differ in signedness.
(unsigned char verses char)


14 years agoRetopo paint fix: cleaned up the hotkeys, added Lkey for selecting the line tool...
Nicholas Bishop [Tue, 16 Jan 2007 19:39:30 +0000 (19:39 +0000)]
Retopo paint fix: cleaned up the hotkeys, added Lkey for selecting the line tool, Hkey for toggling the pen hotspot.

14 years agoFix for retopo: xkey and deletekey should remove the active paint line.
Nicholas Bishop [Tue, 16 Jan 2007 19:21:24 +0000 (19:21 +0000)]
Fix for retopo: xkey and deletekey should remove the active paint line.

14 years agoUsabilility fix for retopo: allow user to disable hotspots on line ends, also only...
Nicholas Bishop [Tue, 16 Jan 2007 19:06:58 +0000 (19:06 +0000)]
Usabilility fix for retopo: allow user to disable hotspots on line ends, also only display the controls for each tool (pen, line, and ellipse) when that tool is selected.)

14 years ago=== Transform Bug Fix ===
Martin Poirier [Tue, 16 Jan 2007 18:55:15 +0000 (18:55 +0000)]
=== Transform Bug Fix ===

[ #5458 ] Some transforms are not accurate while pressing shift key

Shrink/Fatten & Push/Pull: Shift slowed the transformation but didn't add precision. (integer division. fixed by applying the same solution used in Grab)

Warp: Shift was ignored. Fixed by changing warp to use the same input method has To Sphere. That is, the 3D view acts like a big horizontal slider: Left -> No effect, Right -> Full effect. This is somewhat of a "big" change from how warp used to work but this is more predictable and is not limited by the original position of the mouse pointer. (of course, this works with Shift correctly too).

14 years agoBugfix:
Ton Roosendaal [Tue, 16 Jan 2007 16:30:16 +0000 (16:30 +0000)]

Render: Ambient Occlusion was being triggered now with the Material flag
(Shader panel) "Shadow". Nice idea, but that was not so in 2.42a and
before, breaking how previously renders looked.

Now the "Shadow" button in Shaders panel only triggers shadow again.
(Note: the Ambient slider in material triggers AO)

14 years agodont use python keywords as variable names.
Campbell Barton [Tue, 16 Jan 2007 15:19:04 +0000 (15:19 +0000)]
dont use python keywords as variable names.

14 years agocleaned up uv island projection generation and added an option 'Init from view' ...
Campbell Barton [Tue, 16 Jan 2007 14:33:32 +0000 (14:33 +0000)]
cleaned up uv island projection generation and added an option 'Init from view' - to use the view vector as one of the first projections

14 years ago== Armature Joining Bugfixes ==
Joshua Leung [Tue, 16 Jan 2007 09:18:01 +0000 (09:18 +0000)]
== Armature Joining Bugfixes ==

Since 2.40 (and a few pre-releases around then), armature joining has not
worked correctly. Constraints and other attributes of bones in posemode
(IK DOF limits, transform locks, custom shapes, etc.) were not preserved
on the armature(s) that were joined onto the last selected armature. This
was a serious production problem, as it meant that you could not easily
add pre-made rig segments and merge them with the rest of your rigs without
having to redo all the constraints. After a few attempts, I've finally
managed to fix this.

All constraints and parenting relationships get name corrections for the post-
merge armatures. Action channels in actions don't really get any corrections
yet unless the action is being used by an Action Constraint.

Python-API people: beware, I may have broken something in this commit.

14 years agoRetopo bugfix: freeing editmesh should set retopo fields to 0/NULL.
Nicholas Bishop [Tue, 16 Jan 2007 08:29:39 +0000 (08:29 +0000)]
Retopo bugfix: freeing editmesh should set retopo fields to 0/NULL.

14 years agoFix for bug #5628, sculpt - ghost of circle left when going from 3d view to buttons...
Nicholas Bishop [Tue, 16 Jan 2007 07:35:42 +0000 (07:35 +0000)]
Fix for bug #5628, sculpt - ghost of circle left when going from 3d view to buttons window. Added a check to insure brush is inside the current view3d before drawing.

14 years agoFixed a memory leak caused by using sculptmode's partial visibility on a mesh with...
Nicholas Bishop [Tue, 16 Jan 2007 06:56:03 +0000 (06:56 +0000)]
Fixed a memory leak caused by using sculptmode's partial visibility on a mesh with customdata.

14 years agoA few fixes for saving/loading partial mesh visibility (sculptmode): pay better atten...
Nicholas Bishop [Tue, 16 Jan 2007 06:49:57 +0000 (06:49 +0000)]
A few fixes for saving/loading partial mesh visibility (sculptmode): pay better attention to how many verts/edges/faces there really are (not just the visibile ones)

14 years agoset the render aspect correctly when rendering non square images.
Campbell Barton [Tue, 16 Jan 2007 06:39:15 +0000 (06:39 +0000)]
set the render aspect correctly when rendering non square images.

14 years agoDisable partial mesh visibility when leaving sculptmode.
Nicholas Bishop [Tue, 16 Jan 2007 06:36:50 +0000 (06:36 +0000)]
Disable partial mesh visibility when leaving sculptmode.

14 years agofix for warning: implicit declaration of function 'id_us_plus'. tsk.
Stephen Swaney [Tue, 16 Jan 2007 05:20:39 +0000 (05:20 +0000)]
fix for warning: implicit declaration of function 'id_us_plus'.  tsk.

14 years agobugfix: #5581 Joining python created curves crashes Blender
Stephen Swaney [Tue, 16 Jan 2007 04:08:12 +0000 (04:08 +0000)]
bugfix: #5581 Joining python created curves crashes Blender

Curve_appendNurb() was incorrectly appending Nurb to Curve
rather than using BLI_addtail().

14 years agowasnt working for mixed modes
Campbell Barton [Tue, 16 Jan 2007 02:49:58 +0000 (02:49 +0000)]
wasnt working for mixed modes

14 years agoScripts:
Willian Padovani Germano [Tue, 16 Jan 2007 00:50:31 +0000 (00:50 +0000)]
  More small updates to the ac3d importer, to calculate normals for the created meshes and to avoid problems with older .ac files.

14 years agowas missing a check for the end edge that made skinning it raise an error.
Campbell Barton [Mon, 15 Jan 2007 23:37:34 +0000 (23:37 +0000)]
was missing a check for the end edge that made skinning it raise an error.

14 years ago== Action Editor ==
Joshua Leung [Mon, 15 Jan 2007 22:37:36 +0000 (22:37 +0000)]
== Action Editor ==

Final tweaks to Snapping and Mirroring tools:
* Snap To Nearest Marker
* Mirror Values of Horizontal Axis
* Mirror Over Selected Marker

14 years agoFurther tweaks to the textframe drawing code... it was unnecessarily
Alexander Ewering [Mon, 15 Jan 2007 22:31:22 +0000 (22:31 +0000)]
Further tweaks to the textframe drawing code... it was unnecessarily

14 years agoPartial Bugfix #5713:
Alexander Ewering [Mon, 15 Jan 2007 22:18:42 +0000 (22:18 +0000)]
Partial Bugfix #5713:

Textframe heights now draw exactly as set in the buttons.

14 years agoCleanup of pose insert methods for Armature objects, as planned in the post to bf...
Toni Alatalo [Mon, 15 Jan 2007 16:00:36 +0000 (16:00 +0000)]
Cleanup of pose insert methods for Armature objects, as planned in the post to bf-python.
Two sensible methods left in: armatureobject.insertPoseKey and .insertCurrentPoseKey,
but still left unofficial i.e. not published in the api doc yet, because of additional
error checking is still needed and more testing too. But at least is now in better shape to
work on to be published in a later release.

14 years agoBugfix:
Ton Roosendaal [Mon, 15 Jan 2007 15:10:31 +0000 (15:10 +0000)]

Material buttons: "Strands" menu closed after each button usage. Should
remain open until ENTER or ESC pressed or mouse leaves menu.

14 years agoRemoved annoying print for "icon directory not found". Was a missing check.
Ton Roosendaal [Mon, 15 Jan 2007 15:01:58 +0000 (15:01 +0000)]
Removed annoying print for "icon directory not found". Was a missing check.
Probably, after release, we make this default in installs.

Also cleaned up code a bit.

14 years agoRestored language order of menu... it apparently uses the order of entries
Ton Roosendaal [Mon, 15 Jan 2007 14:11:38 +0000 (14:11 +0000)]
Restored language order of menu... it apparently uses the order of entries
to remember chosen language.
Currently arab was default even! :)

(Fix caused by commit of 9 days ago)

14 years agoRemoved float.h "tanf()" from composte code. Also removed ifdef for atanf.
Ton Roosendaal [Mon, 15 Jan 2007 13:58:41 +0000 (13:58 +0000)]
Removed float.h "tanf()" from composte code. Also removed ifdef for atanf.

(note; this is because blender still follows the convention that no float.h
math is available)

14 years agoTwo in one:
Ton Roosendaal [Mon, 15 Jan 2007 12:44:45 +0000 (12:44 +0000)]
Two in one:

- Bugfix #5714
  New option "Save changed images" didn't respect relative file names

- Bugfix #5621
  New camera (shiftx, shifty) was missing in IpoWindow as animatable option

14 years agoBugfix #5712
Ton Roosendaal [Mon, 15 Jan 2007 11:41:10 +0000 (11:41 +0000)]
Bugfix #5712

UV rendering error: the third value of a UV texture coordinate should be
set to zero always, this enables 3d textures to work uniform with UV.

Also fixed: UV pass output for non_OSA is now equal to OSA, meaning only
used UV face values are in such passes.

14 years agoBugfix #5700
Ton Roosendaal [Mon, 15 Jan 2007 11:01:41 +0000 (11:01 +0000)]
Bugfix #5700

Deleting a marker could crash, it was reading memory right after it was

14 years agowhen a vert is shared by more then 1 vertloop give a nice error and exit
Campbell Barton [Mon, 15 Jan 2007 07:59:29 +0000 (07:59 +0000)]
when a vert is shared by more then 1 vertloop give a nice error and exit

14 years ago=ID Property Script update and api bugfix=
Joseph Eagar [Mon, 15 Jan 2007 07:54:08 +0000 (07:54 +0000)]
=ID Property Script update and api bugfix=

Turned out somehow I managed to miss adding the proper
type refs in Blender.Types for IDGroupType and IDArrayType,
which made the script not work.  So, I've got it all fixed now.
Or at least hopefully :)

14 years ago== VisualRot Keyframing ==
Joshua Leung [Mon, 15 Jan 2007 01:56:58 +0000 (01:56 +0000)]
== VisualRot Keyframing ==

After extensive testing, I've concluded that VisualRot keyframing
didn't work at all for bones. On the other hand, VisualRot for Objects
worked fine. Now I've come up with a fix, which should make this
actually work for IK/FK switching (I hope).

The fix I'm committing is slightly hacky as it tempolarily overwrites the
bone's rotation/quat values with the 'visual' ones, inserts keyframes,
then resets the values it wrote on before.

This hack was needed as for some strange reason, the values being
added as keyframes were not the ones that had been derived. Note
that on some bones, there will be a little bit of strange rotation after
frame changes while their constraints are left on.

14 years ago=== Constraints Bug Fix ===
Martin Poirier [Sun, 14 Jan 2007 23:42:06 +0000 (23:42 +0000)]
=== Constraints Bug Fix ===

Fix for bug: [ #5418 ] Follow Path constraint overrides objects' inherited scale

Patch provided by Aligorith.

14 years agoScripts:
Willian Padovani Germano [Sun, 14 Jan 2007 18:13:47 +0000 (18:13 +0000)]

Misc updates to the ac3d importer and exporter:
- use Mesh instead of NMesh;
- properly export modified data and materials from either ob or obdata (thanks for mesh.getFromObject :) );
- option to export local rot and loc info;
- better import / export of hierarchies;
- + tiny updates here and there to support old or weird .ac files.

14 years agoFix for bug #5439:
Brecht Van Lommel [Sun, 14 Jan 2007 15:52:55 +0000 (15:52 +0000)]
Fix for bug #5439:
UV Project modifies original UV coords.

14 years agoFix for auto filling faces in editmode: make sure all verts forming a face are select...
Nicholas Bishop [Sun, 14 Jan 2007 15:36:19 +0000 (15:36 +0000)]
Fix for auto filling faces in editmode: make sure all verts forming a face are selected before creating the face.

14 years agoFix for bug #5680:
Brecht Van Lommel [Sun, 14 Jan 2007 15:19:27 +0000 (15:19 +0000)]
Fix for bug #5680:
Vertex color node worked only if VCol Paint/Light was enabled. Fixed
that, and removed the vertex color node making it part of the geometry
node instead.

Also, preview.blend had black vertex colors for the sphere, so set them
to white like the other primitives.

14 years agoBugfix: after drawing a preview in a node shader, vertex colors would
Brecht Van Lommel [Sun, 14 Jan 2007 12:51:01 +0000 (12:51 +0000)]
Bugfix: after drawing a preview in a node shader, vertex colors would
not modulate the texture color in textured draw mode anymore. Cause was
the relevant opengl state not being changed back for drawing the mesh.

14 years agoFix for bug #5689:
Brecht Van Lommel [Sun, 14 Jan 2007 12:35:45 +0000 (12:35 +0000)]
Fix for bug #5689:
Loss of UV coordinates reading from 2.42 .blend files, if there were
both vertex colors and tfaces (these contained colors also). It should
have been impossible to create them both in 2.42, but even if invalid
we should read them correct.

14 years agoImportant bugfix: Image mapping "repeat" didn't support mirrored tiling
Ton Roosendaal [Sun, 14 Jan 2007 11:51:52 +0000 (11:51 +0000)]
Important bugfix: Image mapping "repeat" didn't support mirrored tiling

Psst psst... to solve this bug I had to add the buttons for the option too!

14 years ago== IPO Cleaning ==
Joshua Leung [Sun, 14 Jan 2007 09:30:04 +0000 (09:30 +0000)]
== IPO Cleaning ==

Rewrote the core-function responsible for ipo-cleaning. Now, it is in a less
wacko form. What is still not done is the conversion of a bunch of points
describing an arc to an arc defined by the handles of the keyframes on
either side of the arc. That will have to wait for the next development cycle.

This rewrite fixes two big bugs with the code:
* All but first curve got hidden aften cleaning
* Cleaning a curve with only two verts resulted in only one vert, even though
the values were not the same.

14 years agoCleaned up some warnings.
Nicholas Bishop [Sun, 14 Jan 2007 05:31:35 +0000 (05:31 +0000)]
Cleaned up some warnings.

14 years agoRemoved draw_mode from SculptData, replaced with draw_flag, which currently controls...
Nicholas Bishop [Sun, 14 Jan 2007 04:55:51 +0000 (04:55 +0000)]
Removed draw_mode from SculptData, replaced with draw_flag, which currently controls whether to use partial redraw and whether to draw the brush circle. Added new menu option for display of brush circle.

14 years agoCorrected initialization values for the chroma key node when it is created.
Robert Holcomb [Sun, 14 Jan 2007 03:52:55 +0000 (03:52 +0000)]
Corrected initialization values for the chroma key node when it is created.

14 years agoAfter reviewing the channel keyer algorithm, I found that the chroma keyer algorithm...
Robert Holcomb [Sun, 14 Jan 2007 03:42:55 +0000 (03:42 +0000)]
After reviewing the channel keyer algorithm, I found that the chroma keyer algorithm was fundamentally the same.  Took the opportunity to implement
a different chroma keying algorithm.  This also solves the problem of the poor UI I had on the chroma key node.

14 years agofixed typo in node name (I need to learn to spell). Also added check in matte nodes...
Robert Holcomb [Sun, 14 Jan 2007 00:05:06 +0000 (00:05 +0000)]
fixed typo in node name (I need to learn to spell).  Also added check in matte nodes to see if ouput is connected for the generated matte before
creating it.

14 years agoRe-added the Luma keyer after realizing channeldid not exactly same capability and...
Robert Holcomb [Sat, 13 Jan 2007 22:56:26 +0000 (22:56 +0000)]
Re-added the Luma keyer after realizing channeldid not exactly same capability and could not without sgnificant change.

14 years ago== Action Editor - Delete Menu ==
Joshua Leung [Sat, 13 Jan 2007 22:43:46 +0000 (22:43 +0000)]
== Action Editor - Delete Menu ==

Removed the 'Both' option as it didn't really work at all; bringing the
Action Editor back into line with the other time-spaces.

14 years agoPython API
Ken Hughes [Sat, 13 Jan 2007 18:37:14 +0000 (18:37 +0000)]
Python API
Changed Mesh Primitives doc example to use

14 years agoBugfix #5698
Ton Roosendaal [Sat, 13 Jan 2007 10:52:39 +0000 (10:52 +0000)]
Bugfix #5698

Material Node Shader crash: new "layered UV" option required a better
version patch... now patches all 2.42.x files, and not only the 2.42.2 and
older :). Yes, subversioning doesn't always make things easier.

14 years agoAdd a break, to get the bumpmap demo running again!
Charlie Carley [Sat, 13 Jan 2007 09:00:17 +0000 (09:00 +0000)]
Add a break, to get the bumpmap demo running again!

14 years agoFirst commit! Small bug fix for cube map crashing in the player.
Charlie Carley [Sat, 13 Jan 2007 08:30:08 +0000 (08:30 +0000)]
First commit! Small bug fix for cube map crashing in the player.
Cube maps don't display correctly in the player at the moment too.. something to do with regenerating/loading the images

14 years agoadded stress and tangent to MTex and texture mapping dict
Campbell Barton [Sat, 13 Jan 2007 05:06:28 +0000 (05:06 +0000)]
added stress and tangent to MTex and texture mapping dict

14 years agodriverExpression - strcpy on wrong type (my bad) fixed.
Campbell Barton [Sat, 13 Jan 2007 04:53:41 +0000 (04:53 +0000)]
driverExpression - strcpy on wrong type (my bad) fixed.
added .sel bool for Ipo curves.

14 years agoimport_obj - name imported objects/mesh data
Campbell Barton [Sat, 13 Jan 2007 03:07:04 +0000 (03:07 +0000)]
import_obj - name imported objects/mesh data
weightpaint_clean - report how many verts removed from groups
save_theme - no need to do type(''), just use type(vat) == str

14 years ago== NLA Editor - Shift-N ==
Joshua Leung [Sat, 13 Jan 2007 02:40:28 +0000 (02:40 +0000)]
== NLA Editor - Shift-N ==

A few tweaks to this little tool I added yesterday. These tweaks are so
that bugs like #5625 and #5636 are less likely to occur due to extreme

Now, for action strips added using this:
* Auto-calculation of action range is disabled for that strip
* Strip Start and Action Start are set to the current frame value, when the
strip was added
* Strip End and Action End are set to either the end frame value or 100
frames after the current frame value, whichever is higher.

14 years agodisp_paint - was raising an error when the mesh had no image and texuv was selected...
Campbell Barton [Sat, 13 Jan 2007 02:03:38 +0000 (02:03 +0000)]
disp_paint - was raising an error when the mesh had no image and texuv was selected, or when the image had no data.
discombobulator - updated to use newer API functions
object_random_loc_sz_rot - improved layout and use new Scene objects.context

14 years agoFix for bug #5694:
Brecht Van Lommel [Sat, 13 Jan 2007 00:02:37 +0000 (00:02 +0000)]
Fix for bug #5694:
Another issue with division by zero in texture paint, this time in
torus wrapping.

14 years agoPython API
Ken Hughes [Fri, 12 Jan 2007 22:40:30 +0000 (22:40 +0000)]
Python API
Added CurNurb.recalc() method.  I thought I had commited this before as part
of a bugfix but obviously not.  It allows control point handles be recalculated
after changing  a curve's bezTriples.

14 years agoPython API
Ken Hughes [Fri, 12 Jan 2007 22:35:42 +0000 (22:35 +0000)]
Python API
Typo corrections in Mesh API doc.

14 years agoPython API
Ken Hughes [Fri, 12 Jan 2007 22:15:33 +0000 (22:15 +0000)]
Python API
Bugfix: Object.setEuler() didn't accept an Euler object.

14 years agoBugfix, Plumiferos collection: Composite node "Image" didn't show the Z
Ton Roosendaal [Fri, 12 Jan 2007 16:33:34 +0000 (16:33 +0000)]
Bugfix, Plumiferos collection: Composite node "Image" didn't show the Z
output socket for regular images anymore.

14 years agoEnabled slashkey in sculptmode for local view.
Nicholas Bishop [Fri, 12 Jan 2007 16:16:59 +0000 (16:16 +0000)]
Enabled slashkey in sculptmode for local view.

14 years agoPatch from Matt: for AO baking, instead of warning user that AO was not
Ton Roosendaal [Fri, 12 Jan 2007 13:17:15 +0000 (13:17 +0000)]
Patch from Matt: for AO baking, instead of warning user that AO was not
active or setup, it just turns on the flags and continues.

14 years agoBugfixes:
Ton Roosendaal [Fri, 12 Jan 2007 11:13:34 +0000 (11:13 +0000)]

- the "number/string button widget", or sbutton(), button() and fbutton()
  calls, were using button event '1' or '2' to denote events, whilst this
  could also be an other defined event.
  Bug showed as unwanted display changes in ipo window after using marker
  renaming for example.

- slider buttons for Action Window were expecting ints, while using short.

- cleanup in blender/src for warnings

14 years agoforgot to convert the matrix to a 3x3. worked but raised a warning.
Campbell Barton [Fri, 12 Jan 2007 10:39:59 +0000 (10:39 +0000)]
forgot to convert the matrix to a 3x3. worked but raised a warning.

14 years ago= removed nendo import/export and tex2uvbaker =
Tom Musgrove [Fri, 12 Jan 2007 09:08:00 +0000 (09:08 +0000)]
= removed nendo import/export and tex2uvbaker =

tex2uvbaker is now redundant with buitin functionality so thank you for maintaining this script in the past.  nendo is a marginal format and the scripts are not maintained so removing

14 years ago - first commit form mac ;-), changed data structure VObjectData a little,
Jiri Hnidek [Fri, 12 Jan 2007 08:51:16 +0000 (08:51 +0000)]
 - first commit form mac ;-), changed data structure VObjectData a little,
   removed unused code

14 years agoAdded warning for if user attempts to sculpt on a shapekey without turning on the...
Nicholas Bishop [Fri, 12 Jan 2007 08:23:40 +0000 (08:23 +0000)]
Added warning for if user attempts to sculpt on a shapekey without turning on the lock (doesn't make sense to sculpt on an interpolated shapekey.)

14 years agoRemoved yet another use of set_sculpt_object.
Nicholas Bishop [Fri, 12 Jan 2007 06:17:03 +0000 (06:17 +0000)]
Removed yet another use of set_sculpt_object.

14 years agoAdded a couple things my last commit missed; one more usage of set_sculpt_object...
Nicholas Bishop [Fri, 12 Jan 2007 06:13:33 +0000 (06:13 +0000)]
Added a couple things my last commit missed; one more usage of set_sculpt_object removed, also added a check to make sure the user doesn't try to use partial visiblility on a mesh with shapekeys

14 years agoBugfix #5690:
Joshua Leung [Fri, 12 Jan 2007 05:29:59 +0000 (05:29 +0000)]
Bugfix #5690:

If you set the value of undosteps in userprefs to zero, and tried to save
defaults, the value would get reset to 32. Caused by out-of-place version

14 years ago* Fix: The sculptmode hotkey I to change to Inflate brush wasn't working,
Matt Ebb [Fri, 12 Jan 2007 05:26:17 +0000 (05:26 +0000)]
* Fix: The sculptmode hotkey I to change to Inflate brush wasn't working,
since it was being overridden by blenderqread() in toets.c The existence of
this stuff here alongside the hotkeys in space.c is just plain evil, bring on
the events refactor! :)

14 years agoRemoved set_sculpt_object. Tested with sculpt undo, sculpt+multires, sculpt+partial...
Nicholas Bishop [Fri, 12 Jan 2007 05:13:36 +0000 (05:13 +0000)]
Removed set_sculpt_object. Tested with sculpt undo, sculpt+multires, sculpt+partial visibility, and sculpt+shapekeys, seems stable.

14 years agoChanged the way sculptmode interacts with shape keys. Vertex coordinates are now...
Nicholas Bishop [Fri, 12 Jan 2007 04:47:38 +0000 (04:47 +0000)]
Changed the way sculptmode interacts with shape keys. Vertex coordinates are now copied into the active key at the end of each brush action. (This is in preperation for removing the function set_sculpt_object.)

14 years ago== Action Editor - Grab Transform ==
Joshua Leung [Fri, 12 Jan 2007 04:21:23 +0000 (04:21 +0000)]
== Action Editor - Grab Transform ==

Fixed bug with 'grid-stepping' with scaled actions. Now, when holding the
Ctrl key or with auto-snapping in this mode, keys move in 1.0 frame intervals
all the time (not just when action was unscaled).

14 years ago== NLA Editor ==
Joshua Leung [Fri, 12 Jan 2007 02:34:47 +0000 (02:34 +0000)]
== NLA Editor ==

Minor workflow tweak - Add New Empty Action as New Action Strip.
Hotkey: Shift N.
Menu Entry: 'Strip' menu

Creates a new action, and adds it as an action strip at the bottom of
the list nla-strips for an object. Useful for creating additional strips to
correct poses of prior strips.

14 years ago== Interface ==
Matt Ebb [Fri, 12 Jan 2007 01:13:27 +0000 (01:13 +0000)]
== Interface ==

Touched up the render baking header menu.

14 years agoerror, camera scale couldnt be set. bpyrender now sets ortho properly
Campbell Barton [Fri, 12 Jan 2007 00:31:18 +0000 (00:31 +0000)]
error, camera scale couldnt be set. bpyrender now sets ortho properly

14 years ago==== MSVC 7 project files ====
Andrea Weikert [Thu, 11 Jan 2007 20:01:31 +0000 (20:01 +0000)]
==== MSVC 7 project files ====
- small update:added multires-firstlevel.c

14 years agoPython API
Ken Hughes [Thu, 11 Jan 2007 15:27:58 +0000 (15:27 +0000)]
Python API
Change Scene API example to use instead of

14 years agoFix for bug #5666:
Brecht Van Lommel [Thu, 11 Jan 2007 15:00:17 +0000 (15:00 +0000)]
Fix for bug #5666:
Crash texture painting with airbrush and pressure, due to division by
zero and resulting nan's. Cause of this crash found by Andrea, thanks!