Commit Graph

8808 Commits

Author SHA1 Message Date
Campbell Barton
fcd2d30004 * minor changes, edited some tooltips (exr half and zbuf were not that helpful)
* UV coord buttons overlapped others since merging uv/face and editmode.
* added some quad join and triangulate into the Ctrl+F face menu.
* active face cant be hidden anymore.
2007-09-14 06:46:57 +00:00
Kent Mein
670611e408 This should hopefully fix bug
[#7310] FluidSim Domain/Fluid from Duplicate Object Bug Monitor 

patch provided by Genscher

Kent
2007-09-13 20:44:00 +00:00
Campbell Barton
256ebc10a0 Selecting faces in editmode did not delimit seams as it does in Face/UV mode.
added this to editmode, only delimit seams if face selectmode is enabled.
2007-09-13 17:02:42 +00:00
Kent Mein
8b458e8e5b Bug spotted by genscher
fluidsimCopyMesh didn't actually do what it was suppose to.
(obvious cut and paste error)

Kent
2007-09-13 16:49:59 +00:00
Kent Mein
56dba39261 This is patch [#6772] Background image drawing speedup
Thanks goto Matthew Plough (meestaplu)

I've tested it on linux with both an nvidia and an ATI card,
I've also tested it on a mac and solaris, as well as through a
remote display.  So I think this one is pretty safe.  
If it causes problems on older systems we can revert it
but I don't think we will have any issues with it.

Kent
2007-09-13 14:33:21 +00:00
Joshua Leung
b034822664 Some more tip->tail naming conversions for consistency in the UI. 2007-09-13 05:15:55 +00:00
Campbell Barton
b2b3b01894 Added UV face rotate and mirror to editmode and re arranged some of the editmode keys
The WKey menu was way too big and not well organized, re-arranged keys like this.

Ctrl+V - Vert Menu  (remove doubles, smooth...)
Ctrl+E - Edge Menu - left as is
Ctrl+F - Face Menu - (flip normals, shading, Rotate and Mirror UV's/Colors)

Wkey menu only has subdivide in it now.

filesel.c - only show the relative paths option if the file is saved, (flag on by default caused the image to silently fail loading on my system, and gave permission errors on a users), also removed a warning.
2007-09-12 10:35:48 +00:00
Joshua Leung
d1dcfd744a Renamed Root/Tip X/Y/Z buttons in Armature Editmode Transform Panel (NKEY) to Head/Tail for consistency with the rest of Blender. 2007-09-12 07:33:18 +00:00
Matt Ebb
cbee57342f * Small fix for a slowdown when rendering fully glossy (1.0)
reflecting/refracting materials with ray shadows. Fully glossy 
materials get Full OSA on automatically, so extra redundant samples 
were being calculated for the shadows. This has now been fixed by 
reducing the shadow samples accordingly if Full OSA is on.

Thanks to Benjamin Thery who notified me of this!
2007-09-12 03:27:03 +00:00
Campbell Barton
f6aa903e10 * added functions to copy between UV and vertex color layers.
* added CustomData_set_layer_active_index and CustomData_set_layer_render_index
  since they did not accept values from CustomData_get_active_layer_index and CustomData_get_render_layer_index
* fixed some warnings
* made the colored edge in active face draw mode only display when texture mode enabled.
2007-09-12 02:13:35 +00:00
Stephen Swaney
3740c30968 warning cleanup:
implicit declaration of function 'EM_add_data_layer'
2007-09-12 01:14:31 +00:00
Geoffrey Bantle
19c09fe0da -> Fix for Mesh Properties Python API
When switching Mesh properties over to METH_O from METH_VARARGS certain method definitions
didn't get switched over correctly, causing calls to mesh property functions to fail.
2007-09-11 20:58:00 +00:00
Geoffrey Bantle
868f423daa -> Selection History Fix
Old bug in selection history meant that face selections were getting erased from 
history on editmode toggle.
2007-09-11 17:01:09 +00:00
Campbell Barton
c08ef3e1d6 Added active drawing in editmode (may need some more work), this hilightes the last selected vert/edge/face, which is needed for moving some of the UV tools into editmode.
Added copy menu for editmode for copying from the active faces material, image, UV's vcols etc,
improved on the current vertex color copy by averaging the 4th color when copying color from a tri to a quad.

And added edge crease and length copy

cerrently verts dont have a copy menu but eventually copy weights would be good.
2007-09-11 14:36:03 +00:00
Joshua Leung
bd84d35b31 Bugfix:
Copy/pasting multiple ipo curves in editmode, segfaulted due to some misplaced code.
2007-09-11 09:36:47 +00:00
Matt Ebb
c5ef3006b6 * AO bugfix - Constant QMC sampling wasn't getting initialised for bake rendering, causing a crash. 2007-09-11 00:26:15 +00:00
Geoffrey Bantle
f42ef22cc0 -> Multires Editmode fix
Typo in Multires Editmode integration meant that way too much memory
was getting allocated for a pointer array (more than 10 times as much).
2007-09-10 23:03:32 +00:00
Geoffrey Bantle
4bfa934ff3 -> Added mesh properties to modifiers
Mesh properties layers were not getting copied in the modifier stack.
2007-09-10 22:56:29 +00:00
Geoffrey Bantle
5e7dc24042 -> Fixed initialization of Octree Resolution and Tri2Quad threshold
add_scene() in scene.c didn't properly initialize the octree resolution
for new scenes or the join threshold for Triangle to Quad conversions.
2007-09-10 22:52:32 +00:00
Campbell Barton
82f4db716f some button arranging
(UV Calculation tab is nolonger relevent to FaceSelect draw modes.)
Move FaceSelect draw options into WeightPaint and VertexPaint panels.
Moved UV Calculation panel in with shape keys tab.
2007-09-10 22:33:14 +00:00
Campbell Barton
047a2ff0c3 draw shadowmesh wasnt working and the button in the header for selecting faces in paint mode was drawn in editmode. 2007-09-10 20:12:38 +00:00
Campbell Barton
0bd32f3ac6 Changes to "Face Select" mode
* Does not indicate that UV's exist, nor does it add UV's when used.
* Only accessible for texturepaint, vertexpaint and weightpaint from a button in the header (Paint Selection Mask)
* Not accessible from the mode menu, this is only an option that applies to paint modes.

This dosnt effect DNA, face select (G_FACESELECT) can be enabled at any time but is only used when paint modes are enabled.

Other changes
* UKey is uv unwrap in editmode, Ukey for undo was editmode only anyway.
* UVCalc in editmode adds a UV Layer if there is not one alredy.
* texture draw in editmode does not draw the face dots (they are get in the way of texturing)
* some missing updates were added.
* removed manipulator from when paint modes are enabled since the manipulator is not drawn in the 3d view.
2007-09-10 19:32:44 +00:00
Martin Poirier
1f0b07c37b Version bump to 2.45 and splash screen for stable release 2007-09-10 16:29:31 +00:00
Campbell Barton
e8a808da24 UV Editing is now done in editmode rather then UV/Face Select mode.
Notes
* you cant edit UV's in the image window in "UV Face Select" mode. (removed UV from the name)
* going into Face Select mode no longer adds UV's and does not need UV's to work.
* The UV Calculation menu is now in editmode (Alt+W)

Todo..
* Image replace - partly broken in stable also.
* Rotate/Mirror UV/VCol are still only in Face Select mode.
* Hide/Reveal is not quite right, (issue with editmode flushing)
2007-09-10 12:26:36 +00:00
Joshua Leung
0e3460dd1b IPO Copy/Paste Bugfix:
This commit fixes two minor mistakes made in the previous commit for this:
* forgot to advance to next ipo curve from buffer
* handles on the curves that got data pasted were not recalculated (those from the buffer were instead!)
2007-09-10 12:12:38 +00:00
Joshua Leung
8045d1434d Action Editor - minor cleanups of transform code... 2007-09-10 10:47:09 +00:00
Joshua Leung
5cc36bd0da Bugfix #7294:
When resizing an Outliner window, the contents would eventually get 'pushed out of view' when shrinking the view. 

I've added a bit of a 'hack', which will ensure that this doesn't happen, by forcing the view to look at the left-side of the outliner tree, when the width of the outliner window decreses due to resizing.
2007-09-10 07:24:26 +00:00
Matt Ebb
90e7bcdc29 * Raised some hard coded limits such as mist/envmap clipping ranges 2007-09-10 06:09:48 +00:00
Ben Batt
df1e3f1c49 Fix for edgesplit crashes reported in bugs 6695 and 7142. The problem, as
found by Riku Palomäki, was that "bridge" vertices (which connect two or more
faces that don't share edges) were not being included in the maximum final
vertex count calculation (used for memory allocation, hence the crashes).

Unfortunately Riku's patch actually stopped bridge vertices from being split
correctly, so I have fixed the problem by adding the maximum number of vertices
that can be generated from bridge vertices to the maximum final vertex count.

Thanks to Riku Palomäki for finding the cause!
2007-09-09 18:03:58 +00:00
Joshua Leung
6798cc26e4 Reverting commit 11974 as the setting in question, apparently causes major performance bottlenecks. 2007-09-09 11:58:03 +00:00
Joshua Leung
3a51aed18d Bugfix #6923:
NLA was calculating extensions of strips in the wrong order. This was not an issue in many cases, although it is highlighted in the following case:

[strip 1 - 'hold' is on] ----------------------------
                               [strip 2        ]

Logically, the end of strip 1 would hold on until the start of strip 2. However, the start of strip 2 was extended to the end of strip 1 instead.
2007-09-09 11:54:12 +00:00
Joshua Leung
8ddbd84240 Patch #6794: Subdivide Multi for Armatures
This patch, by Juho Vepsalainen (BeBraw), introduces subdivide multi functionality for armatures. It lets you specify the number of divisions that selected bones should be divided into. 

I've slightly optimised the code a bit, though the change shouldn't make much of a difference. I've also fixed a minor bug in the menu highlighting, due to duplicate menu event-codes.
2007-09-09 11:05:21 +00:00
Joshua Leung
b709e2982f == IPO Copy/Paste ==
When in EditMode for IPO-curves, keyframes are now pasted from the IPO-editor's copy/paste buffer instead of the entire curves being pasted. This makes it possible to 'move' keyframes from one IPO-curve to another. 

* Only keyframes in the copy/paste buffer that are selected, are pasted
* All keyframes that are pasted, are pasted relative to the current frame, with the current frame being the location of the first pasted keyframe.
* Pasted keyframes replace exisitng keyframes if they occur at the same location.
2007-09-08 12:34:27 +00:00
Joshua Leung
f5f18044df Materials setting "TraShad" is now on by default for all newly created materials. 2007-09-08 11:04:23 +00:00
Matt Ebb
bdad8d0de6 * Tweaked the knife tool header info text, making mention of the previously hidden ability to use MMB to constrain to screen axes. 2007-09-08 02:08:51 +00:00
Joseph Eagar
d00894c45c =Epydoc Fix=
epydoc changes for last commit weren't entirely clear.  Reworked a paragraph
to be a bit clearer.
2007-09-08 00:57:34 +00:00
Diego Borghetti
3d58fc3660 Fix compile warning.
The function newVectorObject is declare in the vector.h.
2007-09-08 00:54:42 +00:00
Joseph Eagar
8aa152df93 =Python Bugfix=
The python wrapper code for shape keys was really bad; whoever wrote it
(mis)read the wrong section of blender's codebase and got the totally wrong
idea.  The code was definitely broken to the point where either it had to be
fixed for 2.45, or else the entire keyblock wrapper would have to be removed
from the stable branch.  The fact that it didn't crash is just sheer luck;
the code assume mesh keys were MVerts, when in fact mesh keys are just
arrays of three-float vectors.

So shapekey data can now be editing directly, and is exposed as Mathutils.Vectors.
Also I updated the epydocs to explain how it all works now.
2007-09-08 00:04:32 +00:00
Campbell Barton
8a11629602 matrix to scale fixes from stable 2007-09-07 07:55:36 +00:00
Matt Ebb
0ba5295404 * QMC Raytracing
This introduces QMC sampling for use in glossy reflections/refractions, soft raytraced shadows, and ambient occlusion.

This work includes many new features and speed-ups, so check out the nice docs here:

Glossy Reflection/Refraction
http://www.blender.org/development/current-projects/changes-since-244/glossy-reflectionrefraction/

Raytraced Soft Shadows
http://www.blender.org/development/current-projects/changes-since-244/raytraced-soft-shadows/

QMC Sampling
http://www.blender.org/development/current-projects/changes-since-244/qmc-sampling/

Many thanks to Brecht van Lommel for some initial code snippets and for reviewing the patch, and especially to Alfredo de Greef who gave me a lot of guidance and help along the way!
2007-09-07 03:48:50 +00:00
Martin Poirier
0ec6abd2d1 [#7299] Orbit around selected causes panning to be reversed
The actual "bug" is much more general than simple viewmove. In fact, any time the center (for viewmove, or transform, or ...) on which initgrabz is called was behind the camera (in perspective, then), all mouse motion where reversed.

What I added is a special handling case that reverts those situation to the default case (center = viewport offset).

This changes the behavior for those case to something much more predictable/useable, but I doubt anyone expected it to work incorrectly, so I'd say that's alright.

This covers other cases than transform and viewmove (which are the only ones I really tested), but I don't expect breakage elsewhere.

If anyone disagrees with the change, feel free to offer a better solution.
2007-09-06 21:35:51 +00:00
Andrea Weikert
f0995e87b5 fix svn properties for line endings
fix a few no newlines at end of file warnings
2007-09-05 17:55:44 +00:00
Campbell Barton
5116048649 printing a pose's bone dict was limited to 4096 characters otherwise it would crash.
malloc the string instead.
2007-09-05 04:17:55 +00:00
Andrea Weikert
bbc47e96d3 == imagebrowser ==
- fix: deleting bookmark didn't update .Bfs file (see tracker #7298)
- also fixed memleak, thanks to the guardedalloc :)
2007-09-04 20:27:43 +00:00
Andrea Weikert
72e8dd452c == imagebrowser ==
- nicer drawing of highlight for bookmarks
- fix slight positioning issue of bookmark highlight
- resetting bookmark highlight when mouse outside bookmark area
- cleaned up define that isn't needed anymore
2007-09-04 19:07:51 +00:00
Juho Vepsalainen
5b55a89bac Fix for bug [#7135] Compositor crash when adding a time node:
This commit replaces the old function used to draw time node
user interface with new one. This should fix the issue. The
function can later be reused time node for material node 
system.
2007-09-04 17:42:33 +00:00
Stephen Swaney
e20e3e94ff more warning cleanup:
unused variables
undefined variables
discarded qualifiers
2007-09-04 15:53:22 +00:00
Campbell Barton
ee740fc601 Made ~ view all IPO's (similar to view all layers in the 3d view) 2007-09-04 07:26:25 +00:00
Stephen Swaney
3326d493a0 more warning fixes.
sprinkle a few 'const char*'s around to remove warnings 
about discarding qualifiers in imbuf code.
2007-09-03 19:12:36 +00:00
Stephen Swaney
1b35c1c1ec fix warning: no newline at end of file 2007-09-03 17:28:50 +00:00