Commit Graph

16327 Commits

Author SHA1 Message Date
Diego Borghetti
ad470b6971 Fix hide/show don't work in object mode. 2007-04-27 16:56:29 +00:00
Jiri Hnidek
76c11ec9f7 - support for fake verse edges (subsurf modifier should work now)
- edges are generated from verse faces
   - no support for lose edge!
   - informations about edges aren't sent to verse server (other applications
     can't share edges with blender)
- better sending/receiving vertex position
2007-04-27 14:04:30 +00:00
Joshua Leung
d584c8a1e6 "Bugfix" #6610:
Typo in Fluidsim Tooltips. Also fixed a few other similar issues with the tooltips
there.
2007-04-27 12:05:06 +00:00
Joshua Leung
7b6d68d7a3 == 2 Bugfixes ==
Bug #6611:
Renaming bones didn't rename corresponding action-channels in NLA strips for that
object. Was even marked in code as todo ;-)

Bugfix #6599:
Vgroup button does not update the panels in 3d viewports.
Fix provided by Juho Vepsäläinen
2007-04-27 11:54:09 +00:00
Joshua Leung
23f59a8e8a Removed unused variable and reorganised another 2007-04-27 11:32:11 +00:00
Joshua Leung
01335fc7bb Bugfix:
Previous versions of Blender allowed Vertex Groups to be nameless, which
shouldn't be allowed. This caused problems with rigs from previous versions of Blender being loaded in 2.43+ versions, as the new VGroup feature for the
Armature modifier mis-identified these nameless group(s) as being the Vertex Group
to be used. As well as the checks done when renaming VGroups (from another commit), files created prior to and in 2.43 will have all such groups given default
names.

Code notes:
* I've moved the unique_vertexgroup_name function from src to blenkernel like for
 constraints
* Formatting in deform.c tidied up a bit
2007-04-27 11:16:35 +00:00
Campbell Barton
0a9dc31c8b added blender-camera export to fbx
py api was massing shiftX/Y
2007-04-27 00:33:07 +00:00
Campbell Barton
2e134e84ab drawview.c - Passepartout, only do GL alpha when not 1.0 alpha
buttons_editing.c - negative camera lense was possible with (Deg) button enabled
export_cal3d.c - minor changes
object_batch_name_edit.py - check for data and object libdata before renaming.
2007-04-26 19:05:22 +00:00
Diego Borghetti
71ac221ea3 If you are in PoseMode and use BKEY the selection is now limited to the
bones of the armature.
2007-04-26 14:03:28 +00:00
Ton Roosendaal
adae1a7b77 Bugfix:
Specular pass was excluded from Shaded drawmode, missing initialize of
new 'exclude passes from result' option. Bug in 2.43 release...

Added warning in code, ShadeInput is initialized here locally, need an API
call for it.
2007-04-26 09:01:37 +00:00
Diego Borghetti
59384464ec SubSurf can be enable/disable in linked data. 2007-04-25 16:52:20 +00:00
Ton Roosendaal
7f9c872169 Bugfix, plumiferos report:
Strand texture coords (static particles) did not precisely go from -1 to 1
when random lifetime was used.
2007-04-25 16:12:34 +00:00
Campbell Barton
3f153c25be hiding objects in texture paint mode was buggy - (you couldnt exit texxture paint) - so only hide/show objects in object mode.
removed radiosity support.

According to the author -

"The Radiosity file format is my own personal format. I created it to
learn how meshes and vertex colors were stored. See IO-Examples.zip, the
example *.radio files on my web page."
2007-04-25 14:47:29 +00:00
Joshua Leung
fabcaacc51 == Action Editor ==
In the Action Editor, sliders are now drawn beside IPO-Curve and Constraint Channels and for the active Action Channel when the 'Show Sliders' option in the View menu is turned on. This behaves like for shapekeys.

You can change the limits of the sliders by either Ctrl-Clicking or NKEY over the
name of the relevant IPO-Curve channel.


Also, documented the IPO-curve struct a bit. There are a few variables there that
I'm not sure what they are used for.
2007-04-25 11:57:02 +00:00
Campbell Barton
13b1fbd665 made blender take hidden objects into account in more situations.
Ctrl+RMB used to select a hidden object as well as "Select Grouped -> Parent"

Also made OOps and data browser check for hidden objects.

Added a countall to hide/unhide objects.
2007-04-25 02:20:55 +00:00
Campbell Barton
0c7e145dce Object.c - made object action writable
gen_library - fixed bug, wasnt adjusting user counts properly.
bpy_data.c - added default new names for new data
2007-04-25 00:37:19 +00:00
Campbell Barton
77f08ddc12 editface.c & buttons_logic.c & Draw.c & verse_session.c - added missing header
Bone.c - return an empty list rather then None for bone.children bone.getAllChildren()
Draw.c - per button callbacks are now have (event, value) passed
2007-04-24 17:28:40 +00:00
Ton Roosendaal
46545ac575 64 bits safety:
- makesdna now checks for struct-in-struct alignment (default 8 byte align)
- fixed two occurances of such struct-in-struct align errors
2007-04-24 14:52:35 +00:00
Campbell Barton
1ad4f024c8 had debug oprions enabled for cal3d, small updates to epydoc 2007-04-24 02:09:25 +00:00
Campbell Barton
94ad8c810c Changed TESTBASE and TESTBASE_LIB to check the hidden flag
Checked every instance of testbase to see this dosnt break anything, also changed TESTBASE and TESTBASELIB, both were used incorrectly in places.

added error_libdata() for library error messages that are everywhere.
added object_data_is_libdata to test if the object and its data's are from a library.
fixed 2 crashs in adding Curve points to a library object (remember to check, verify_ipocurve returns NULL!)
made duplicating and making dupli's real for lib objects possible, disabled joining into lib armatures and meshes.
2007-04-22 22:08:19 +00:00
Campbell Barton
1c52e2cfa4 6488 - Interface - Theme controls corner style
Made some other changes too, to border redraw, and dont draw antialiased squares when the minimal themes enabled.
2007-04-22 17:14:23 +00:00
Campbell Barton
d2f81fe5e9 Commit [ #6576 ] Hide "Join Areas" when areas cannot be joined,
modified the way string/menu, but othern then that patch's functionality is good.

Seems to loop a fair but on screen edge data, but I tried to make it run slow and couldnt..
2007-04-22 16:27:45 +00:00
Campbell Barton
df33b2855c New UI popup block Blender.Draw.UIBlock(func) - similar to PupBlock but less restrictive since it uses user defined buttons.
Also added per button callbacks, so each button can have its own python functions.
2007-04-22 13:48:40 +00:00
Campbell Barton
60af30ec8a lightwave_import - tested with many more new files, fixed a rare error (probably bad file)
export_fbx - export lamps, (point/spot/sun), Mesh edges, Dupli'Objects and static particles as edges. bug fix in material export and better reuse of some standard text chunks.
fly mode, added acceleration on mouse-wheel and +/- so flicking the mousewheel has more effect and dosnt feel so slugish.
BPySys.py - cleanName, dumb mistake.
2007-04-21 11:23:45 +00:00
Joshua Leung
6f9e78641c == Preview Range ==
2 Bugfixes:
* EKEY in Timeline changed start frame of Preview Range too. Reported by slikdigit
 on IRC
* SKEY in Timeline also didn't work correct as it was changing the end frame.

New Feature:
* Now OGL preview-render obeys Preview-Range settings.
2007-04-21 03:54:16 +00:00
Joshua Leung
1bb2c03ee6 == Action Editor ==
Now you can also rename channels by holding the Ctrl-Key and clicking on a channel.
2007-04-21 00:08:33 +00:00
Campbell Barton
d76778f0e4 2 new python functions for the NLA.
action.getChannelNames() and action.renameChannel(from, to)

editaction.c - maximum new name length was too short
2007-04-20 23:33:56 +00:00
Campbell Barton
cbfeab7e45 dumb mistake, wasnt UN-setting the flag to zero LIB_APPEND_TAX
Fixed an error that could cause a possible memory corruption,
library filenames were being used to make a menu, but memory was only being allocated FILE_MAX per lib rather then FILE_MAXDIR+FILE_MAX, since lib->name is the full path. was also doing lib->name+2 which isnt needed for a path.
2007-04-20 20:15:54 +00:00
Campbell Barton
c7b1e5c11d export_fbx.py - support scene start/end frames, fpx, mist settings, better default camera writing.
BPyObject.py - function for getting an objects armature, look at both parent and modifier.
editmesh_add.c and BPyAddMesh.py - check for multires
filesel.c, Append/Link had a bug where files linked in, didnt have the LIB_APPEND_TAG unset, and appending these into a new blend file would link instead.
BKE_library.h, library.c - utility functions for flagging listbases flag_all_listbases_ids and and flag_listbase_ids
2007-04-20 18:48:30 +00:00
Jiri Hnidek
2857861023 Buf fix for #6571
- metaball_tree= NULL; was missing in code
2007-04-20 12:56:51 +00:00
Campbell Barton
3fe793f2b5 [ #6442 ] image.repack (Python)
- Modified pack so it can repack too, rather the n raising an error.

editobject - Dont need to recalc data when hiding and unhiding. rather do what layers do and re-sort the scene.
2007-04-19 23:45:33 +00:00
Joseph Eagar
9c36683373 =ID Properties bugfix=
The array resizing function, meant to be used with strings, 
didn't work.  This  is because the id property size table 
had the wrong value for strings.
2007-04-19 22:49:48 +00:00
Campbell Barton
60b3268c32 adding a python function for cleaning strings (for filenames and export names) BPySys.py - used fotr obj and fbx export.
view.c - missed one smoothview/camera.
Brigg's hide object patch didnt change the object selection flag, other minor changes also.
2007-04-19 20:58:09 +00:00
Geoffrey Bantle
f5a40315ca -> Keybindings for hiding objects
Small feature, added keybindings for setting the visibility restriction flags
that were previously only accesible via the outliner

HKEY 		Hides all selected
SHIFT-HKEY 	Hides all unselected
ALT-HKEY 	Shows all hidden
2007-04-19 19:47:51 +00:00
Campbell Barton
4116599c1f moving from camera view with home and astrix keys now uses smooth view (This should be the last one).
Fix for own error from a wile ago Numpad-Astrix would set to size view of selected faces, rather then front.
2007-04-19 15:02:54 +00:00
Campbell Barton
11c1dbdfbf recent smoothview update broke pan in camera view, some vars used in the function needed to be used after, reverting this change. 2007-04-19 07:58:42 +00:00
Campbell Barton
f9ff47464d remove warnings from last commit.
smooth view now works for change between cameras, smooth view now blends the lens angle too.
2007-04-18 22:53:20 +00:00
Chris Want
2d87ee1ace Added libIlmThead.a to link line to the osx-intel build. 2007-04-18 17:49:42 +00:00
Ken Hughes
85a65081ec Python API
----------
Fix bpy.libraries so that .append() doesn't affect linked data.
2007-04-18 15:34:03 +00:00
Jiri Hnidek
58e1ceadf4 == Python API ==
Bug fix for Effect.setStype().
2007-04-18 15:30:33 +00:00
Campbell Barton
3e1a5ce7a2 PyAPI.
moved bpy into bpy.data and bpy will be eventually replace the root level 'Blender' module.
currently we have bpy.library bpy.config and bpy.data
2007-04-18 14:40:01 +00:00
Diego Borghetti
a59f7c08ce When press ESC in Blur or Defocus node the output buffer is incomplete.
This cleanup the output buffer to execute the node again until it's complete.
2007-04-18 12:39:04 +00:00
Campbell Barton
7767451b2f maving too many objects for the select buffer would crash blender.
added checks for an error value returned from view3d_opengl_select so as not to act on bad data.
also the error message didnt display because of where it was, delayed the error so it displays right.
2007-04-17 19:04:55 +00:00
Campbell Barton
9c8bc4badc Starting blender with -w does not switch of maximize anymore, so with and without the -w arg, the window should start maximized. 2007-04-17 18:15:31 +00:00
Campbell Barton
b95f4ba2ad added a hook menu for object mode, more commands can be added here but currently there is only Reset Offset and Recenter at Cursor
This functionality was requested by malfico when dealing with many hooks.
2007-04-17 16:14:41 +00:00
Campbell Barton
033abf8268 fixed a python-api bug with adding a new image sequence strip crashing blender. 2007-04-17 06:12:26 +00:00
Joilnen Leite
e8333e36b1 not search openEXR with WITH_OPENEXR=false in linux 2007-04-17 02:34:40 +00:00
Campbell Barton
9170977a80 removed 'reverse' menu items from face sort, instead hold Ctrl to reverse the sort.
added material sort and fixed an unlikely but possible memory leak.
2007-04-16 16:36:39 +00:00
Ton Roosendaal
3f7bcc44ce Bugfix #6565
Nice discovery by Ralf (cheleb): crasher with colorband, caused by NULL
pointer reading. It actually reveiled a weakness in code too, the
buttonswindow context was not set appropriate when buttons window had not
a header...
2007-04-16 10:55:59 +00:00
Matt Ebb
41142b05d2 * Create autosave dir on windows if it doesn't exist
For a long time, Blender has shipped with a .B.blend with a default .B.blend
that has "/tmp" as a default temp directory. This, of course, doesn't usually 
exist on Windows, so anyone who used Blender on Windows and didn't know 
to manually update it, lost all auto save files.

Now on Windows, Blender checks to see if the directory in U.tmpdir exists, 
and if it doesn't, it will create a new 'autosave' dir underneath the .blender
home directory and save auto save files in there.
2007-04-16 07:01:51 +00:00