Commit Graph

9107 Commits

Author SHA1 Message Date
Campbell Barton
dc00d9c5de set the render aspect correctly when rendering non square images. 2007-01-16 06:39:15 +00:00
Nicholas Bishop
49d1d10c1b Disable partial mesh visibility when leaving sculptmode. 2007-01-16 06:36:50 +00:00
Stephen Swaney
fbfe27761a fix for warning: implicit declaration of function 'id_us_plus'. tsk. 2007-01-16 05:20:39 +00:00
Stephen Swaney
d917157f59 bugfix: #5581 Joining python created curves crashes Blender
Curve_appendNurb() was incorrectly appending Nurb to Curve
rather than using BLI_addtail().
2007-01-16 04:08:12 +00:00
Campbell Barton
dced690915 wasnt working for mixed modes 2007-01-16 02:49:58 +00:00
Willian Padovani Germano
feb63d7d3b Scripts:
More small updates to the ac3d importer, to calculate normals for the created meshes and to avoid problems with older .ac files.
2007-01-16 00:50:31 +00:00
Campbell Barton
72de9a64c9 was missing a check for the end edge that made skinning it raise an error. 2007-01-15 23:37:34 +00:00
Joshua Leung
09bd559939 == Action Editor ==
Final tweaks to Snapping and Mirroring tools:
* Snap To Nearest Marker
* Mirror Values of Horizontal Axis
* Mirror Over Selected Marker
2007-01-15 22:37:36 +00:00
Alexander Ewering
71a503f31d Further tweaks to the textframe drawing code... it was unnecessarily
complicated...
2007-01-15 22:31:22 +00:00
Alexander Ewering
2526702368 Partial Bugfix #5713:
Textframe heights now draw exactly as set in the buttons.
2007-01-15 22:18:42 +00:00
Toni Alatalo
048bb84f82 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.
2007-01-15 16:00:36 +00:00
Ton Roosendaal
c1cc7522b3 Bugfix:
Material buttons: "Strands" menu closed after each button usage. Should
remain open until ENTER or ESC pressed or mouse leaves menu.
2007-01-15 15:10:31 +00:00
Ton Roosendaal
68c8a74746 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.
2007-01-15 15:01:58 +00:00
Ton Roosendaal
30f84055db 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)
2007-01-15 14:11:38 +00:00
Ton Roosendaal
12c623dff5 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)
2007-01-15 13:58:41 +00:00
Ton Roosendaal
c01aaac311 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
2007-01-15 12:44:45 +00:00
Ton Roosendaal
a8a339b26e 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.
2007-01-15 11:41:10 +00:00
Ton Roosendaal
2170b007f0 Bugfix #5700
Deleting a marker could crash, it was reading memory right after it was
freed.
2007-01-15 11:01:41 +00:00
Campbell Barton
a77178467b when a vert is shared by more then 1 vertloop give a nice error and exit 2007-01-15 07:59:29 +00:00
Joseph Eagar
7a19fe19f6 =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 :)
2007-01-15 07:54:08 +00:00
Joshua Leung
1645e8d287 == 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.
2007-01-15 01:56:58 +00:00
Martin Poirier
3318bef2f1 === Constraints Bug Fix ===
Fix for bug: [ #5418 ] Follow Path constraint overrides objects' inherited scale

Patch provided by Aligorith.
2007-01-14 23:42:06 +00:00
Willian Padovani Germano
82bfd281f2 Scripts:
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.
2007-01-14 18:13:47 +00:00
Brecht Van Lommel
d90c686bdb Fix for bug #5439:
UV Project modifies original UV coords.
2007-01-14 15:52:55 +00:00
Nicholas Bishop
9ff80bea56 Fix for auto filling faces in editmode: make sure all verts forming a face are selected before creating the face. 2007-01-14 15:36:19 +00:00
Brecht Van Lommel
878d9f9c68 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.
2007-01-14 15:19:27 +00:00
Brecht Van Lommel
d4f4bf85be 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.
2007-01-14 12:51:01 +00:00
Brecht Van Lommel
b7ccb830d2 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.
2007-01-14 12:35:45 +00:00
Ton Roosendaal
bd0f9a59f0 Important bugfix: Image mapping "repeat" didn't support mirrored tiling
yet: http://www.blender.org/bf/rep1.jpg

Psst psst... to solve this bug I had to add the buttons for the option too!
2007-01-14 11:51:52 +00:00
Joshua Leung
444246d016 == 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.
2007-01-14 09:30:04 +00:00
Nicholas Bishop
1807fb2484 Cleaned up some warnings. 2007-01-14 05:31:35 +00:00
Nicholas Bishop
e835a0ea55 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. 2007-01-14 04:55:51 +00:00
Robert Holcomb
8903169218 Corrected initialization values for the chroma key node when it is created. 2007-01-14 03:52:55 +00:00
Robert Holcomb
4d56baa8da 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.
2007-01-14 03:42:55 +00:00
Robert Holcomb
29ae98f501 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.
2007-01-14 00:05:06 +00:00
Robert Holcomb
611b583acc Re-added the Luma keyer after realizing channeldid not exactly same capability and could not without sgnificant change. 2007-01-13 22:56:26 +00:00
Joshua Leung
0535c2c8ad == 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.
2007-01-13 22:43:46 +00:00
Ken Hughes
8ea091568f Python API
----------
Changed Mesh Primitives doc example to use scn.objects.new().
2007-01-13 18:37:14 +00:00
Ton Roosendaal
5fd071070b 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.
2007-01-13 10:52:39 +00:00
Charlie Carley
cc041b114b Add a break, to get the bumpmap demo running again! 2007-01-13 09:00:17 +00:00
Charlie Carley
c4202fbd43 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
2007-01-13 08:30:08 +00:00
Campbell Barton
a935c48fec added stress and tangent to MTex and texture mapping dict 2007-01-13 05:06:28 +00:00
Campbell Barton
156ac69aad driverExpression - strcpy on wrong type (my bad) fixed.
added .sel bool for Ipo curves.
2007-01-13 04:53:41 +00:00
Campbell Barton
c6a57fb4b0 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
2007-01-13 03:07:04 +00:00
Joshua Leung
29c99ee306 == 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
scaling.

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.
2007-01-13 02:40:28 +00:00
Campbell Barton
0b89910800 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
2007-01-13 02:03:38 +00:00
Brecht Van Lommel
75161c24c1 Fix for bug #5694:
Another issue with division by zero in texture paint, this time in
torus wrapping.
2007-01-13 00:02:37 +00:00
Ken Hughes
59f8507a87 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.
2007-01-12 22:40:30 +00:00
Ken Hughes
9c0cb4632d Python API
----------
Typo corrections in Mesh API doc.
2007-01-12 22:35:42 +00:00
Ken Hughes
1a4e64cd02 Python API
----------
Bugfix: Object.setEuler() didn't accept an Euler object.
2007-01-12 22:15:33 +00:00