Commit Graph

9044 Commits

Author SHA1 Message Date
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
Ton Roosendaal
f236541161 Bugfix #5764
Added a check and warning in renderpipe init for 'renderer' type. Unknown
render engines (like from experimental builds) can crash.
2007-01-10 11:07:25 +00:00
Joshua Leung
242db4a960 == Action/IPO Cleaning Cleanup ==
Further cleanups, this time moving all the checks for making sure that
the cleaning threshold is defined are centralised in the do_versions code.
2007-01-10 08:51:24 +00:00
Joshua Leung
253b98d98c Bugfix #5625:
When adding keyframes to a very-short action scaled to long-lengths in the
NLA editor, exisiting keyframes would disappear. The culprit was a very large
threshold value used to cull duplicate keyframes. This bug was even present
in 2.42(a).

Although this fixes the bug, further work is needed on preventing future cases
of badly scaled actions. Actions with length of 0.9 frames representing motion
of 200 frame ranges is not on.
2007-01-10 08:33:05 +00:00
Nicholas Bishop
8cfc675b5a Made deleting a UV layer work correctly with multires enabled. Still need to do adding and renaming layers. 2007-01-10 08:16:27 +00:00
Nicholas Bishop
97fb2973c8 Added missing include to multires.c. 2007-01-10 07:24:29 +00:00
Nicholas Bishop
0e27b11f6e Modified weightpaint to prevent user from editing multires weights except on level 1. 2007-01-10 06:43:03 +00:00
Nicholas Bishop
b5acfe3eb0 A few cleanups for multires (removed commented-out code, unused variables), also removed use_tex flag from the Multires struct (that is now stored implicitly by the fdata struct.) 2007-01-10 06:29:44 +00:00
Nicholas Bishop
043be07050 Large fix for multires. Changed UV coordinates (MTFaces) to be special first-level data in multires. The data is now stored in a standard CustomData struct in Multires, rather than being stored for each level. (The UVs can now only be edited on level 1.) Changes allow multiple sets of UVs to work correctly. This change should also decrease multires memory usage some (though only when UVs are being used, of course.)
Changes to CustomData:
Some functions would only return the current active layer, added extra variants that take an index to select the level (modeled after CustomData_get_layer_n.)

Still todo:
* UVs are being interpolated linearly, should probably offer Catmull-Clark subdivision like Subsurf modifier.
* Vertex Colors still don't support multiple customdata layers.
* Editing UV data on levels other than 1 should be disabled in the interface (same for weights)
2007-01-10 06:09:10 +00:00
Joshua Leung
3f5bd9b391 Added a couple of stubs so that blenderplayer compiles fine again after
verse commit. Could someone who is familiar with stubs check that this
is done the right way?
2007-01-10 02:22:22 +00:00
Erwin Coumans
983fc9ab89 Bugfix from Malachy, for some IPO logic brick changes. 2007-01-10 01:16:49 +00:00
Joshua Leung
0f7650622a == Armatures ==
Some tweaks to the 'Armature' Editing panel button layout so that buttons
are not so cramped now that ghost options are no longer there.
2007-01-09 22:29:59 +00:00
Joshua Leung
970dbb2e79 == Action Editor -> Auto-Snap ==
There's a new selection-box on the header of the action editor, which
sets the mode of auto-snapping for transforms. By default auto-snapping
is off.

There are 3 modes of auto-snap:
* Off - transforms per normal
* Frame Step - grid-step transform (may have errors with scaled actions)
* Nearest Frame - true snap-to-frame (takes into account nla-scaling)

These translate to the following hotkeys when transforming:
* Off - no keys press/held (as it's always been)
* Frame Step - Ctrl (as it's always been)
* Nearest Frame - Shift (replaces old shift-key behaviour which was not useful)
2007-01-09 22:27:27 +00:00
Tom Musgrove
9b3862b4c0 = arabic translation =
arabic translation by M. Bashir Al-Noimi, be aware that we don't support right to left languages so this may not be of benefit to end users currently
2007-01-09 18:49:10 +00:00
Campbell Barton
4b9051501f forgot to remove when I changed the name. 2007-01-09 16:58:39 +00:00
Campbell Barton
e2da632f8f ply export patch 5576 applied with parts rewritten.
BPyMesh getMeshFromObject bugfix in some cases non mesh object types could be a problem.
2007-01-09 16:01:38 +00:00
Campbell Barton
a18275c818 added a note that mesh.update() has changed sine 2.42 and a warning about the Eeekadoodle that haunts Mesh since its a thin wrapper. 2007-01-09 14:06:25 +00:00
Ton Roosendaal
3228b58a38 Added flag in MultiChannel exr file to denote line order. Blender has the
Y coordinate 0 in left-bottom of screen :)

Fun news: cinepaint now reads such files too:
http://www.blender.org/bf/cornelius.exr_sc1.jpg
2007-01-09 13:58:51 +00:00
Jiri Hnidek
75b553e900 - Bug fix: object trnasformation now follows verse specification. It
means, other verse client will display object transformation correctly.
   Objects will not be up-side down etc. Bug reported at irc by Emil.
   Thanks!
2007-01-09 11:50:45 +00:00
Ton Roosendaal
2e66b143f3 - Added panel for Bake render (tabbed now in 'anim' panel).
(Empty space will get OSA options, that I add tomorrow or so)

- Removed a lot of old unused variables in renderdata. Also meant I had
  to remove this from python API... please check if this gives valid
  scripts?

- Cleaned up bad formatted code for FFMPG buttons (spaces instead of tabs)
2007-01-09 11:10:12 +00:00
Campbell Barton
9065f0b55a Made skinning between 2 open edge loops work better 2007-01-09 09:24:20 +00:00
Nicholas Bishop
75fb905d6f Disallow CTRL+click to add verts when multires is enabled. 2007-01-09 09:02:04 +00:00
Nicholas Bishop
5e63ef784f Fixed typo in multires (looping through to totvert rather than totedge.) 2007-01-09 08:28:01 +00:00
Campbell Barton
ca97ede0cd fixes spelling of filename.
Window.c was calling undo_push_mesh, even for non mesh objects, exiting editmode would crash for any non mesh object (found with the armature symmetry script), bad juju.
2007-01-09 05:28:37 +00:00
Nicholas Bishop
fae8716c54 Bugfix for multires: when deleting lower levels, special first-level data must be subdivided up to the level of the new lowest level. This wasn't being done for dverts. In fixing this, I also reorganized the code for subdividing multires dverts, much cleaner now. 2007-01-09 05:22:48 +00:00
Robert Holcomb
cc359a6fd5 Format corrections. 2007-01-09 04:32:39 +00:00
Campbell Barton
3b15461a4a R key when face select mode and weight mode were enabled, would rotate UV coords.
Most other operations use WP keys instead of UV/Face, so R now rotates the posebone instead.
When combining the modes this your more offten wanting to move the pose then the UVcoords.
2007-01-09 03:33:32 +00:00
Nicholas Bishop
271e1ac00f Sculptmode bugfix: textures were not being scaled correctly to a [0,1] range for brush strength. 2007-01-09 03:17:03 +00:00