Commit Graph

20331 Commits

Author SHA1 Message Date
Peter Schlaile
540bf6d7c8 should make problems mentioned in
[#19221] Sequencer animation curves not converted correctly from 2.4

go away.
2010-05-01 16:02:59 +00:00
Peter Schlaile
93a7f0ef65 Second round of sequencer IPO-conversion to new animation system:
* now non-frame-locked IPOs work, too.
2010-05-01 15:17:30 +00:00
Peter Schlaile
d5939c03d1 First round of importing old sequencer IPOs to new animation system:
* Frame locked IPOs work now

TODO: non-frame-locked ones :)
2010-05-01 14:09:45 +00:00
Peter Schlaile
0b8704a503 Fixed version patching for unique sequencer names:
now iteration over all strips (including meta strips) works correctly.
2010-05-01 12:39:06 +00:00
Peter Schlaile
bff3ec4ccc == Sequencer ==
Since prefetch rendering in sequencer is currently disabled, 
seq_thread_shutdown should be always TRUE for now.
2010-05-01 11:51:56 +00:00
Matt Ebb
c64e4566e1 Fix [#22202] Box Selecting bones does not update animation windows 2010-04-30 07:22:07 +00:00
Sergey Sharybin
16e7ed28be Highlight last selected point in curve/surface edit mode.
Curve->lastselbp field was renamed to Curve->lastsel and now not last
either BPoint or BezTriple is storing here. It's not easy to determine
type of selected point, but operator which depends on such point reviews
the full nurbs, so this shouldn't be a problem.

Made changes to curve undo stuff to restore last selected point on undo/redo.

Added new theme color for curve last selected point.
2010-04-30 04:48:40 +00:00
Matt Ebb
53dbc1efdf Fix [#22207] Selecting Roots also selects hidden 2010-04-30 01:22:21 +00:00
Joshua Leung
12a7c8f699 Bugfix #22201: NLA 'freeze' icon does not match box
When the channel list in the NLA Editor was resized, the 'freeze' icon on Action Lines stayed put due to a relic from older code.
2010-04-29 23:29:50 +00:00
Matt Ebb
87072f1585 Removed unused code from yesterday 2010-04-29 23:24:31 +00:00
Daniel Salazar
92dfb98ff6 Suggestion by Florian Meyer (testscreenings) to change default ramp to
RGBA 0000 - RGBA 1111 (no more cyan)
2010-04-29 23:15:03 +00:00
Campbell Barton
5e74542bb6 use size_t for MEM_allocN_len as well as some of its callers 2010-04-29 21:46:25 +00:00
Andrea Weikert
cbc2a71128 [#22133] File Browser Mismatches File Name and Thumbnail
* sorting of file list interfered with thumbnail order, stopping job while sorting now.
2010-04-29 18:53:01 +00:00
Campbell Barton
08c3bfdfaf NULL check for pointcache. not sure this should be fixed elsewhere, commented this needs further checking. 2010-04-29 17:57:17 +00:00
Guillermo S. Romero
f63de81223 SVN maintenance. 2010-04-29 17:07:17 +00:00
Campbell Barton
610c4befd4 option to copy constraints without making their ID references direct links.
needed because proxies are causing libs to be linked directly when they should be kept indirect (likely slowing load times though I didnt time this)
2010-04-29 15:31:53 +00:00
Campbell Barton
6662440867 select linked options, Library and Library ObData 2010-04-29 14:44:39 +00:00
Campbell Barton
7e0fc2692b add missing header 2010-04-29 07:06:00 +00:00
Matt Ebb
b008f04450 Rewrite of Logic editor UI to use layout engine
This commit puts the ground work in place, swapping out the crusty old Logic Editor
UI code for the new RNA-based layout engine. It's disabled with ifdefs at the moment
because it's incomplete, but Dalai can now do the grunt work to fill it all out and get it running.

Also includes a bug fix to LINK buttons, and two new logic operators to add and delete sensors.

Dalai, just switch the #if 0 and #if 1 in logic_window.c:3412 and 3469
2010-04-29 07:01:48 +00:00
Daniel Salazar
09f2b457f8 Set all brushes default distance
Edit mode back geometry occlusion on
Render size to %100 (%25 default is confusing)
Allow negative frames disabled by default (the use cases of this are
very few for it to be on by default)
2010-04-29 06:42:31 +00:00
Daniel Salazar
58cb999253 Newly created brushes will have a lower spacing. Still need to fix some
of the default brushes
2010-04-29 05:20:24 +00:00
Dalai Felinto
a86748adf8 fix for [#22195] Empty Size minimum limit too big (patch by Bassam Kurdali - slikdigit) with small change
(ui range precision to 2 instead of 4, since 4 doesn't seem to work here).

From the tracker:
""" 
The smallest size allowed for empty_draw_size is 0.1. This is un-necessarily limiting and, depending on the scene, much
too large resulting in visual confusion in the 3D View.
Opening old files initially results in small empties, but when you click on them they 'grow' to the new minimum. This
seems to show that previous blender versions didn't have this bug.
Please remove the limitation, or, if needed, make it a much smaller number, so that empties are easier to see and distinguish from one another in small scenes/setups
"""
2010-04-28 21:18:40 +00:00
Campbell Barton
9db7f4122d fix for crash on loading some nodes. 2010-04-28 18:13:03 +00:00
Campbell Barton
b2196c364f pin and driver id pointers were adding user references from rna but not on file load.
removing a reference to either could remove the object/data from the scene.
use set functions to avoid refcounting.
2010-04-28 11:05:11 +00:00
Daniel Salazar
0b49c6255f patch 21737 by Elia Sarti (vekoon)
Currently for ColorBands, when pressing the Add button, new elements are
set with a medium gray in a medium position which often is not desired
behaviour.
 
This patch when possible sets new elements as averaged values between
the current element and its preceding neighbour
2010-04-28 09:29:17 +00:00
Campbell Barton
5982662e23 add option -Y to enable python script execution. 2010-04-28 08:02:51 +00:00
Daniel Salazar
7dd251bb2b Manipulator combo was a bit too much cluthering for default, reverting
that. Enabled grease pencil smooth stroke
2010-04-28 07:36:47 +00:00
Campbell Barton
2d4d820b97 3dview --> view3d, patch by Jonathan Smith with small corrections and changes. 2010-04-28 07:25:39 +00:00
Daniel Salazar
68e68af102 - Increased default 3D View clipping
- Default cube properly selected
- Using transform manipulator combo (loc/rot/size)
- Default sculpt brush spacing was too wide (jagged strokes)
2010-04-28 06:46:44 +00:00
Daniel Salazar
574d1117f8 Tweaking of default preferences: Playback FPS on, larger miniaxis, bit
faster smoothview, third scene lamp ON (shading looked completly dark
from below)
2010-04-28 06:18:16 +00:00
Campbell Barton
058b702f19 user modules were not loading in background mode. 2010-04-27 21:01:24 +00:00
Campbell Barton
124c55fcc3 remove redundant argument from mathutils callbacks 2010-04-27 19:21:36 +00:00
Campbell Barton
f9fbfd9297 oversight in recent mathutils update. obj.matrix = obj.matrix would call its own updage callbacks until it crashed. 2010-04-27 18:55:25 +00:00
Campbell Barton
91197621dc fix for error in decleration order 2010-04-27 13:22:43 +00:00
Matt Ebb
d9dbf99cae Fix [#22173] Texture nodes update every mouse click
Notifier tweaks
2010-04-27 11:09:52 +00:00
Campbell Barton
505023d206 factor for setting particle weights 2010-04-27 09:54:36 +00:00
Ton Roosendaal
cbe55dc66b Text button with search icon now updates "live", like in outliner. 2010-04-27 09:07:26 +00:00
Campbell Barton
e40531991d fixes for euler order setting when the rotation mode is not euler. 2010-04-27 07:50:31 +00:00
Campbell Barton
5e2a9770f5 bugfix [#22163] Add->mesh->torus is broken
recent commit broke this, missed changing double to float.
2010-04-26 21:25:14 +00:00
Campbell Barton
6bb55fd93e py/rna, euler objects order is now wrapped correctly...
eg:
 eul = bpy.context.object.rotation_euler
 eul.order = 'XZY' # will update the objects setting.
2010-04-26 21:04:42 +00:00
Daniel Genrich
523b95898b Add missing null check solving crash on texture panel, also fix possible 'freeing NULL' because of misplaced MEM_freeN() in that context. 2010-04-26 20:30:13 +00:00
Brecht Van Lommel
a547e91d41 Two bugfixes from the render branch:
* Fix for FSA update while rendering fix, should set float rect to NULL.
* Fix for irradiance cache mutex unlock that got lost in code changes.
2010-04-26 12:50:48 +00:00
Joshua Leung
f39163acd7 Outliner Filtering Bugfix:
Campbell's changes to make this use fnmatch by default had the case-sensitivity setting inverted. This meant that convenient searches in lowercase were no longer possible by default.
2010-04-26 10:31:09 +00:00
Brecht Van Lommel
b757e5c944 Fix #22086 and #22125: crashes due to editmode being set on load/undo, fixes
are simple enough, though may still revert this feature if it turns out there
are more problems.
2010-04-26 10:12:03 +00:00
Joshua Leung
2785bc1aef Proper fix for the Grease Pencil drawing options 2010-04-26 10:02:30 +00:00
Daniel Salazar
1542b15a07 Cleanup of grease pencil UI. Ali can you check if what I did in
gpencil_buttons.c is ok? it was graying out two buttons that shoudn't
have
2010-04-26 08:05:04 +00:00
Joshua Leung
4980e43dd1 Assorted code cleanups:
* Removed some un-needed armature code stubs
* Manually copying over the values of constraints in the constraint copy() callbacks should NOT be needed. Removed this from the Spline IK constraint. The manual process is only a hacky aspect of the modifier stack only!
2010-04-26 06:35:25 +00:00
Joshua Leung
b5d28306d0 Bugfix [#22069] Speed-Ipos are not imported correctly from 2.49 to 2.5
- IPO-blocks for curves were not getting handled correctly (i.e. no conversion and relinking was taking place) when converting from 2.4x to 2.5
- Old 'speed' IPO's now have their values multiplied by the path length when they are loaded from old 2.4x files so that they work correctly in 2.5. 

Also...
- Cleaned up a few instances of scruffy code formatted in some weird ad-hoc way.
- Debug prints for the start/end of the file conversion process are now all hidden behind debug-only checks. Unless the way the conversions are done is significantly changed at some point, this should be sufficient...
2010-04-26 06:33:04 +00:00
Matt Ebb
7bf3add0a5 Add operator undo flags to text datablock related operators 2010-04-26 04:49:33 +00:00
Matt Ebb
f85fe4d633 Pass constraint names as operator properties in constraint operators
This is similar to commit revision 22078, but for constraint operators rather 
than modifiers, making it possible to use them from scripting.
2010-04-26 03:42:38 +00:00