Commit Graph

150077 Commits

Author SHA1 Message Date
Nathan Letwory
28d1b60059 Small patch by Joilnen Leiter:
Cancel window split with RMB
2004-09-06 07:58:11 +00:00
Brecht Van Lommel
33906b9117 Bugfix for the render window not popping to the front when it already existed,
under linux / x11 / KDE.

The new behaviour in 2.34, not recreating the render window on re-render,
revealed that raising windows did not work under some window managers.  Now the
"net wm extensions" are used if available, otherwise it will work the same way
as before (e.g. Gtk+ does this as well).

More info:
http://www.freedesktop.org/Standards/wm-spec
2004-09-05 22:51:50 +00:00
Martin Poirier
ea815d51ce All constraints (except FollowPath) now check if subtarget (bone) is valid and disable constraint if not. Previously, this only worked with IK Solver.
The problem was that it defaulted to the armature object as target but didn't clear the subtarget field. This makes it clear that there's a problem.
2004-09-05 21:20:03 +00:00
Martin Poirier
ae9347662b Stretch To constraint
Read today's meeting minutes for a description.

Bjornmose: We'll need some example and screenshots for the dev pages of blender3d.org. If you can do some, neat, if not, I'll do them.

Matt, Emilie and Chris: Please review UI addition. Pixel alignement and all that fun stuff has not be overly looked for (though I did some cleaning by adding alignment blocks).
2004-09-05 20:21:16 +00:00
Nathan Letwory
81e960d1c4 Update msvc7 project files:
* Add Sound module
* Add files for global undo
2004-09-05 17:18:49 +00:00
Martin Poirier
fbfa96f647 Quit confirm dialog 2004-09-05 15:43:45 +00:00
Ton Roosendaal
54a5870f3e Typo in ListBase -> listBase 2004-09-05 14:18:45 +00:00
Martin Poirier
05bf02c1a2 Adding undo files to projectfiles (MSVC 6.0) 2004-09-05 14:18:39 +00:00
Ton Roosendaal
e3286f5f60 Huh! that file was added... anyhoo, here again! 2004-09-05 13:59:08 +00:00
Ton Roosendaal
949bcc5016 SConscript for new file 2004-09-05 13:53:55 +00:00
Ton Roosendaal
bf83f6ddd8 Second itteration of global undo system. Now based on:
- file-to-memory save
- incremental difference steps (compression)

everthing has been tightly coded to use minimum of memcpy or allocs. In
fact this system works with a single full buffer (=file) in memory, and undosteps as differences from it.
Speed gain is factor 4-8 faster. I've added it in CTRL+ALT+T timer menu for
a test. Please note the gain is especially in the undo-storing, not in
retrieving undo.

Also new: file read option to skip UI read (file menu). This now also is
default for the undo system.
2004-09-05 13:43:51 +00:00
Chris Want
61e4707bdb Fix for bug #1580.
If the mesh 'key' doesn't have an IPO, then don't try to
select any key's on the non-existent IPO curves in the
action window.
2004-09-03 16:42:46 +00:00
Kent Mein
f284ba64b0 Ipo.c
Removed a block of a bunch of unused vars...
	Added a return NULL to the end of a funtion that is suppose to
		return something and could fall through.

editconstraint.c
	Added a newline to the end of the file to get rid of a stupid warning.

Kent
2004-09-03 14:31:06 +00:00
Kent Mein
aa317a8281 removed 4 unused vars...
Kent
2004-09-01 13:33:24 +00:00
Kent Mein
076a2eb4ea removed 3 forward declarations's inside of a fuction.
They were not needed were for functions that were in the same .c file
higher up and I think its sort of a non standard way of doing things.
(using prototypes would probably be more inline with the other code but
as I mentioned they are not needed and were causing warnings in gcc)

Kent
2004-09-01 13:29:44 +00:00
Stefan Gartner
ea8c97b44b fix typo in GameLogic documentation 2004-09-01 13:19:42 +00:00
Kent Mein
e63db96a57 I removed the following:
LEVEL_2_CPP_WARNINGS += -Wstrict-prototypes
  LEVEL_2_CPP_WARNINGS += -Wmissing-prototypes

Every version of g++ i've used has stated these two were not for g++
but for c or objectivec.

Kent
2004-09-01 12:09:22 +00:00
Ton Roosendaal
2e0380f365 The undo test is now safely hidden behind a user-button (temporal)
Activate it in User menu "edit methods"
2004-08-31 21:01:21 +00:00
Ton Roosendaal
bd31cc5eb4 Enabled trial for 'global undo'. This now only has undo steps for
- transform (grab, rot, scale, etc)
- all button commands, including menus

I sacrificed for now the UKEY in the 3d window for it. Shift+U does a redo.
(Only in 3d window)

What this system does is saving files in the temp directory (user pref).
The filenames are cycled around (32 in total now).

This commit will follow shortly with a userpref for it, not to frustrate
people who want to work in normal fashion with blender.
2004-08-31 20:13:32 +00:00
Kent Mein
934a11e9ff ok my last little tweak for today ;)
I cleaned up the code a little did a couple of these:
if (blah > stuff - wah)  blah = stuff - wah;

changed to....
tmp = stuff - wah;
if (blah > tmp) blah = tmp;

and combined multiple if statements

Kent
2004-08-31 14:23:29 +00:00
Ton Roosendaal
0a305446a5 Three functionalities in one commit, but there's overlap so I can't
separate it...

1) Curve/Surface editmode undo
Uses same syntax as mesh undo, so simple to integrate. Edit-curve data is
also quite simpler, so no need for any hack at all.
It re-uses the undo system from next point, which is nice short & clean
local code

2) Framework for global undo
The undo calls themselves are commented out. In a next commit I want to
enable it for a couple of main features, for further feedback.
The speed goes surprisingly well, especially with this new version that
'pushes' undo after a command, ensuring interactivity isnt frustrated

3) framework for texture based icons in Blender
Not activated code, but tested here. Part of 2.3 UI project.

btw: Johnny Matthews will assist in (and complete) the undo project
2004-08-31 13:43:18 +00:00
Kent Mein
19a24abcb2 two more vars that were questionably not initalized...
Kent
2004-08-31 13:11:59 +00:00
Kent Mein
e525578f4d Some small clean ups again...
I added ifdef's around a var declaration since the code using
it had them...  Also initalized two vars that were questionable if they
could reach a state where they weren't assigned.

Kent
2004-08-31 13:10:45 +00:00
Kent Mein
0bbcff693c Added the bmp include forgot to do that when I added the write support.
(fixes a warning about the imb_savebmp undefined...)

Kent
2004-08-30 18:43:00 +00:00
Ton Roosendaal
316e31e785 Realtime updates of taper and bevel while editing them. 2004-08-30 18:31:30 +00:00
Brecht Van Lommel
92eaa7d095 Fix for bug #1574: shift+tab switched back to object mode from all modes,
except for Texture Paint mode. Now it works for texture paint mode too.
2004-08-30 17:24:58 +00:00
Ton Roosendaal
e3f97af5c8 Stoopid typo in 'full osa' caused the wrong mask value to be sent to the
raytracer. Instead of only tracing the current subpixel it did all
(or most) of them.

Solves reports on slow AO in 2.34, but also will affect ray_mir and transp
2004-08-30 17:17:08 +00:00
Kent Mein
a297f42bcd Changed : A[i,k] to A[i][k]
Caught from the following warning:
In file included from IK_QChain.h:47,
                 from IK_QChain.cpp:44:
TNT/cmat.h: In function `void TNT::matmultdiag(TNT::Matrix<T>&, const TNT::Matri
x<T>&, const TNT::Vector<T>&)':
TNT/cmat.h:593: warning: left-hand operand of comma has no effect

Kent
2004-08-30 13:44:58 +00:00
Ton Roosendaal
106c3340ad Added a flush in radiotisitizer tool, to update draw of shooting patches
while it's doing a 'Go'
2004-08-29 17:05:19 +00:00
Ton Roosendaal
1c5c0485ed Forgot to export Object as struct Object... 2004-08-29 16:27:54 +00:00
Ton Roosendaal
969fb8f765 Apparently the curve render code doesnt use the displist... so there's
duplicate code for tapering needed.
Now tapered curves render too.
2004-08-29 13:58:48 +00:00
Ton Roosendaal
4edfc3a919 Feature for Curve objects in Blender; 'tapering'.
Next to the "BevOb" button you now have a "TaperOb" button to give a name
of a curve object which defines the width of extrusion of the 'BevObj'
along the curve. The TaperOb curve typically is horizontal, where the
height denotes the width.
Important rules;
- Only the firste curve in TaperObj is evaluated
- the first width is left, last width is right
- it scales the width of normal extrusions based on evaluating the taper
  curve; which means sharp corners in taper curve won't be easily visible

(That latter feature could be improved by extrusing based on the points
in the taper curve; this is a *lot* more work)
2004-08-29 09:21:52 +00:00
Martin Poirier
19ba12946c Adding BPY sound module to projectfiles (MSVC 6.0) 2004-08-27 00:08:46 +00:00
Martin Poirier
8c66fa07e0 Added proper qualifier handling to make it possible to switch to Shrink/Fatten and Shear while already in transform mode. 2004-08-27 00:02:49 +00:00
Chris Want
95b9534d2b We don't use ODE anymore, so I commented out some lines that make it
required to build.
2004-08-26 22:42:44 +00:00
Jens Ole Wund
bd768e00f3 claiming this to be mine .. to remain compatible to tuhopuu development
CONSTRAINT_TYPE_STRETCHTO	15
bjornmose
2004-08-26 22:00:14 +00:00
Stephen Swaney
81b5108f49 Bpy access to more texture features: Musgrave, Voronoi, and Distorted Noise.
Contributed by Joilnen B. Leite ( pidhash).  Thanks!
2004-08-26 02:16:26 +00:00
Matt Ebb
2ce265bb67 Small modification to redraw the 3D View when an image is reloaded. 2004-08-24 08:36:02 +00:00
Kester Maddock
5b74adda37 Fix stereo window creation on X11. 2004-08-24 03:30:16 +00:00
Matt Ebb
54c9a1ae40 Added Zoom In and Zoom Out menu entries to the uv/image editor 2004-08-24 03:27:05 +00:00
Matt Ebb
4511341044 Test commit, nothing to see here. 2004-08-24 02:51:07 +00:00
Johnny Matthews
5e49fe73f3 This commit should clean up the warnings in edge_rotate that Ton brought up. The do not show up now on mine with /W4 on MSVC. 2004-08-23 22:13:57 +00:00
Ton Roosendaal
b83c41080c testing 1 2 3 2004-08-22 18:16:49 +00:00
Ton Roosendaal
8e9af33c01 testing 1 2 3! 2004-08-22 13:24:09 +00:00
Ton Roosendaal
5d4ce78270 Testing commit to check maillists 2004-08-22 11:06:00 +00:00
Chris Want
83222e376e Make sure directory $(OCGDIR)/extern is created before building extern
stuff.
2004-08-21 19:12:59 +00:00
Johnny Matthews
ea30bc3e2a This commit adds the 'Rotate Edges' functionality. Select edges and ctrl-E and choose rotate edges. is also in the mesh->edges menus in 3d header and toolbox. I put it here since there was not concensus about replacing the code for CTRL-F with this code. 2004-08-20 21:22:47 +00:00
Matt Ebb
f1ff79e5af Added a missing hotkey in the toolbox. 2004-08-18 06:59:27 +00:00
Matt Ebb
6d05bea70b Small tweak to the default Glow effect values, so there's a
noticable difference when you add the effect (preventing
people like K-Rich wondering why it's not working :)
2004-08-18 04:32:57 +00:00
Brecht Van Lommel
1e2c1f8a4a Bugfix for incorrect unwrapping of some triangle shaped quads;
Triangulation of these quads could lead to degenerate triangles, resulting
in UV's in random places. Now quads are automatically triangulated in the
best direction.

This bug was reported by Tim Fisher (thanks!).
2004-08-17 16:00:32 +00:00