Commit Graph

8270 Commits

Author SHA1 Message Date
Ton Roosendaal
6b9bf57066 Yuck, a very ancient crasher in going area-full screen in Blender.
I wonder how this survived so long in Blender... (2005/03/09 commit).

Reason was the call to BPY_free_screen_spacehandlers(sc) in kernel,
which was freeing up scripthandlers in a weird way. That call is
really obsolete. The real freeing should go in the del_area() call,
to prevent copying and deleting area in the UI to go wrong.

(Crash happened in testing timeline markers, and holding CTRL+Uparrow
a while...)
2006-11-17 12:44:15 +00:00
Ton Roosendaal
414b918010 Forgot to include the BSE_time.h here. 2006-11-17 12:25:34 +00:00
Ton Roosendaal
4923b8e7a2 Fixes for Time Marker support in Action window;
- now draws on correct height
- selection is clipped correctly (did entire height)
- made showing scene markers default

Actually this implementation should have been a patch review... it was
done with entirely duplicating the code from timeline.c, whilst re-use
and generalizing markers has a preference. That way markers can become
supported in any time-based editor.

Will send an extensive review to Joshua Leung :)
2006-11-17 11:56:00 +00:00
Jacques Beuarain
1ad9d9f370 CMake: Oops, committed the wrong macros file in initial submit. This is the one with proper Quicktime linkage. 2006-11-17 11:35:25 +00:00
Jacques Beuarain
09f3b8ab1c Removed blender/CMakeLists.txt . Directory used by make. Turns out this file is an artifact from the initial development and the blender application list is in source/creator anyway. 2006-11-17 11:33:45 +00:00
Joseph Eagar
ab141e1439 =ID Properties Python Update=
IDProperties now have a sanity check to prevent different ID properties
in the same group from having the same name.  The appropriate code has been
added to the python bindings to catch this and raise an error.
2006-11-17 08:19:58 +00:00
Joseph Eagar
80f7ea96c8 =ID Properties Small Python Update=
This commit adds a new constant dict to the top Blender module
called PropertyTypes.  This dict represents all the ID Property
constants: STRING, INT, FLOAT, ARRAY and GROUP.

Further python work, including epydocs, are forthcoming.
2006-11-17 07:50:24 +00:00
Joseph Eagar
885d40c30d =ID Properties MSVC Project Files Update=
This commit updates the MSVC project files (both sets of them) to build
with ID Properties.  Please test!
2006-11-17 06:28:55 +00:00
Joseph Eagar
4c5fcf136b =ID Properties Update=
This commit adds file reading/writing of ID properties to all ID types, 
and also adds python access for NMesh, Mesh, Scene and Image.  Note 
that the file reading code might need some more work for certain 
future/planned features to save right.  Also I updated a few comments in idprop.c.
2006-11-17 06:14:15 +00:00
Nicholas Bishop
c8ca36a9c8 Fixed the delete texture button for sculptmode textures 2006-11-17 04:47:39 +00:00
Joseph Eagar
8768707610 =ID Properties=
This commit adds supports for per-ID properties to blender.
See http://mediawiki.blender.org/index.php/BlenderDev/ID_Property
for more information on how it all works.

ID properties are accesable by python; but note that 
bindings have only been added to Object and Material thus
far.  However adding more bindings is easy and I plan
on adding several more hopefully within an hour of this inital 
commit.

A generic UI panel is also planned, that will go wherever its
needed; for example in the material buttons, editing buttons, etc.
I'll likely submit the initial code for that as a patch, though,
so matt and ton and others can go over it and make sure it's
all good. :)

VERY important, if you intend to use ID properties please
go to http://mediawiki.blender.org/index.php/BlenderDev/PropertyStandards
and start writing the appropriate standards for it.
2006-11-17 04:46:48 +00:00
Jacques Beuarain
24f4440d05 CMake lists initial submission. Documentationand further verification for different platforms will follow soon. This was just tested against current CVS on MSVC 2005 with Verse, QuickTime, OpenEXR, Player all on. 2006-11-17 02:27:12 +00:00
Joshua Leung
9ce143ae25 This commit adds some missing features to markers in action editor,
and also fixes some further segfaults.

Now it is possible to 'surf' (jump) to different markers. This is only
possible through the hotkeys for this:
* Page Up - Next Marker
* Page Down - Previous Marker

These hotkeys match the ones in the timeline. In order to do so,
I've had to reassign two (rarely used/obscure) hotkeys:
* 'Ctrl Page Up' is now move selected action channel up (was Page Up)
* 'Ctrl Page Down' is no move selected action channel down (was Page Down)
I should also mention here that
* 'Shift Page Up' is move action channel to top
* 'Shift Page Down' is move action channel to bottom
2006-11-16 23:15:06 +00:00
Ton Roosendaal
f89b052262 New Compo node: the Split-Viewer, showing two images halves to compare.
Works internally already with masks, so we can have several builtin
types.
2006-11-16 21:50:35 +00:00
Peter Schlaile
d59224377c == Sequencer ==
Fix for the fix. Added "Transform" twice. Ouchie!
2006-11-16 21:40:30 +00:00
Campbell Barton
97d306e68f Added group.layers bitfield to the python API 2006-11-16 21:38:08 +00:00
Peter Schlaile
1a36a9080c == Sequencer ==
Fixes Bug #5239 reported by Anders Gudmundson:
- Sequencer eats memory like popcorn with metastrips
- Crash on gaps in metastrips

Both were introduces by my last patch that added "Speed Control".

I also forgot to add "Speed Control" and "Color" to the "Add"-menu.
(Simply haven't noticed, I use the spacebar all the time...)
2006-11-16 21:36:04 +00:00
Jens Ole Wund
85615f7ac8 More Softbodies
Added a less 'strict' solver step size control.
Cuts down needed loops to a 1/5 in 'regular' collision situations.
So why be a maths smartass when we want to do a skirt in a breeze :)
Is on by default, old mode can be turned on with the 'O' button beside the RK-limit.

Some minor fixes to the UI
2006-11-16 20:57:02 +00:00
Ton Roosendaal
7686e2cc5c New stuff:
- Weight paint options now also show in Nkey panel
- added uiNewPanelTitle() in interface API to rename panels. In use now
  for the Nkey panel title.
  (Note: original name is identifier, do not change that)
2006-11-16 20:55:11 +00:00
Ton Roosendaal
8f2ad64f3d Bugfix: sequencer scrubbing crashed in cache limitor, missing NULL check. 2006-11-16 20:23:29 +00:00
Ton Roosendaal
d7f63b4062 Plumiferos request (and useful :)
Static particle option: maximum length. Button is next to "Vect" in first
particle panel. This allows weird forcefields and wind to act without
extreme long strands.
2006-11-16 20:23:00 +00:00
Kent Mein
0de1fd9086 Added dependency to make destination directory before compiling a file.
This is needed for make -j#   where # is > 1
This doesn't totally fix everything for make -j2 but it makes things
mostly work.

Kent
2006-11-16 18:28:57 +00:00
Brecht Van Lommel
ca21bf8a60 Removed the "insert between" function from my patch, as agreed, it was
too confusing. The same thing can be done using "reassing inputs" from
the same patch.
2006-11-16 14:41:43 +00:00
Ton Roosendaal
68f9b95ee8 Bug/patch #5244, by Juho
The pulldown options for adding new Matte compo nodes.
2006-11-16 11:55:05 +00:00
Ton Roosendaal
ca6824a640 Correction commit, didn't have the console in correct directory!
Log again:

 Log:
  1)
  Bugfix: Beziers in curve didn't calculate the tilt values correctly for
  the endpoint and not for all handle types. That way deforming curves didn't
  extend the tilted deform either. (IRC report by Jahka)

  2)
  If you setup a Proxy for Armatures, the protected bones now have an error
  pupup for buttons and for some of the tools in 3d window (constraint edit
  mostly).
  Also the Bones Panel shows a note when the bone is not editable.
2006-11-16 11:49:14 +00:00
Ton Roosendaal
f0da2b05e1 Bugfix #5243
The (#ifdef WITH_ICONV) option to draw International Fonts in file window,
didn't set the rasterpos OK for textured fonts.

Also: cleaned up code so it doesn't complain soo much without iconv.
2006-11-16 11:43:46 +00:00
Ton Roosendaal
c1e4099365 Plumiferos request; additional option for subsurf hotkey.
Now alt+shift+o only toggles the 3d view subsurf flag, rendering remains
subsurfed.
2006-11-16 10:36:45 +00:00
Ton Roosendaal
24b2e0422e 1)
Bugfix: Beziers in curve didn't calculate the tilt values correctly for
the endpoint and not for all handle types. That way deforming curves didn't
extend the tilted deform either. (IRC report by Jahka)

2)
If you setup a Proxy for Armatures, the protected bones now have an error
pupup for buttons and for some of the tools in 3d window (constraint edit
mostly).
Also the Bones Panel shows a note when the bone is not editable.
2006-11-16 10:24:26 +00:00
Joshua Leung
7b71b524ed Some more action editor marker bugfixes:
* (De)select all markers now works normally
* RMB click-drag in action editor when no markers caused segfault
2006-11-16 09:48:53 +00:00
Joshua Leung
1e00c59c23 Action Editor Markers Bugfix:
Now it is possible to select multiple markers in action editor when doing
Shift + RMB click.
2006-11-16 04:22:17 +00:00
Joshua Leung
1b3f368e84 == Action Editor Makers ==
* There is now a feature to (de)select all markers. Can be found in menu or
via the hotkey Ctrl A
* The 'Markers' menu is now not drawn when marker set is 'None'
* Some other minor code cleanups

Additional Notes:
* I'm still trying to track down the cause of a bug which means that you can't
select more than one marker (with RMB clicks) at once. For now, just use
borderselect
2006-11-16 04:01:01 +00:00
Joshua Leung
0ddd910189 Bugfixes for previous commit:
* Now Blender doesn't segfault when trying to add a marker to nowhere.
(Missing checks for NULL marker lists)

* Line widths should now not be widened after drawing markers.

Thanks malefico and Plumiferos team for testing
2006-11-16 02:39:43 +00:00
Nicholas Bishop
c25c249eb0 Fixed bug #5235, "deleting edges, verts, or faces in multires does bizarre things to mesh"
Added a simple check to a number of editing operations. If multires is enabled,
an error is displayed and the operation is cancelled. This includes adding and
deleting verts/edges/faces, and anything that would reorder elements.
2006-11-15 22:24:05 +00:00
Campbell Barton
a84f60a3bd fixed error that was caused by 2 vertex loops center being 0.0 distance apart, also made the python 2.3 syntax default. 2006-11-15 21:12:53 +00:00
Ton Roosendaal
6cd62026b9 - Previews for composite nodes didn't scale correct for portrait sized
images (should make it narrow then)

- Forgot to press 'save' for changes in Juho's flip node, previous commit
2006-11-15 16:55:40 +00:00
Ton Roosendaal
3959fbcf1f Patch #5166, Juho V (bebraw)
New Composite Node: Flip (X/Y/both)
2006-11-15 15:18:06 +00:00
Ton Roosendaal
5d8efc9756 Patch #2307, by Bob Holcomb
Loadsa new compo nodes, most added in new menu "Mattes".

- Seperate into YCC
- Combine YCC
- Seperate into YUV
- Combine YUV

- (Chroma) Difference Matte
- Chroma Key
- Luminance Key

- Color Spill correction

Main problem is missing docs still... Bob is working on it, he'll also
make tooltips for all buttons.
Some UI things might change too, like more clear names.
2006-11-15 14:41:04 +00:00
Ton Roosendaal
d6e96bd605 Bugfix #5232
An oldie; if you have a referenced (lib-linked) scene, and copy that one
(use "Full Copy"), the objects in that scene disappeared after saving.
Caused by manual increasing id->us, instead of using the library.c call
id_us_plus(). The latter keeps track of linking issues.
2006-11-15 11:21:17 +00:00
Ton Roosendaal
e50112d441 Bugfix #5230
Vertex Parent option didn't have index correction for editing Meshes.
That caused the parenting to flip around when you deleted or added stuff.
2006-11-15 11:10:00 +00:00
Joshua Leung
a3c1c543f6 == Action Editor ==
A Plumiferos wishlist item: Markers working in the Action Editor too.

* The user can choose between displaying the scene markers (i.e. the
markers shown in the timeline) or the markers specific to each action,
by using the next list box on the action editor header. This is specific
to each instance of the action editor.

* The display of the markers currently still needs improvement. At the
moment, the triangle icons + text are drawn below all the last row of
keyframes. As such, I've made it draw yellow vertical lines which
span the height of the action editor, to also indicate markers.
Comments on this and also help getting the triangle thingies to 'float'
above the bottom scroll bar are warmly appreciated.

* There are a few minor update issues with editing a marker in the
timeline and the markers in the action editor which will be fixed soon.

* There are also a few hotkeys to still add.

Enjoy!
2006-11-15 10:41:28 +00:00
Ton Roosendaal
95c7c41bd0 Bugfix #5224
Prob: selection sometimes gave wrong edges/faces

Selection code for editmesh was still using a short for calculating the
distance of a projected vertex/edge/face from the mouse position. In
zoomed in cases that'll give overflows and unpredictable results.

It was fixed only half before... now all shorts are removed for distance
calculus.
2006-11-15 10:02:57 +00:00
Ton Roosendaal
3d7e802c6c Bugfix, own collection.
Option "Make duplicators real" (shift+ctrl+a) didn't work for Group-dupli,
the relations between objects and modifiers were not restored.
2006-11-15 08:38:46 +00:00
Ton Roosendaal
206f2cab67 Group duplicator fix: the invisible group objects didn't draw, but were
still visible in render.
2006-11-15 08:20:53 +00:00
Matt Ebb
2e55867c23 Woops, I think I committed some wrong versions of the *nix icons the first time,
trying again now.
2006-11-15 03:43:47 +00:00
Nicholas Bishop
43f05cc1c0 Fixed the retopo tool for adding vertices by CTRL+click in editmode 2006-11-14 23:17:19 +00:00
Ton Roosendaal
ed25eb9d9e Group Proxy: now drivers from proxy to Shape keys work :) 2006-11-14 21:06:11 +00:00
Ton Roosendaal
85c90b4951 Fixes in commit for Group Proxy feature;
- Groups with hidden parts didn't render OK
- Layer buttons sent out wrong events
2006-11-14 20:41:38 +00:00
Ton Roosendaal
a8ca44ea41 Bugfix in group-proxy, Deleting objects didn't reset proxy pointers. 2006-11-14 18:50:23 +00:00
Ton Roosendaal
ba04e4bceb New behaviour for SHIFT+O (set subsurf on/off) or CTRL+0/1/2/3/4 for level.
- Now works on selection of Objects (as do allmost all hotkeys)
- If multiple selected have different settings, it sets all the same
- Also does subsurf settings within a dupli-group
2006-11-14 18:13:34 +00:00
Ton Roosendaal
9ab91ab361 New dupli-group feature: you can now set in Groups the layers you want
a group to show when used for duplicators. Is in the Object Buttons,
"Object and Links" panel. Note that the duplicator layer itself still
defines still visiblitily of entire group.
2006-11-14 17:16:15 +00:00