Commit Graph

9071 Commits

Author SHA1 Message Date
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
Ton Roosendaal
71ef95073f Bugfix, Plumiferos collection: Composite node "Image" didn't show the Z
output socket for regular images anymore.
2007-01-12 16:33:34 +00:00
Nicholas Bishop
f03cc7bd29 Enabled slashkey in sculptmode for local view. 2007-01-12 16:16:59 +00:00
Ton Roosendaal
e8f7626301 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.
2007-01-12 13:17:15 +00:00
Ton Roosendaal
765e464a71 Bugfixes:
- 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
2007-01-12 11:13:34 +00:00
Campbell Barton
e9291b78e2 forgot to convert the matrix to a 3x3. worked but raised a warning. 2007-01-12 10:39:59 +00:00
Tom Musgrove
74291cc503 = 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
2007-01-12 09:08:00 +00:00
Jiri Hnidek
db77deb311 - first commit form mac ;-), changed data structure VObjectData a little,
removed unused code
2007-01-12 08:51:16 +00:00
Nicholas Bishop
a1033a2878 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.) 2007-01-12 08:23:40 +00:00
Nicholas Bishop
2ffc57c49f Removed yet another use of set_sculpt_object. 2007-01-12 06:17:03 +00:00
Nicholas Bishop
49caf7ef6a 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 2007-01-12 06:13:33 +00:00
Joshua Leung
27266b22c1 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
patch.
2007-01-12 05:29:59 +00:00
Matt Ebb
99d16b99cd * 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! :)
2007-01-12 05:26:17 +00:00
Nicholas Bishop
25361281a1 Removed set_sculpt_object. Tested with sculpt undo, sculpt+multires, sculpt+partial visibility, and sculpt+shapekeys, seems stable. 2007-01-12 05:13:36 +00:00
Nicholas Bishop
413ff0ca2d 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.) 2007-01-12 04:47:38 +00:00
Joshua Leung
6ffea7b447 == 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).
2007-01-12 04:21:23 +00:00
Joshua Leung
bff2dcc6d8 == 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.
2007-01-12 02:34:47 +00:00
Matt Ebb
7bcfc5be3f == Interface ==
Touched up the render baking header menu.
2007-01-12 01:13:27 +00:00
Campbell Barton
54863a2fef error, camera scale couldnt be set. bpyrender now sets ortho properly 2007-01-12 00:31:18 +00:00
Andrea Weikert
b0c2e7808c ==== MSVC 7 project files ====
- small update:added multires-firstlevel.c
2007-01-11 20:01:31 +00:00
Ken Hughes
60bed24b35 Python API
----------
Change Scene API example to use scene.objects.new() instead of
Object.New()/ob.link()/scene.link().
2007-01-11 15:27:58 +00:00
Brecht Van Lommel
cedfafc9cd 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!
2007-01-11 15:00:17 +00:00
Ton Roosendaal
3529563683 Bugfix #5681
Mesh editmode; "Separate" tool crashed when Object had fluidsettings.
2007-01-11 14:08:45 +00:00
Ton Roosendaal
a3e0a028cd bugfix #5683
IpoWindow: trying to assign a action-ipo to a Bone failed if Bone had not
yet be included in Action.
2007-01-11 12:13:54 +00:00
Campbell Barton
3c578fbe12 tested export scripts with a large scene and resolved errors that came up as well as some speedups- mostly problems with lightwave_export 2007-01-11 09:39:16 +00:00
Campbell Barton
235ad674c8 made mesh.getFromObject also get the meshes smoothing value when copied from another mesh object. 2007-01-11 09:15:31 +00:00
Nicholas Bishop
55f646e668 Setting the active UV layer now works correctly on multires levels other than 1. 2007-01-11 08:27:04 +00:00
Nicholas Bishop
0a77914663 Prevent user from editing multires UV coords except on level 1. 2007-01-11 07:30:47 +00:00
Nicholas Bishop
7e221c248c Further cleanups for multires' firstlevel data (both weights and UVs.) 2007-01-11 07:01:30 +00:00
Campbell Barton
34c11de62a improved this script
* use mesh.transform instead of a python matrix multiplication function.
* use the image filename rather then ID name for the URL
* use the scenes world rather then the first world for getting world data.
* mesh.verts.index(face.vert[i]) is extreamly slow!, use face.vert[i].index instead. also got rid of a face loop in a face loop that didnt do anything.

Still need to move this script to Mesh from NMesh
2007-01-11 06:48:25 +00:00
Campbell Barton
99857e40e3 some PLY files dont have faces, made these import without raising an error. 2007-01-11 02:09:45 +00:00
Campbell Barton
fa4b04a210 Fly mode now detects weather Z is up to start with and sets the initial Z locking from this. 2007-01-11 00:05:36 +00:00
Ton Roosendaal
f7708a2692 bugfix #5545
Bake Render now works for dupli-verted lamps.
Note, shift+z shaded view too!
2007-01-10 21:09:42 +00:00
Ton Roosendaal
7d11a67a4e Bugfix #5487 (among others)
glDrawArrays() for a closed line loop (polygon) crashes in some platforms,
but why we couldn't find any reason for.
Replaced code with regular glBegin() and glEnd().
2007-01-10 15:25:02 +00:00
Ton Roosendaal
03bff38e6c Bugfix #5670
Background render for multires/sculpt crashed due to using UI data.
2007-01-10 12:35:04 +00:00
Tom Musgrove
20413f17bb = dxf update =
update by the script author - may have killed some changes cambo did to the previous version but the layout of the script is too significantly different to merge them.
2007-01-10 11:37:19 +00:00
Ton Roosendaal
3625d23afa Bugfix #5673
UV ImageWindow, composite preview screwed up view matrix, so UV editing
doesnt work with it. Simply fixed it with not allowing this preview panel
unless image type is OK. With new image API a trivial check.
2007-01-10 11:32:36 +00:00