Commit Graph

47594 Commits

Author SHA1 Message Date
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
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
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
Nicholas Bishop
73596ed036 Sculptmode bugfix: use actual active object to check when to update zbuffer data when drawing with xray objects. 2007-01-09 03:00:58 +00:00
Nicholas Bishop
047cb06e8a Improved exiting retopo paint; clicking on either of the retopo toggles in editmode will popup a question to check whether retopo paint should be applied or canceled. 2007-01-09 00:47:23 +00:00
Nicholas Bishop
8a5a220108 Multires bugfix: wrong interpolation value for weights on triangle faces. 2007-01-08 23:52:59 +00:00
Brecht Van Lommel
cda359c358 Fix for bug #5606:
Subsurf modifier displays normals wrong with mixed smooth and solid faces.
2007-01-08 23:47:03 +00:00
Nicholas Bishop
f59f4d73a2 Bugfix for multirse, Mesh wasn't being properly updated with weightpaint data after switching back to level 1. 2007-01-08 23:41:42 +00:00
Brecht Van Lommel
5bb658dd69 Fix for bug and #5449 and #5423:
Crashes using flip triangle edges or beauty fill.

The cause was edges being marked for deletion and deleted that are
still in use by faces. This could happen if the edge was part of a
quad or unselected triangle, or if the edge was marked for deletion,
but then needed again because of another flip.
2007-01-08 21:20:18 +00:00
Ton Roosendaal
fb17663988 Bugfix #5548
New option to use "Tangent Space normalmap" normals now works for node
materials.
2007-01-08 20:53:43 +00:00
Ton Roosendaal
97eb805f9c Bugfix #5551
CTRL+C/V (or Apple+C/V) on buttons didn't copy/paste names for buttons
of type "ID pointer" anymore. Was caused by NULL pointer check in wrong
location.
2007-01-08 14:55:53 +00:00
Ton Roosendaal
c53c35f582 Bugfix #5631
Missing depsgraph relation for dupliverted Meta system.
Now editing the mesh for this situation is big fun!
2007-01-08 13:10:17 +00:00
Robert Holcomb
5db19e1517 Corrected Typo. 2007-01-08 12:42:12 +00:00
Ton Roosendaal
dfeda474a5 New code to write 'sub version' string. It was using a (controlled) 1 byte
overflow in a safe area, but that's not very nice code...
2007-01-08 12:31:53 +00:00
Ton Roosendaal
1f93826144 Bugfix #5634
Adding a new Blender Screen (top header, screen browse menu) did not
correctly clear memory, causing scriptlinks in Area Windows to mess up
2007-01-08 11:52:11 +00:00
Nicholas Bishop
afe7ea072d Fixed a couple bugs with multires+weightgroups: 1) weightgroups are now being properly applied to the mesh on Level 1. 2) Corrected the algorithm that interpolates weightgroups for all the other levels so that it more or less matches the subsurf output. 2007-01-08 08:02:26 +00:00
Campbell Barton
53ba22e90c disabled fly mode for objects with constraints, would do weired stuff. 2007-01-08 04:59:11 +00:00
Tom Musgrove
4a1a766a16 = game engine fixes=
two fixes to the GE by Charlie
2007-01-08 04:22:23 +00:00
Joshua Leung
0b2b893cef Added some additional comments about the usage of the the backend
functions used for Pose-Mode bone snapping.
2007-01-07 22:30:44 +00:00
Peter Schlaile
f38f16b0a0 == Toolbox ==
Bugfix:
Added sanity-checks proposed in

http://qa.mandriva.com/show_bug.cgi?id=24583

(strcpy without range checks is evil(tm) )
2007-01-07 19:52:13 +00:00
Nicholas Bishop
8bd9d253e1 Fixed crash going from Sculpt Mode to Edit Mode. 2007-01-07 19:45:05 +00:00
Nicholas Bishop
7177bf9321 Added a few comments to sculptmode.c 2007-01-07 19:37:24 +00:00
Martin Poirier
eb3d720bd9 === Transform Snapping ===
Snap/Grid icon button in 3D view header (edit mesh). FIXME NOTICE: make nice looking icons (yes, that's for you Matt)
When snap is on, a drop down appears for the target method (closest, median, center)

Hotkey to toggle snap is Shift-Tab (this was previously used for a not totally equivalent to Tab. Ton said OK to scrap it). That hotkey is currently restricted to edit mesh (where snap is currently restricted).

Changed a couple of ugliness on how snap settings are stored.
2007-01-07 19:33:00 +00:00
Peter Schlaile
fea030a9ca == Sequencer ==
Bugfix in Audio(HD): resampling caused artefacts on mixdown.
(The ffmpeg resampler needs a little warmup time and shouldn't be
restarted all the time.)

The resampler can still cause problems, if your soundfile doesn't start
with silence!
2007-01-07 19:22:22 +00:00
Ton Roosendaal
641679effc Bugfix #5578
ShapeKeys could get corrupted when using the sliders (or relative values).
Was caused by 25 dec commit to get SculptMesh work with Shapes... very
strange implementation here. For now, disabled this function to enter when
not in sculpt mode, while waiting for Nichololas to make it definite OK.
2007-01-07 16:41:44 +00:00
Campbell Barton
713f42dc3c Metaball - docs were wrong
Sound - needed t ohave the PyType as extern
3ds_export can now export derived objects (dupli's)
2007-01-07 15:33:28 +00:00
Ton Roosendaal
7135cd0721 Bugfix #5560
Dupliverted Lamps did not draw in the 3D window anymore. Caused by OpenGL
displaylist optimize which cannot work for lamps... (yet)
2007-01-07 14:20:17 +00:00
Ton Roosendaal
f9c2887119 Added end/begin sculptmode before/after bake-render. Not sure if its needed
but for regular F12 render it's done as well.
2007-01-07 14:19:13 +00:00
Ton Roosendaal
1d4a9ee6ca Bugfix #5626
HSV node in composite got a new variable (V) in july, but this was not
initialized to '1' for older files.

This commit adds the initialize, for when the V==0. It might therefore
break cases saved with CVS versions with V set to 0 purposedly (not likely
but possible).
2007-01-07 14:18:03 +00:00
Nicholas Bishop
b219a65dfa Fixed bug #5627, Retopo Paint doesn't work with LMB set as the main mouse button 2007-01-07 05:47:58 +00:00
Erwin Coumans
f4ee0f4b4c fixes in rigidbody constraints rigidbody -> IPO baking:
copy system with rigidbody constraint will link new constraints to new objects (instead of old)
fps from blender will be used when baking (left shift/ctrl/alt + P)
2007-01-07 04:54:29 +00:00
Erwin Coumans
4a70681ce2 patch by Charlie, related to recent changes of multi-uv/lightmap generation. This fix makes it possible to use lightmaps in the game engine. 2007-01-07 04:39:39 +00:00
Erwin Coumans
cf4d627897 2 bugfixes by Malachy, related to message sensor / ipo actuator firing wrongly 2007-01-07 04:35:33 +00:00