Commit Graph

23492 Commits

Author SHA1 Message Date
Sergey Sharybin
4532b0ba2a Fixed disappearing of NURBS surface when it's created from to joined nurbs curves. 2010-03-23 22:09:33 +00:00
Sergey Sharybin
e6986acaa3 Added "Number of cuts" property to the bpy.ops.curve.subdivide operator. 2010-03-23 22:09:23 +00:00
Campbell Barton
377f06082a enable compiling without python again 2010-03-23 21:37:02 +00:00
Andrea Weikert
6956f6c1c5 fix: Curve point was added somewhere outside the universe
- MSVC needed location initialized to zero.
2010-03-23 20:41:19 +00:00
Campbell Barton
c76a069bd1 Panorama camera support for UV project modifier 2010-03-23 20:04:05 +00:00
Guillermo S. Romero
169c4bf8a8 SVN maintenance. 2010-03-23 19:00:48 +00:00
Andrea Weikert
411cc8e5b6 fix [#21666] selecting images in file browser before thumbnail is created deselects them when the thumb is created
- was overwriting the selection flag
- also fixed mismatching prototype (own eek!)

Also added small update of MSVC 9 projectfiles (blendkernel/image_gen.c)
2010-03-23 18:46:21 +00:00
Campbell Barton
737eee5d1b move uv project functions into their own files to be more re-usable. 2010-03-23 18:28:38 +00:00
Daniel Salazar
e6aac03e7a Spacebar to confirm Fly Mode 2010-03-23 16:40:46 +00:00
Daniel Salazar
e255cff1ca Mesh Edit mode keymap conflict: Shift F should be fly mode, remapped
Fill to Alt F and Beautity Fill to Shift Alt F

first commit from PrimateFX headquarters!
2010-03-23 16:17:48 +00:00
Brecht Van Lommel
083b11f3c3 fix for mistake in own recent commit.
(commit 27690 by Campbell from render25 branch)
2010-03-23 16:17:27 +00:00
Brecht Van Lommel
4b32c9065e fix for crash on loading some files with composite nodes.
(commit 27689 by Campbell from render25 branch)
2010-03-23 16:16:32 +00:00
Brecht Van Lommel
9ca5243df8 workaround for compositor threading copying actions every time.
(commit 27684 by Campbell from render25 branch)
2010-03-23 15:34:07 +00:00
Brecht Van Lommel
f46cccedf6 rna/py-api fix.
C functions and python used different argument order, this relied on mapping non-keyword arguments to 'REQUIRED' arguments but meant that you could not have an optional, non-keyword argument.

next commit will make order of arguments consistant (currently only changed order that rna wrapped).
(commit 27674 and 27683 by Campbell from render25 branch)
2010-03-23 15:31:12 +00:00
Brecht Van Lommel
cb6d2685bd rna/py-api fix.
C functions and python used different argument order, this relied on mapping non-keyword arguments to 'REQUIRED' arguments but meant that you could not have an optional, non-keyword argument.

next commit will make order of arguments consistant (currently only changed order that rna wrapped).
(commit 27674 by Campbell from render25 branch)
2010-03-23 15:25:33 +00:00
Brecht Van Lommel
d87e7393e3 report an error parsing args, will try fix properly but this involves many changes so do this for now.
(commit 27671 by Campbell from render25 branch)
2010-03-23 15:21:08 +00:00
Brecht Van Lommel
5bc2d53507 fix for parsing python args to rna functions, was using allocated size as argument count.
(commit 27670 by Campbell from render25 branch)
2010-03-23 15:04:06 +00:00
Brecht Van Lommel
33e0ea0e59 py/rna functions for adding and removing curve data.
(commit 27666 by Campbell from render25 branch)
2010-03-23 14:58:36 +00:00
Brecht Van Lommel
5fad6edcb0 getting an item from a collection wasnt being checked correctly.
(commit 27665 by Campbell from render25 branch)
2010-03-23 14:48:32 +00:00
Brecht Van Lommel
69be3d45e8 bugfix for loading objects saved with the dupli pointer set.
(commit 27662 by Campbell from render25 branch)
2010-03-23 14:47:40 +00:00
Campbell Barton
f743b583bf more lint includes
Only source/blender/editors/ dir, should not give errors on different platforms
Only removing:  UI_*.h, ED_*.h, WM_*.h, DNA_*.h, IMB_*.h, RNA_*.h, PIL_*.h
2010-03-23 14:09:09 +00:00
Joshua Leung
4ae515a4e5 Keying Sets: BuiltIn vs Absolute Tweaks
This commit clarifies the somewhat "murky" separation between "builtin" and "absolute" KeyingSets as a result of discussions with Cessen.

* "Builtin" Keying Sets are now just the Keying Sets which in the past have been known as PyKeyingSets or Relative KeyingSets. These are registered from Py Scripts at startup, and will use the context info to determine what data they should be keyframing. These are stored per Blender session, independent of files, since usually these will be coded specific to sets of rigs used at a studio.

* "Absolute" Keying Sets are the ones that you can create from the Scene buttons and/or KKEY or RMB over any property. They specify the exact set of properties which should always get keyframed together. These are stored in the scene. 

In relation to this, I've made it possible to now set one of the builtin Keying Set types as the active Keying Set. 
* For now, this can only be done via the box beside the insert/delete key operator buttons on the TimeLine header (now complete with an recycled icon - HINT TO ICON DESIGNERS, to make this a bit more obvious). Later on I'll commit an operator to set this via a hotkey.
* The "IKEY" menu will only show up when there is no active Keying Set. When there is one, keying will happen silently (with info notice at the top of the screen). Later on, I'll hook this menu up to a hotkey, so that that active Keying Set can be changed without inserting keyframes or clearing active Keying Set...
* By default, there isn't any default Keying Set enabled. IMO, this is probably a good default, though some might like to have LocRotScale instead.
* I'm not terribly impressed with the search menu for the items being SORTED (and of all things, alphabetically!) currently, since this does break muscle-memory with the menu (and jumbles up order of closely related vs not closely related).
* The Scene buttons for KeyingSets still need some changes to fully cope with users setting builtin KeyingSets as active sometimes. Controls which are useless or shouldn't be used when a builtin set is shown are being shown.

Builtin set registrations have been tweaked a bit:
* Renamed "bl_idname" to "bl_label" for consistency with rest of API. Note that this is the identifier used by Blender internally when searching for the KeyingSet, and is also what the user sees.
2010-03-23 11:59:34 +00:00
Robert Holcomb
d2225edfce Added a line sampler to the histogram panel in the image space.
Patch #21712 from Xavier Thomas.  
now updates in real time as you pull the line.
2010-03-23 01:22:33 +00:00
Janne Karhu
371732154b Fix for child drawing bug reported in the comments of [#21103] Updating bugs in Particle Mode 2010-03-22 19:38:40 +00:00
Brecht Van Lommel
a2778a262b Fix #20548: flat shading not drawing right in sculpt mode. 2010-03-22 17:17:36 +00:00
Janne Karhu
867cad85b7 Fix for [#21103] Updating bugs in Particle Mode 2010-03-22 17:12:08 +00:00
Brecht Van Lommel
113ea4368e Math Lib: make some more vector functions use const arguments. 2010-03-22 15:55:12 +00:00
Brecht Van Lommel
30efa59b0d Fix node material properties not showing correct, the code here should not
be removed, because some panels use the parent materials while others use
the nested materials.
2010-03-22 15:50:16 +00:00
Brecht Van Lommel
21174f28a9 Sculpt: fix memory leak with anchored stroke option. 2010-03-22 13:24:41 +00:00
Campbell Barton
a3ee78b885 Screw Modifier
flip the closing edge so when applied a second time it doesnt flip the closing ring of faces. (means you can make a torus from 1 vertex and 2 modifiers)
2010-03-22 12:09:39 +00:00
Brecht Van Lommel
09b1c681e1 Sculpt Mode Bugfixes:
* #20833: layer brush doesn't work with multires.
* #20946: sculpt mode partially removes parts of the mesh in the viewport.
* #20420: grab brush stops after moving some distance.
* #20906: sculpt grab tool moves in wrong direction.
* #21132 and #21272: undo on object with subdivision surface modifier crashes.
* #21115: subsurf + multires + sculpting + undo causes crash.
* #20683: sculpt + multires apply + undo crash.
* #19094: wrong outline in solid mode.
2010-03-22 11:59:36 +00:00
Campbell Barton
1e9bf0cfdb spaces -> tabs, (4 spaces == 1 tab, only for white space preceding text) 2010-03-22 09:30:00 +00:00
Campbell Barton
9b2dd9aac6 fixes for screw modifier
- steps for a closed screw was off  by 1
- screw offset wasnt being copied
2010-03-22 08:49:12 +00:00
Campbell Barton
fb9546746e Screw Modifier (old patch was called Lathe)
didnt commit this patch because curves are generally better to create a shape to lathe however now that curves can have modifiers applied to them I think its good to have this.

Added options to offset the lathe so it can work like the screw tool as well.

- optional object for axis which also controls the center point.
- screw offset so rather then just lathing this can work more like the screw tool.
- screw optionally using the object distance along the axis.
- iterations so the screw can be applied multiple times.

tested to work well with curves.
2010-03-22 00:22:52 +00:00
Campbell Barton
74b3336107 rotate_m4 was using degrees rather then radians. 2010-03-22 00:14:56 +00:00
Campbell Barton
4394217b96 when curves draw as derived meshes, check their face count rather then if the display list has faces. 2010-03-21 22:54:30 +00:00
Campbell Barton
44bfe1437a remove unused includes 2010-03-21 22:52:56 +00:00
Janne Karhu
df7b696b73 Big cleanup of particle system core, also some minor pointcache cleanup. Shouldn't contain any functional changes. 2010-03-21 20:36:06 +00:00
Campbell Barton
dd4a8bff51 take 2... 2010-03-21 15:59:08 +00:00
Campbell Barton
cc8f790199 recent removal of includes broke for msvc 2010-03-21 15:47:13 +00:00
Joerg Mueller
f61b3ac81a Fix for sequencer adding scene strips of the same scene resulting in an endless recursion. 2010-03-21 15:40:36 +00:00
Campbell Barton
247b7249bd [#21682] help() doesn't work in the console
replace pydoc's pager function so the console's input isnt used.
2010-03-21 14:56:26 +00:00
Tom Musgrove
49493dec55 2010-03-21 14:46:43 +00:00
Campbell Barton
546ca400d8 removed unused includes, except for physics and particle related files 2010-03-21 13:42:25 +00:00
Campbell Barton
f9c25a9928 remove includes that arnt needed 2010-03-21 13:07:31 +00:00
Campbell Barton
f9999f3445 [#21692] Blender Crashes upon trying to view UV Test Grid (r27639)
fix for mistake in own commit when moving grid color func into its own file.
2010-03-21 10:25:21 +00:00
Guillermo S. Romero
42ac4a3e7d Fix syntax for ID keyword. 2010-03-21 01:14:04 +00:00
Campbell Barton
03acdd75e0 [#21660] improved UV test grid
from shuvro sarker (shuvro) 
Added text to the patch and made other minor tweaks.

moved image generation functions into their own file.
2010-03-21 00:25:52 +00:00
Joerg Mueller
42a0ef4dcf OK, compiling doesn't mean it runs, now it should really be fixed, as I don't use NAN directly anymore. 2010-03-21 00:04:50 +00:00
Guillermo S. Romero
d55cf90bb6 SVN maintenance. 2010-03-20 23:43:50 +00:00