Commit Graph

9710 Commits

Author SHA1 Message Date
b37cf7d75d Fix for bug #8407: merging vertices at first/last did not
preserve UVs correct.
2008-03-26 17:56:14 +00:00
Ken Hughes
2976a38fd9 Python API
----------
Bugfix #8615: NMesh.update() did not check if faces had less than 3 vertices, so would create bogus faces.  

Also discovered in the process that documentation and error message for Mesh.assignVertsToGroup() was wrong.
2008-03-26 17:29:20 +00:00
972b0a5218 Fix for bug #8713: edge loop delete did an undo push too much. 2008-03-26 16:46:04 +00:00
4197e37200 made editmode face copy menu appier with when there is no active face (without options that required an active face)
active face drawing didnt always work since it used the last selected element for drawing.
moved stipple into glutil.c rather then using 128 bytes in the stack for each stipple draw.
2008-03-26 16:06:25 +00:00
2af78ac944 Fix for bug #8750: depremul in the image texture code should check
with an epsilon rather than 0.0f, could give random spots otherwise
with e.g. calcalpha + negalpha.
2008-03-26 15:25:56 +00:00
ba1f58ea73 Fix for bug #8747: normal map tangents didn't work correct with
splitting of non-flat quads.
2008-03-26 14:58:34 +00:00
5fa576a89f UV Unwrap (lscm, project from view, cube etc) now default to correcting for the active images aspect ratio.
This is now default but can be disabled in the UV Calculation panel. At the moment its called "Image Aspect" but another name could be better.
2008-03-26 14:50:29 +00:00
6184c07474 fix for [#8732] Unwrap Project from View not matching View
the active face could be unselected. now unwrapping with no UV layer will assign the current image to the selected faces.
2008-03-26 11:56:41 +00:00
2a47d02975 Bugfix: selecting or muting an ipo curve in the action editor
would be undone on redraw with an ipo window open in editmode,
or with show keys enabled in the ipo window.
2008-03-26 11:27:52 +00:00
192021f068 check for null data when using ffmpegs swscale (for corrupt/partially corrupt videos) 2008-03-25 20:30:33 +00:00
4bf152fbcd lib error message was inconsistent when changing texture channels, enabled it for texture colorbands 2008-03-25 19:27:49 +00:00
1b94e21f9c selecting similar edges (Shift+G in edge mode) didnt flush selection from edges to faces, so you could have all edges of a face selected without the face being selected. 2008-03-25 16:16:11 +00:00
74e835342e Two constraints related fixes
* Bugfix #8599d: 
When using the ChildOf constraint on bones without parents, with cyclic-offset in action the effect of the cyclic-offset was applied twice. Added a bone option to make the effect of cyclic-offset not be applied to rootbones which have the option 'enabled'. 

In the UI, this is presented in the opposite way. It is represented by the 'Offs' button beside the parent-bone selector in the Armature Bones panel when in EditMode.

* Head/Tail setting and Constraint Channels:
Added back in checks to see if the head/tail IPO-curves for Constraint Channels can get applied for the target constraint. I had removed these when applying the patch, but I'd overlooked the fact that users could add an IPO-curve for this from the IPO-editor, potentially mucking up the behaviour of some constraints.
2008-03-25 10:36:36 +00:00
34494425fa Raise the limit for long filenames.
a few times peach guys have had the play button fail with "stack smash" warnings in the terminal and play button not working.

This fixes a reproducible crash where blender would segfault when pressing play on long filenames, and hopefully fixes odd user reports where pressing play quits X11 or reboots their system.
2008-03-25 09:40:06 +00:00
8c46419f3b Bugfix:
Resizing two text windows stacked one over the other, crashed in certain cases (i.e.  when dragging the border between them down to the header of the bottom one). Was caused by division by zero, resulting in a SIGFPE (floating point exception).
2008-03-25 09:17:58 +00:00
662c57d63e fix for [bf-blender-Bug Tracker][8739] image selector never exits.
This fix was made to the file selector weren't applied to the image selector.
Made file and image selector use same python api function.
2008-03-25 09:00:00 +00:00
a2dd82570a patch only to redraw on mouse move, broke continues zoom. 2008-03-25 08:30:39 +00:00
753a0e9746 Tweaks to labels on brightness/contrast node 2008-03-25 06:10:03 +00:00
88c2358f4f Bugfix #8736: Follow Path constraints does not work for Bones
This appears to be a long-standing bug, and it only affected the Follow-Path constraint as it was the only one which was dependant on time-based changes. An oversight in the depsgraph code meant that Follow-Path constraints on armature bones were not evaluated, unless there was an Action or some NLA-Strips for that armature. 

I've added a new flag to pose->flag (POSE_CONSTRAINTS_TIMEDEPEND) which only gets set/cleared by update_pose_constraint_flags. This flag indicates that the depsgraph needs to do an update for such cases, and will require going in/out of EditMode to set this for old files. 
It's been implemented as such to avoid having costly searches when trying to run animations realtime (as is done for modifiers).
2008-03-25 05:32:04 +00:00
7de584337f == Sequencer ==
Forgot directory in input panel for sound files...
2008-03-24 21:01:36 +00:00
8d2a0a566f == Sequencer ==
A lot of fixes for anim_startofs / anim_endofs:
* crashed when striplen was 0 and startstill / endstill still in use
* made it work for Audio (HD and RAM)
* made it work for Image Sequences
* added a new cutting tool, that uses anim_startofs / endofs instead of
  startofs / endofs. This is now the default and called "hard cut"
* moved old cutting method to "Shift-K" and renamed it "soft cut"
2008-03-24 17:35:01 +00:00
2b7e4f4d4a subdivide would give weired results especially when used after proportional edit mode because vertex temp flags wernt zero'd 2008-03-24 11:55:43 +00:00
659db30d50 Fix for transforming constraint-channel keys that appeared in a group-channel, but belonged to constraint channels that were collapsed and/or hidden. 2008-03-24 11:28:49 +00:00
186320f458 Peach Request: Fix for little bug in Action Editor
Quick patch for action-filtering system, so that the IKEY (Insert Key) -> "Key Only Selected" doesn't key in channels that are hidden. Documented the convoulted logic there a bit. 

Note: constraint channel keys in group channels seems to have become broken again at some point before this commit
2008-03-24 11:25:34 +00:00
dbd64ac751 uv stretch display respect image aspect ratio,
tooltip correction (bug #8660)
ghostwinlay.c was missing string.h include
2008-03-24 09:00:39 +00:00
f162428bd2 [#8717] ZOOM with CTRL+mouse drag (consumes all cpu)
patch from André Pinto to stop zoom from redrawing when the mouse didnt move.
2008-03-23 18:53:45 +00:00
0f8fee26cf == Sequencer ==
Additional fixes to metastrip handling. The code is now even shorter :)
2008-03-23 18:32:20 +00:00
a572fb0e45 Fixed bug #6079, sculpt mode thin mesh problem
Calculating the area normal now checks each normal against the angle of the camera. If the normal is pointing away from the camera, it is ignored.
2008-03-23 18:08:20 +00:00
c52695bafe == Sequencer / ImBuf ==
Fixed a long standing bug in IMB_dupImBuf: refcounter should be better 0
within the duplicated ImBuf...

Finally removed this strange STRIPELEM_META mumbo jumbo.

On a way to asset management: made METAs behave like true input strips:
* proxying should work
* input filter options should work (including transform and color balance :)
* IPOs now work in replace mode
2008-03-23 17:56:44 +00:00
096fcb3c8f fixed UV selection hide/reveal in the UV window. 2008-03-23 16:27:34 +00:00
4a6d75af27 added support for linux on pa-risc 2008-03-23 12:59:26 +00:00
cd3cf57842 Collision Modifier: 1. Bugfix: Enable hiding in modifier stack again, 2. Bugfix: Recalculate bounding volume if GUI setting changed 2008-03-22 22:08:46 +00:00
7e69e77609 lasso select for nodes 2008-03-22 20:54:09 +00:00
1d0e1d5406 [#8693] Align view to selected works differently called from menue then from shortcut
The header menu was sending the wrong axis (off by one) to the tool.
2008-03-22 13:27:34 +00:00
95e781c601 == Action Editor - Preview Range (Ctrl-Alt-P) ==
Quick feature for setting Preview Range in Action Editor: the hotkey Ctrl-Alt-P sets the Preview Range so that it matches the extents of the active action.
2008-03-22 11:06:51 +00:00
126ab7974d NDOF support added to trunk from ndof branch.
The latter is now obsolete and will be soon 
removed.

Some tiny build tweaks for darwin committed
in preparation of bigger changes for proper
SDK suport both on intel and ppc
2008-03-22 01:39:11 +00:00
1930a925c8 Removing some compiler warnings.
(Note to who-ever made all the changes referring to r.scemode:
r.scemode is an int, not a short!)
2008-03-21 23:10:23 +00:00
76f34bcdd9 Fixed bug #8597, Subsurf error
This was actually an error with the array modifier. Merging vertices would sometimes create degenerate faces (e.g. face.v1 == face.v3)
2008-03-21 23:06:15 +00:00
4e8f06604f This commit disables fix for revision 14202 effectively.
The claim was:
Bugfix: don't do full sample merging on re-rendered layers in
the compositor.

But result was that rendering didn't happen at all for scenes
with a composite.

I also don't understand the commit, seems like it's incomplete?
2008-03-21 22:26:26 +00:00
4c29f3cf09 added camera shiftx/y for the UVProject modifier 2008-03-21 21:03:31 +00:00
c49316a9eb Bugfix: don't do full sample merging on re-rendered layers in
the compositor.
2008-03-21 17:37:24 +00:00
d3116dd4d2 use Z depth for the ortho border zoom also, if there is no depth values set then fallback to previous method. 2008-03-21 17:13:35 +00:00
32b5138e64 update to trunk r14199 2008-03-21 17:00:40 +00:00
df1ba7da75 make border zoom ignore backfaces in texture mode and zero alpha areas of billboards. 2008-03-21 16:27:43 +00:00
473ba6ac71 corrected minor error of the merge
object center button was duplicated
2008-03-21 15:31:02 +00:00
76adde8d19 == Sequencer ==
Forgot REDRAW in obscure cases...
2008-03-21 10:54:40 +00:00
217401b593 == Sequencer ==
Reworked seq_cut completely. Now it is equivalent to: dup and set startofs /
endofs, which is what most people probably expected...

Fixes:
[#8388] Sequencer Cut on empty meta
[#8546] Sequencer: 2 different problems cutting some metastrips
2008-03-21 10:47:59 +00:00
9e9d88d7fc Two changes:
* Attempted fix for bug #8599c (inserting new keyframes mucked up existing IPO-Keys). Now it calls make_ipokey() regardless of whether they exist already (if ipokeys are being shown in the IPO-Editor). This might be a bit slower on some files.

* 'Auto-Sync PoseLib' button is now only visible when there's a PoseLib
2008-03-21 09:46:37 +00:00
e78d2b360a Fixed bug #8180, Simple subdivide modifier performs catmull-clark on single edges
Removed an incorrect check for original vertices on whether any faces used them.
2008-03-21 03:08:04 +00:00
b7bdc6c7a1 Fixed bug #8514, sculpt: pivot last and undo
Undoing in sculpt mode correctly returns to previous pivots now.
2008-03-21 01:10:32 +00:00