Commit Graph

26352 Commits

Author SHA1 Message Date
Nathan Letwory
53ced0be29 Now sound init param removal revert should be fine (apparently my cmake project files missed rebuild hint for these, fortunately SCons did its job well). 2010-10-16 15:00:04 +00:00
Nathan Letwory
03eb8d0222 Maybe now correct commit :° 2010-10-16 14:53:54 +00:00
Nathan Letwory
1aecaaf815 Forgot to commit RNA part of revert in 32519 2010-10-16 14:51:50 +00:00
Nathan Letwory
fe693b4631 Revert overaggressive parameter removal: Main struct is used in audio when Jack support is enabled. 2010-10-16 14:49:56 +00:00
Nathan Letwory
5ca362c422 Declaration before any statements. Doesn't GCC warn about this? 2010-10-16 14:43:47 +00:00
Campbell Barton
8268a4be71 most unused arg warnings corrected.
- removed deprecated bitmap arg from IMB_allocImBuf (plugins will need updating).
- mostly tagged UNUSED() since some of these functions look like they may need to have the arguments used later.
2010-10-16 14:32:17 +00:00
Joshua Leung
7cc5aaf18a Added panel for accessing the "delta transforms" for Objects (this is closed by default to not clutter that much).
This should help silence complaints from some about "dloc",etc. not being easily keyable. 

It's also a nice way to have instances of animated objects located in different places, by animating either the standard transforms or the deltas, and then modifying by not animating the other version to keep the instances from going to a single point. This was a common newbie problem in 2.4x.
2010-10-16 11:52:30 +00:00
Joshua Leung
98d6c533a6 Bugfix #23979: FCurve.keyframe_points.add(..., replace=True)
... fails if there were no keyframes in the curve yet. Was a missing null-check for case when no keyframe array is created.

Also, changed the description for the "replace" arg to better reflect what it really does.
2010-10-16 11:30:41 +00:00
Sergey Sharybin
5999658569 Fix #24280: NURBS default "12x12" UV resolution is not actually "12x12"
When adding new nurb primitive it'll have got the same resolution as curve
2010-10-16 10:14:17 +00:00
Campbell Barton
87533e679c dont check for project anymore for ctrl+click, face snapping is enough. 2010-10-16 09:42:52 +00:00
Campbell Barton
bc1cca8d00 - blender player builds again with CMake.
- remove duplicate entries for libs for blender binary (where possible)
2010-10-16 09:27:02 +00:00
Campbell Barton
e5fbd93cec editors/space_* build without unused args warnings 2010-10-16 08:03:28 +00:00
Campbell Barton
03e6bb7ede patch for bug [#24253] r32218 breaks outliner icon drawing
provided by Shane Ambler (sambler) with some changes.
2010-10-16 05:12:31 +00:00
Joshua Leung
ad65cd5987 Bugfix #24099: nla content moves out of sync - with fix
Thanks Shane Ambler (sambler) for the patch!

<quote>
This kind of follows on from a report that I think was closed prematurely - #22775 - I can't find any reference to an
outstanding todo that relates to it.

When resizing the nla editor the channel names and the main area get out of sync.
When toggling back from fullscreen the content is hidden off the top of the area requiring scrolling to see it.

The dopesheet displays similar problems but after fixing the ui_view2d_sync call it appears to behave as if the v2d.keepofs
has been set for the most part.

Two areas seem to be related to this - the first is calls to UI_view2d_sync used for these two views use the wrong
flags.

The other is v2d.keepofs not being set. (dopesheet has less issue here but I think it is meant to be set the same as
nla)

</quote>
2010-10-16 05:07:33 +00:00
Joshua Leung
00e3ef9b13 Bugfix #24143: Edit NLA Strips
When editing an action used by a NLA strip and editing it 'in place' (controlled by pin icon on green 'tweaking' channel), the animation would only get played back in the action's original frame range while the keyframes were still displayed in the strip-altered positions.
2010-10-16 04:14:26 +00:00
Joshua Leung
d977da3b2c Bugfix #24276: Unable to set extrapolation on a per curve basis
Selected-curves only flag was missing.
2010-10-16 03:13:40 +00:00
Campbell Barton
1807beabf5 - UNUSED macro wasn't throwing an error with GCC if a var become used.
- made interface, windowmanager, readfile build without unused warnings.
- re-arranged CMake's source/blender build order so less changed libs are build later, eg: IK, avi
2010-10-16 02:40:31 +00:00
Nathan Letwory
17085e967e Fix COLLADA import after recent API cleanups by Campbell. 2010-10-15 14:56:31 +00:00
Nathan Letwory
f631a8b5be Simplify GHOST modifier key handling on Windows. 2010-10-15 14:52:47 +00:00
Luca Bonavita
99bd5f2f3b == rna info ==
changing from __repr__ to __str__ after discussing with campbell
was annyoing me when testing things, huge printouts :)
2010-10-15 13:09:38 +00:00
Nathan Letwory
f5f935e588 Less cryptic modifier key types 2010-10-15 13:03:10 +00:00
Campbell Barton
db09ca106d remove/tag unused args for view*.c, gpu*.c & image*.c 2010-10-15 12:29:02 +00:00
Campbell Barton
2755129fb6 nodes were being ignored by api update script. 2010-10-15 11:43:34 +00:00
Janne Karhu
44afd8ae5a Fix for [#23314] Comp node renaming breaks animation
* Old name was already overwritten before the update function, so changed the update function to a "set" function.
2010-10-15 10:25:43 +00:00
Nathan Letwory
a431b40de2 Add comment about when prefsizx et al are used. 2010-10-15 09:32:40 +00:00
Nathan Letwory
9ecf7c15a5 Fix for r32487: the logic was suboptimal, improved to always work correctly. 2010-10-15 09:30:33 +00:00
Janne Karhu
572faf9e7a Partial fix for [#22867] retopo bug
* More logical to restrict snapping to all visible objects instead of just selectable objects
* Rest of bug added to todo-list
2010-10-15 09:23:18 +00:00
Campbell Barton
f756a047e6 bugfix [#24264] toggle UV selection fails.
was using the 4th selection flag on tri's.
also some minor changes, removed unused args and corrected some comments.
2010-10-15 09:07:19 +00:00
Campbell Barton
9f81104b29 patch [#24251] Add missing tooltips for image operatios
from Sergej Reich (sergof), with minor edits.
2010-10-15 08:41:58 +00:00
Campbell Barton
7a535ed3d9 [#24263] Hooks influence area with vertex group assigned is not effected
changes...
- use vertex weights when hook indices are used.
- use force as well as vertex weights (overall multiplier), before when vertex weights were used force was ignored.
- rearranged the loops to be less confusing.
- falloff now in its own function.
- falloff curve slightly different, smoother towards the center /w 2 less sqrt calls.
2010-10-15 08:32:27 +00:00
Janne Karhu
4cfecdd06a Fix for [#21822] Unusual material slot behaviour, edit v object mode, cascade, SVN 27833
* Disabled removing material slots in edit mode and added back error message from 2.49.
2010-10-15 08:11:26 +00:00
Nathan Letwory
bb11d6337e Fix [#24260] Window geometry command-line option doesn't work
Override the first window size with --window-geometry if given. startup.blend would otherwise open as lastly saved.
2010-10-15 07:31:26 +00:00
Campbell Barton
271bbf4a0d fix for own recent unused commit that broke with OpenMP enabled.
also build ./source/ first with cmake since testing new changes are most likely to be made here.
2010-10-15 07:26:26 +00:00
Campbell Barton
4e61d5420c Ctrl+Click extrude, project the source verts when projection and rotating the source are enabled (better for retopo workflow). 2010-10-15 05:27:57 +00:00
Campbell Barton
25bbf99a79 replace SIDE_OF_LINE macro with line_point_side_v2() inline function.
made a number of files build without unused warnings.
2010-10-15 05:18:45 +00:00
Campbell Barton
68dea6591d bugfix [#24247] Duplicating a Composite Group Node no User Count Icon
duplicating nodes wasnt changing the usercount of the referenced ID but file loading deleting was.

also removed some unused args.
2010-10-15 04:27:09 +00:00
Campbell Barton
d3fcc2d0b4 bugfix [#24256] Wrong bone subdivision number in tweak panel.
there were 3 operators for armature subdivision, now only have 1 (as with mesh).
+ remove unused warnigns.
2010-10-15 03:24:47 +00:00
Campbell Barton
201fd16df9 [#24250] wavefront import/export defaults
match operator and internal default arg defaults.
2010-10-15 02:40:11 +00:00
Campbell Barton
f0fcf140f8 enable warning for unused args with gcc: -Wunused-parameter
- for cmake only apply this to source/blender, will apply globally later.
- ./extern/ ./source/blender/makesrna/intern/ ignore this.
2010-10-15 02:24:48 +00:00
Campbell Barton
f81248265d tag UNUSED() for operator exec() and invoke() functions. 2010-10-15 01:36:14 +00:00
Sergey Sharybin
7eaf56a97b Fix #24257: Last shape key not applied as Basis shape. 2010-10-14 20:19:52 +00:00
Stefan Gartner
8ce2c26da3 darwin Makefiles: copy release scripts and python modules to where blender looks for them,
i.e. blender.app/Content/MacOS/$(VERSION) instead if blender.app/Content/MacOS/.blender
2010-10-14 19:30:55 +00:00
Campbell Barton
2a7f585fba bugfix [#23070] some shortcuts cannot be saved in a usual way 2010-10-14 13:18:42 +00:00
Campbell Barton
f8e7ad91e9 fix unused args warnings and remove some unused args. 2010-10-14 13:17:34 +00:00
Campbell Barton
f8d7451c73 remove unused args or tag as unused for image and screen editors, uiItemEnumR_string was ignoring name and icon args. 2010-10-14 12:24:08 +00:00
Campbell Barton
5de818670c fix for crash in own recent color picker commit, store the hsv color in
block->_hsv, which is only accessed via a function so it can be moved to
a better place later.

also fix cineon define for scons/cmake.
2010-10-14 11:33:51 +00:00
Nathan Letwory
6e2e7c00c1 fix potential crasher: malloc->calloc 2010-10-14 10:34:04 +00:00
Nathan Letwory
097a926d94 Fix [#24201] COLLADA Exporter: Light source energy incorrect
lamp->energy and lamp->distance are now taken in account by calculating
the constant, linear and quadratic attenuations based on this.

The import tries to do the reverse.

Note: this will work only properly for lamps that have att1 and att2 set to
1.0 or 0.0, other lamptypes won't import correctly again.
2010-10-14 09:40:56 +00:00
Nathan Letwory
380929624c Move MAXFLOAT to BLI_math_base.h 2010-10-14 09:31:14 +00:00
Sergey Sharybin
3488b5dd6f Update outliner when vertex group was added/removed 2010-10-14 09:24:25 +00:00