Commit Graph

8157 Commits

Author SHA1 Message Date
Ton Roosendaal
ead26625c1 Bugfix #6486
Posemode: you can get a situation of an active object, in posemode, which
is not selected. That is very invisible, and gives issues for tools like
'clear rotation', because it checks for selected objects.

Als fixed clear (alt+g,r,s) options to only work on posemode for the active
object.
2007-04-04 10:37:28 +00:00
Peter Schlaile
7f526483fb == Sequencer ==
Added patch #5231 Insert multiple movies / audio tracks in video sequence
editor by Diego Borghetti.

Opening several movie / audio (HD) tracks in the file selector results in
adding them in a row to the timeline.
2007-04-04 06:27:36 +00:00
Nils Thuerey
d0bd8de972 Fixed bug #6068 (fluids & separate vertices)
* Also reset the fluidsimFlag to zero.
  The fluidsim settings are now disabled before duplicating the mesh
  for separate_mesh and separate_mesh_loose.
2007-04-03 19:56:57 +00:00
Nathan Letwory
9d079a2c2e * still silent code (enabled through seperate patch)
* changes in alloc/dealloc of pynode internal objects
* changes to shd_dynamic.
2007-04-03 11:24:11 +00:00
Campbell Barton
5371d956df curve center didnt update curve data.
add_mesh_torus - print's wernt removed
others, changed user visible text to american spelling - center
2007-04-03 08:20:17 +00:00
Ken Hughes
dab9f85485 Python API
----------
Added missing definition for NMEdgeType in Types modules.
2007-04-02 21:04:53 +00:00
Campbell Barton
bf2907288c editmesh_add - cone, cylinder and circle remember their 'Cap Ends' setting, each type remembers its own cap ends setting per session. adding a Cylinder with cap ends disabled names a new object cube.
console - Ctrl+Tab was autocomplete but that conflicted with weightpaint. Use Ctrl+Enter and Shift+Enter for newline without executing.
 also made console.py import bpy.
2007-04-02 16:32:05 +00:00
Campbell Barton
dabf9378d7 added a python slot to the "Add->Mesh" menu. 2007-04-02 09:58:01 +00:00
Ken Hughes
d5605414ee Python API
----------
Convert charRGBA to tp_getseters, update PyTypeObject structure to initialize
all the proper values, and use PyType_Ready to initialize (this means we can
remove the local tp_dealloc function again).
2007-04-02 05:10:32 +00:00
Campbell Barton
c0fef58e48 PyAPI
reverting python dealloc function removal, caused Save Theme to crash.
2007-04-02 02:45:57 +00:00
Nicholas Bishop
dca213525a == Multires ==
Fixed bug #6358, UV face select + Multires level change crashes

* Reading in multires files wasn't relinking the MTFace customdata stored for level 1. This was leaving tpage as a bad pointer.
2007-04-02 00:52:38 +00:00
Nicholas Bishop
2d1ef13962 == Multires ==
Fixed bug in the set-level callback; was incorrectly treating it as though a render was in progress.
2007-04-01 23:59:42 +00:00
Andrea Weikert
3c256eb9e4 ==== bugfix ====
small fix for uninitialized variable curlib
2007-04-01 19:00:10 +00:00
Ken Hughes
873b83c131 Python API
----------
Replace extern declarations for IDProp types with header include.
2007-04-01 03:58:42 +00:00
Ton Roosendaal
6057fc7186 Bugfix:
Freeing memory for node typedefinitions should be not in usiblender.c (that
is for UI-only stuff) but in kernel.
2007-03-31 18:18:30 +00:00
Ken Hughes
bf8bb77abc Python API
----------
Change deprecation printfs to print warning once instead of everytime the
deprecated method is called.  Also commented out deprecation warnings for
code which will eventually be replaced by experimental Blender.Main/bpy
module.
2007-03-31 15:31:37 +00:00
Ton Roosendaal
685bfd056e Yesterday's fix for Composite preview had bug for render output drawing in
Image window... variable 'draw cropped' was hanging.
2007-03-31 10:37:15 +00:00
Campbell Barton
3aec899828 Mesh.py - Updated doc and example about faceUV/vertexColor
image_billboard.py - was broken because textures dont accept the antialias flag anymore
2007-03-31 04:20:00 +00:00
Johnny Matthews
6f05a8ec2a Bug #5607
fkey - automatic quad from 4 verts does so on a tetrahedron

Added a case where there are 4 verts selected but > 4 edges selected. Uses addfaces_from_edgenet in that case now. This fixes the example blend that was given.
2007-03-30 18:24:00 +00:00
Campbell Barton
8da5f2a143 allow dealing with vertex groups once an object is created from a mesh. 2007-03-30 16:47:42 +00:00
Ton Roosendaal
eb3378a38d Bugfix #6469
Crashes in composite; caused by bad bad bug in freeing "passed on" buffers,
only happens with option "Free unused" set though.

Appeared to be mixup of variable names. Code changes with 2 bytes... :)
2007-03-30 13:56:24 +00:00
Campbell Barton
0a150240ac vec *= matrix would crash blender when multiplying a 3d vec by a 4x4 matrix because it wrote the 4th value in a 3d vector. 2007-03-30 12:39:21 +00:00
Joshua Leung
4512e34688 == Action Editor - Long Keyframes Bugfix (#6455) ==
Long keyframes didn't always display correctly when keyframes were being transformed. The old code assumed that the keyframes were all sorted chronologically. However, for technical reasons, this is not the case during transforms, causing problems.

Some slowdowns may be experienced on actions with large numbers of keyframes. I've only noticed a minor slowdown on some test-animations from Plumiferos I've got, but those files had a LOT of keyframes.
2007-03-30 12:22:06 +00:00
Campbell Barton
1a47d71f72 added Window.Get/SetActiveLayer() and changed how scn.objects.new() works, if scn is the active scene it uses the 3d views active layer to create the object in. 2007-03-30 08:20:37 +00:00
Stephen Swaney
f400069d34 run dos2unix on BKE_idprop.h
remove unused var from Library.c
2007-03-30 04:53:49 +00:00
Nathan Letwory
3b4a4c32dc * dos2unix (from now on patches shouldn't break on this file). 2007-03-30 04:06:06 +00:00
Stephen Swaney
b11a55d900 re-remove removed comment. 2007-03-30 03:07:49 +00:00
Willian Padovani Germano
c86e95c84a BPython: pydrivers
-Adding name "self" to the pydriver's dictionary, so that objects can be easily referenced in their own expressions. For example, the expression:

self.LocY

for the LocX channel of an object would force this object's location in X to be equal to its location in Y. As always, feedback welcomed.
2007-03-30 00:57:07 +00:00
Campbell Barton
cfdef7a88a ICVS: ----------------------------------------------------------------------
import OBJ dosnt raise a Py Error when no image is given for a material
export FBX works much better, tested 179 models and dosnt crash on any now. tested import export with large scene, 375,000 tri's.
Mesh.py doc note about UV coords,,
editmesh_add minor typo
2007-03-29 14:35:01 +00:00
Ton Roosendaal
3c5462e660 Bugfix #6426
Clearing number buttons and press enter (for assigning zero) did not give
a button event anymore. Caused by code for python eval, it treated this
as an error.
2007-03-29 12:57:15 +00:00
Ton Roosendaal
054c471a04 Bugfix #6419
When adding images, there was no check if image file was a directory.
Result was an Image without name even. Fixed!
2007-03-29 12:42:30 +00:00
Ton Roosendaal
bb5ca9afdb Bugfix #6333
When using headerbuttons to switch to Material context buttons, the preview
was not re-rendered correctly.
2007-03-29 12:16:03 +00:00
Ton Roosendaal
eafb84118a Bugfix #6308
Composite preview in Image window didn't work OK when making a window
fullscreen. That because it depended too much on a composite editor to be
open, for refresh events.

Now you can use preview panels in a full-screen image window too.

It also works a bit different... noticable while dragging preview panel
around.
2007-03-29 12:08:14 +00:00
Ton Roosendaal
0b7d7e07c6 Bugfix #6312
When saving files (images), the filewindow was giving relative paths on
a save-over menu.

Also: added in group.c a note about problems with timeoffset.
2007-03-29 10:09:44 +00:00
Ton Roosendaal
1cc445e7ea Bugfix #6456
Boolean modifier on its own object crashes. Easy to prevent this user error
2007-03-29 08:34:03 +00:00
Stephen Swaney
a675bc1904 add some details for new sequence type 2007-03-29 05:08:09 +00:00
Ken Hughes
b8e425af7c Revisions to previous change of new_id().
Note: the intent of the original modification (and these updates) is not to
change how new_id() functions.  What has been done is to pull out the code
which calculates a new name for an ID in the case of duplicate, as would
happen when you copy any datablock, into a separate function.  This code is
necessary in the new Python Library module, since it otherwise is extremely
difficult to locate a new datablock appended from a library.  new_id() calls
this separate function to generate a name for the new ID if necessary, just
as it previously did.

To make the purpose of this new function clearer, I renamed it
check_for_dupid() and added more extensive comments.  I repeat, it's not
meant to be a substitute for new_id().
2007-03-29 04:55:29 +00:00
Ken Hughes
1e71afc48a Python API
----------
Fix gcc compiler warnings.
2007-03-29 03:47:50 +00:00
Campbell Barton
2d86a1ce28 adding a cone with no and cap crashed, fixed and added some comments 2007-03-29 00:10:53 +00:00
Kent Mein
65a9dcdab7 I switched the linux side of things to use pkg-config for
OpenEXR, and I switched all of the other platforms back to
no ThreadLib.  I really was trying to make this easier for people not
harder, and I'm afraid I failed.  Hopefully this clears things up for
people and everyone will switch to using the Makefiles. ;)

If your having problems you should be able to just add the IlmThread lib
back into your NAN_OPENEXR_LIBS inside of your user-def.mk and be good to
go.  let me know if you have problems with it.

Kent
2007-03-28 20:49:15 +00:00
Ton Roosendaal
1ba9226903 Option "New" in editbuttons, material panel, did not create a new unique
Material, but relinked the active. Was an old confusing annoying actually.
(And not useful, when do you want 2 material indices with same material?)

Now the 'new' duplicates material, if there is an active material.
2007-03-28 19:47:59 +00:00
Campbell Barton
273ca449d3 added options to add mesh (cap ends, radius and depth) 2007-03-28 15:25:07 +00:00
Ton Roosendaal
f5b919e12e Long wanted feature; decent ESC processing in composite nodes.
Works simple; just check for

		if(node->exec & NODE_BREAK)
			break;

The main process (node processor) sets such a flag, checking for esc
20 times per second. That means you can check for ESC while doing image
processing without much cpu overhead.

Currently only added in blur nodes and defocus. Needs to be added all over,
nice for others... needs careful tests too.

What we now could do is even calling ESC on editing commands or mouseclicks
in composite editor? Could give user feeling of interactive app :) Further,
finished nodes are kept in memory anyway.
2007-03-28 13:48:01 +00:00
Robert Holcomb
39ef0f4eba moved node_shader_lamp_loop to node.c and put an extern declaration in BKE_node.h to prevent multiple definition link errors. 2007-03-28 13:07:59 +00:00
Nathan Letwory
51c748aeef * this is a 'silent' commit, so it is easier to issue patches for pynodes. This code
is not activated unless patch is applied
2007-03-28 12:04:20 +00:00
Campbell Barton
c820e79e77 made the add mesh functions use do_clever_numbuts so multiple options can be in the one popup 2007-03-28 04:18:58 +00:00
Stephen Swaney
12f6c05ec3 Make a nice version number for printing Python version.
some py versions are formated as major.minor.subversion.

Clean up some old comments.
2007-03-28 03:18:21 +00:00
Robert Holcomb
6f267c8bda removed unused variable from function that was left over from static node list 2007-03-28 01:48:47 +00:00
Robert Holcomb
de3e0d36d5 Removed unused button code since it is set in drawnode.c 2007-03-28 01:45:57 +00:00
Chris Want
98760e69b3 Change link order (nodes<-->blenkernel) for cmake build. 2007-03-27 21:58:02 +00:00