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
Campbell Barton
01733ecd6e
[ #24243 ] wavefront animation export
...
fix from dan grauer (kromar)
2010-10-14 09:09:41 +00:00
Janne Karhu
d3bf6b7224
Fix for [ #24237 ] Hair dynamics with zero particles generates a segmentation fault
2010-10-14 09:01:03 +00:00
Campbell Barton
3d73a37b64
hex color input wasnt clamped.
2010-10-14 08:15:10 +00:00
Campbell Barton
fbf208d63f
add UNUSED() to modifiers, also removed some unused args.
2010-10-14 06:29:17 +00:00
Campbell Barton
b0b8e93f7f
bugfix [ #24238 ] "M" (move) selects wrong action when with armature
2010-10-14 03:57:15 +00:00
Campbell Barton
266811368b
bugfix [ #21959 ] 'Apply rotation' to scaled object behaves wrong
2010-10-14 02:05:37 +00:00
Campbell Barton
a9197c3aa2
remove unused args in draw*.c and some in view*.c, tag some as UNUSED().
2010-10-14 01:22:14 +00:00
Campbell Barton
f6a7205be5
bugfix [ #22161 ] Drawing of custom shapes in bones
2010-10-14 00:33:39 +00:00
Campbell Barton
9971158648
use UNUSED() macro for the console space + minor changes to args.
2010-10-13 23:46:42 +00:00
Campbell Barton
be32cf8b32
UNUSED() macro so -Wunused-parameter can be used with GCC without so many warnings.
...
applied to python api and exotic.c, removed some args being passed down which were not needed.
keyword args for new mathutils types were being ignored when they should raise an error.
2010-10-13 23:25:08 +00:00
Nathan Letwory
a90f876948
Fix for fix, not UnicodeEncodingError (where did I get that from?) but UnicodeDecodeError.
2010-10-13 22:20:34 +00:00
Nathan Letwory
a97af1449c
Fix UnicodeEncodingError, which prevents netrender, reprojection and playback from working on Windows in certain situations.
...
Users can set their machine name to something containing non-ascii characters. In Python this currently causes problem due to
socket.gethostname() throwing UnicodeEncodingError. Work around this by not using platform.system() (which uses internally socket.gethostname()).
See http://www.pasteall.org/16215 for backtrace
2010-10-13 21:53:37 +00:00
Sergey Sharybin
32ac21ab02
Fix #24234 : Object deletion doesn't take into account its users (causes segfault)
...
Clear SELECT flag when deleting object -- object could be used in other scenes, and
some stuff (like translation) would be confused due to relations
2010-10-13 19:56:53 +00:00
Luca Bonavita
9f05cc59fa
== docs ==
...
- moved files in proper directories and adapted paths where needed
- deleted doc/oldbugs.txt (asked confirmation to jesterking a week ago in irc)
- still working on doxygen files, for now I'll leave them in doc/
- NOTE: while checking if other files were referring to these files, I noted that
"GPL-license.txt" is also used in the files below:
- release/windows/installer/00.sconsblender.nsi
- release/windows/specific.sh
but these files should't be affected by this commit, but please check :)
2010-10-13 14:44:22 +00:00
Campbell Barton
a81be2075f
use PyC_UnicodeFromByte for bpy.app.tempdir incase of non utf-8 filepath
2010-10-13 14:14:22 +00:00
Campbell Barton
bbc8cf9d24
fix for remaining glitch in square color picker, the backdrop could change color because rgb_to_hsv() was used rather then rgb_to_hsv_compat()
2010-10-13 14:10:42 +00:00
Campbell Barton
843d8859a7
bugfix [ #23355 ] Square Color picker moving by itself and locking up
2010-10-13 13:53:49 +00:00
Janne Karhu
62f4d613d0
Fix for [ #24208 ] ObjectId information is wrong when read from multilayer exr
...
* non-rgba passes shouldn't use color correction
2010-10-13 13:10:35 +00:00