blender.git
8 years agofix potential crasher: malloc->calloc
Nathan Letwory [Thu, 14 Oct 2010 10:34:04 +0000 (10:34 +0000)]
fix potential crasher: malloc->calloc

8 years agoFix [#24201] COLLADA Exporter: Light source energy incorrect
Nathan Letwory [Thu, 14 Oct 2010 09:40:56 +0000 (09:40 +0000)]
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.

8 years agoMove MAXFLOAT to BLI_math_base.h
Nathan Letwory [Thu, 14 Oct 2010 09:31:14 +0000 (09:31 +0000)]
Move MAXFLOAT to BLI_math_base.h

8 years agoUpdate outliner when vertex group was added/removed
Sergey Sharybin [Thu, 14 Oct 2010 09:24:25 +0000 (09:24 +0000)]
Update outliner when vertex group was added/removed

8 years ago[#24243] wavefront animation export
Campbell Barton [Thu, 14 Oct 2010 09:09:41 +0000 (09:09 +0000)]
[#24243] wavefront animation export
fix from dan grauer (kromar)

8 years agoFix for [#24237] Hair dynamics with zero particles generates a segmentation fault
Janne Karhu [Thu, 14 Oct 2010 09:01:03 +0000 (09:01 +0000)]
Fix for [#24237] Hair dynamics with zero particles generates a segmentation fault

8 years agohex color input wasnt clamped.
Campbell Barton [Thu, 14 Oct 2010 08:15:10 +0000 (08:15 +0000)]
hex color input wasnt clamped.

8 years agoadd UNUSED() to modifiers, also removed some unused args.
Campbell Barton [Thu, 14 Oct 2010 06:29:17 +0000 (06:29 +0000)]
add UNUSED() to modifiers, also removed some unused args.

8 years agobugfix [#24238] "M" (move) selects wrong action when with armature
Campbell Barton [Thu, 14 Oct 2010 03:57:15 +0000 (03:57 +0000)]
bugfix [#24238] "M" (move) selects wrong action when with armature

8 years agobugfix [#21959] 'Apply rotation' to scaled object behaves wrong
Campbell Barton [Thu, 14 Oct 2010 02:05:37 +0000 (02:05 +0000)]
bugfix [#21959] 'Apply rotation' to scaled object behaves wrong

8 years agoremove unused args in draw*.c and some in view*.c, tag some as UNUSED().
Campbell Barton [Thu, 14 Oct 2010 01:22:14 +0000 (01:22 +0000)]
remove unused args in draw*.c and some in view*.c, tag some as UNUSED().

8 years agobugfix [#22161] Drawing of custom shapes in bones
Campbell Barton [Thu, 14 Oct 2010 00:33:39 +0000 (00:33 +0000)]
bugfix [#22161] Drawing of custom shapes in bones

8 years agouse UNUSED() macro for the console space + minor changes to args.
Campbell Barton [Wed, 13 Oct 2010 23:46:42 +0000 (23:46 +0000)]
use UNUSED() macro for the console space + minor changes to args.

8 years agoUNUSED() macro so -Wunused-parameter can be used with GCC without so many warnings.
Campbell Barton [Wed, 13 Oct 2010 23:25:08 +0000 (23:25 +0000)]
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.

8 years agoFix for fix, not UnicodeEncodingError (where did I get that from?) but UnicodeDecodeE...
Nathan Letwory [Wed, 13 Oct 2010 22:20:34 +0000 (22:20 +0000)]
Fix for fix, not UnicodeEncodingError (where did I get that from?) but UnicodeDecodeError.

8 years agoFix UnicodeEncodingError, which prevents netrender, reprojection and playback from...
Nathan Letwory [Wed, 13 Oct 2010 21:53:37 +0000 (21:53 +0000)]
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

8 years agoFix #24234: Object deletion doesn't take into account its users (causes segfault)
Sergey Sharybin [Wed, 13 Oct 2010 19:56:53 +0000 (19:56 +0000)]
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

8 years ago== docs ==
Luca Bonavita [Wed, 13 Oct 2010 14:44:22 +0000 (14:44 +0000)]
== 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 :)

8 years agouse PyC_UnicodeFromByte for bpy.app.tempdir incase of non utf-8 filepath
Campbell Barton [Wed, 13 Oct 2010 14:14:22 +0000 (14:14 +0000)]
use PyC_UnicodeFromByte for bpy.app.tempdir incase of non utf-8 filepath

8 years agofix for remaining glitch in square color picker, the backdrop could change color...
Campbell Barton [Wed, 13 Oct 2010 14:10:42 +0000 (14:10 +0000)]
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()

8 years agobugfix [#23355] Square Color picker moving by itself and locking up
Campbell Barton [Wed, 13 Oct 2010 13:53:49 +0000 (13:53 +0000)]
bugfix [#23355] Square Color picker moving by itself and locking up

8 years agoFix for [#24208] ObjectId information is wrong when read from multilayer exr
Janne Karhu [Wed, 13 Oct 2010 13:10:35 +0000 (13:10 +0000)]
Fix for [#24208] ObjectId information is wrong when read from multilayer exr
* non-rgba passes shouldn't use color correction

8 years agoFix for [#24205] Multilayer EXR files used as input sequence are displayed incorrectly
Janne Karhu [Wed, 13 Oct 2010 11:40:59 +0000 (11:40 +0000)]
Fix for [#24205] Multilayer EXR files used as input sequence are displayed incorrectly
* Image buffer profile wasn't set to linear rgb for multilayer image sequences

8 years ago== python api doc ==
Luca Bonavita [Wed, 13 Oct 2010 10:42:33 +0000 (10:42 +0000)]
== python api doc ==

First commit to make some structure in doc/ directory.

- moved source/blender/python/doc -> doc/python_api
- moved source/gameengine/PyDoc/*.rst -> doc/python_api/rst
- modified accordingly sphinx_doc_gen.py and sphinx_doc_gen.sh
  (later on I'll try alternative/ scripts by neXyon as promised :)
- source/gameengine/PyDoc/ is still there because contains epydoc stuff for the bge, will ask more and look into it later

8 years agobugfix [#23150] Creating Vertex with CTRL-LMB not snapping
Campbell Barton [Wed, 13 Oct 2010 07:43:39 +0000 (07:43 +0000)]
bugfix [#23150] Creating Vertex with CTRL-LMB not snapping
- Added EM_project_snap_verts so other functions can re-use this, similar to old retopo_do_all().
- Changed how the normal for selected geometry is calculated, was accumulating half selected edge's into normals which was OK with even surrounding geometry but could skew too easily if the surroundings were not so even. Now use the 2D screen space selected edge vector to calculate the normals in relation to the target mouse position.
- Option to rotate initial selection, gives better results in some cases. (Ctrl+Shift+Click to disable)
http://wiki.blender.org/index.php/File:ClickExtrudeFix.png

8 years agoText space
Sergey Sharybin [Wed, 13 Oct 2010 06:06:39 +0000 (06:06 +0000)]
Text space
==========

Main changes:
- lines could be partially shown when they starts somewhere behind the upper
  boundary of area but because of word-wrapping some part of line will be show
- fixed caret navigatiog in area when tabs aren't replaced by spaces
- highlight the whole current line not only it's wrapped segment with caret
- when you're in replace mode cursor would be as long as the tab's width if it's under tab symbol

This fixes:
  #22399: Text Editor: word-wrapped lines prevent navigating through text with up-arrow.
  #21163: Text editor scrollbar problem with word wrap

8 years agobugfix [#24210] Tiled textures can cause corruption of entire UI
Campbell Barton [Wed, 13 Oct 2010 04:00:01 +0000 (04:00 +0000)]
bugfix [#24210] Tiled textures can cause corruption of entire UI

8 years agobugfix [#24030] Grease Pencil + Driver keys
Campbell Barton [Wed, 13 Oct 2010 03:17:58 +0000 (03:17 +0000)]
bugfix [#24030] Grease Pencil + Driver keys

8 years ago[#24171] Tab key no longer responds from UV / Image Editor
Campbell Barton [Wed, 13 Oct 2010 01:58:09 +0000 (01:58 +0000)]
[#24171] Tab key no longer responds from UV / Image Editor

8 years ago[#24128] Rigid Body Joint Constraint min/max limits [patch]
Campbell Barton [Wed, 13 Oct 2010 01:43:03 +0000 (01:43 +0000)]
[#24128] Rigid Body Joint Constraint min/max limits [patch]
from Dan Eicher (dna)

8 years agore-enable fix from r32330 but without the alt key check because this can be used...
Campbell Barton [Wed, 13 Oct 2010 01:30:42 +0000 (01:30 +0000)]
re-enable fix from r32330 but without the alt key check because this can be used for input.

8 years agobugfix [#24231] outliner not refreshed correctly
Campbell Barton [Wed, 13 Oct 2010 01:10:56 +0000 (01:10 +0000)]
bugfix [#24231] outliner not refreshed correctly
also made world changes only redraw the 3d view if 'Render Only' option is set.

8 years agopatch [#24221] Creating graph from armature doesn't work with unsaved .blend files...
Campbell Barton [Wed, 13 Oct 2010 00:08:24 +0000 (00:08 +0000)]
patch [#24221] Creating graph from armature doesn't work with unsaved .blend files (with fix).
from Sergej Reich (sergof)

Made some corrections to the patch as well as using bpy.app.tempdir with tempfile python module.

8 years agopython api:
Campbell Barton [Tue, 12 Oct 2010 23:47:43 +0000 (23:47 +0000)]
python api:
- bpy.app.debug can now be set, removed bpy.data.debug (since this is not blendfile data)
- added bpy.app.tempdir, this is needed because the userpref temp dir isn't always set, $TEMP may be used instead and scripts need temp dir access.

8 years agobugfix [#23899] renderlayers are not working properly
Campbell Barton [Tue, 12 Oct 2010 22:20:10 +0000 (22:20 +0000)]
bugfix [#23899] renderlayers are not working properly
was missing button for single layer rendering.

also renamed Object.show_shape_key to Object.show_only_shape_key since this pin's the shape key so others are disabled.

8 years agobugfix [#22407] Object level proxies ignore transform of original
Campbell Barton [Tue, 12 Oct 2010 21:47:13 +0000 (21:47 +0000)]
bugfix [#22407] Object level proxies ignore transform of original

8 years agoFix for [#24169] Sequencer segfaults often when scrubbing to frame zero
Janne Karhu [Tue, 12 Oct 2010 10:30:29 +0000 (10:30 +0000)]
Fix for [#24169] Sequencer segfaults often when scrubbing to frame zero

8 years agobugfix [#24144] Small problem with texture (r32316)
Campbell Barton [Tue, 12 Oct 2010 08:32:53 +0000 (08:32 +0000)]
bugfix [#24144] Small problem with texture (r32316)
an extra pixel was being drawn on a tiled image texture.

8 years agobugfix [#23191] Ctrl-LMB quick extrude problem with non-perpendicular edges/faces.
Campbell Barton [Tue, 12 Oct 2010 03:23:44 +0000 (03:23 +0000)]
bugfix [#23191] Ctrl-LMB quick extrude problem with non-perpendicular edges/faces.
also remove is_mat4_flipped() from transform_manipulator.c.

8 years agoupdate for gamelogic templates
Campbell Barton [Mon, 11 Oct 2010 22:25:28 +0000 (22:25 +0000)]
update for gamelogic templates

8 years ago[#24226] small inconsistency in user preferences
Campbell Barton [Mon, 11 Oct 2010 22:05:45 +0000 (22:05 +0000)]
[#24226] small inconsistency in user preferences
also made setting the temp dir more consistent, slash is always added on the end and if the user-pref dir is invalid its not used.

8 years agobugfix [#24225] Blur Node ignores gamma option when size has input.
Campbell Barton [Mon, 11 Oct 2010 21:08:26 +0000 (21:08 +0000)]
bugfix [#24225] Blur Node ignores gamma option when size has input.

8 years agoBGE Bugfix for [#22371] Alpha Planes affecting 2DFilters
Dalai Felinto [Mon, 11 Oct 2010 20:55:05 +0000 (20:55 +0000)]
BGE Bugfix for [#22371] Alpha Planes affecting 2DFilters
disabling GL_Blend at the 2dfilter drawing routine makes the trick here. there is not a clear function invoked before the 2dfilter drawing routine. Therefore I found better to disable alpha blending while we are setting the other OpenGl attributes/matrixes.

We are not re-enabling GL_BLEND after we disable it. We could and it wouldn't hurt but I can't see why to. open to suggestions here of course.

8 years ago[#23709] Blur node on Flat blurs even at 0 by 0 pixel spread
Campbell Barton [Mon, 11 Oct 2010 20:53:20 +0000 (20:53 +0000)]
[#23709] Blur node on Flat blurs even at 0 by 0 pixel spread
skip blur x/y when either is set to zero.

8 years agoFix #24215: Bad shorcut indication for Bezier curve handles.
Sergey Sharybin [Mon, 11 Oct 2010 18:53:11 +0000 (18:53 +0000)]
Fix #24215: Bad shorcut indication for Bezier curve handles.

All existing handle type manipulation hotkeys replaced with unified V-menu
where you could directoly set type you need.

8 years agomake file update for recent bge.render.makeScreenshot commit
Dalai Felinto [Mon, 11 Oct 2010 18:47:28 +0000 (18:47 +0000)]
make file update for recent bge.render.makeScreenshot commit

8 years agoCOLLADA
Nathan Letwory [Mon, 11 Oct 2010 12:38:52 +0000 (12:38 +0000)]
COLLADA

Export unit system and scale instead of hard-coded 1 decimeter.

8 years agoBGE object.life - gives you the life countdown for temporary objects.
Dalai Felinto [Mon, 11 Oct 2010 10:47:20 +0000 (10:47 +0000)]
BGE object.life - gives you the life countdown for temporary objects.
Whenever using AddObject actuator, this feature gives you control over morbid events (a.k.a. trigger events before the object ends).

Demo file here:
http://blenderecia.orgfree.com/blender/tmp/cube_life.blend

Feature implemented as part of the BGE development workshop in BlenderPRO 2010 - Fortaleza, Brazil

8 years agoFix for [#20064] Cloth simulation doesn't stop when marker is set back to frame 1...
Janne Karhu [Mon, 11 Oct 2010 10:40:34 +0000 (10:40 +0000)]
Fix for [#20064] Cloth simulation doesn't stop when marker is set back to frame 1 after exiting mesh edit.
* First frame was dropped some times when animation was running because clicking "go to start/end frame" changed the current frame directly.
* Now only the animtimer changes the frame and clicking the "go to" queues the next frame for animtimer.

8 years agoAdd note about Inv Quad falloff of lamp that there seems to be a hack in use.
Nathan Letwory [Mon, 11 Oct 2010 09:52:25 +0000 (09:52 +0000)]
Add note about Inv Quad falloff of lamp that there seems to be a hack in use.

8 years agoFix for [#24195] Cloth modifier doesn't work after changing subsurf on the object
Janne Karhu [Mon, 11 Oct 2010 09:02:19 +0000 (09:02 +0000)]
Fix for [#24195] Cloth modifier doesn't work after changing subsurf on the object
* Cloth has to reset itself properly on vertex count changes as it can be after a constructive modifier (unlike softbody)

8 years agoRevert r32330 and reopening #24184. The change breaks input where modifier key is...
Nathan Letwory [Mon, 11 Oct 2010 08:03:28 +0000 (08:03 +0000)]
Revert r32330 and reopening #24184. The change breaks input where modifier key is used to create a character.

8 years agobones were not being metaclassed properly so that custom rna prop's couldn't be set.
Campbell Barton [Mon, 11 Oct 2010 04:52:40 +0000 (04:52 +0000)]
bones were not being metaclassed properly so that custom rna prop's couldn't be set.

8 years agobugfix [#20761] Bones/Armature: "Inherit Scale" doesn't work if "Inherit Rotation...
Campbell Barton [Mon, 11 Oct 2010 04:00:33 +0000 (04:00 +0000)]
bugfix [#20761] Bones/Armature: "Inherit Scale" doesn't work if "Inherit Rotation" is disabled

8 years agobugfix [#24190] Extrude Faces called from Alt+ E_key menu don't works well
Campbell Barton [Mon, 11 Oct 2010 02:05:44 +0000 (02:05 +0000)]
bugfix [#24190] Extrude Faces called from Alt+ E_key menu don't works well

8 years ago[#24045] heat weight fails on specific geometry.
Campbell Barton [Mon, 11 Oct 2010 00:15:49 +0000 (00:15 +0000)]
[#24045] heat weight fails on specific geometry.
The error for heat weighting was only being printed in the console, while the problem remains at least a warning is now given that there was a problem calculating the heat weight.

also fixed a memory leak from the mesh octree not being freed after assigning vertex groups. (ModNode error)

8 years agobugfix [#24214] F6 "last operator" panel repeatable segmentation fault
Campbell Barton [Sun, 10 Oct 2010 23:37:25 +0000 (23:37 +0000)]
bugfix [#24214] F6 "last operator" panel repeatable segmentation fault

8 years agobugfix [#23412] Weightpaint and rotate around bones
Campbell Barton [Sun, 10 Oct 2010 23:11:34 +0000 (23:11 +0000)]
bugfix [#23412] Weightpaint and rotate around bones
fixed by allowing an unselected armature to have its pose bones used in weightpaint mode.

8 years agoweight-paint in solid draw mode would draw the wire twice, also change wire drawing...
Campbell Barton [Sun, 10 Oct 2010 22:15:48 +0000 (22:15 +0000)]
weight-paint in solid draw mode would draw the wire twice, also change wire drawing to draw all edges and better visibility over yellow areas.

8 years ago[#24204] Packing of image sequence does not work
Campbell Barton [Sun, 10 Oct 2010 21:39:24 +0000 (21:39 +0000)]
[#24204] Packing of image sequence does not work
this isnt supported but at least display a warning.

8 years agobuilding without python works again for the BGE
Campbell Barton [Sun, 10 Oct 2010 20:59:30 +0000 (20:59 +0000)]
building without python works again for the BGE

8 years agoenable building the game engine without bullet for scons & cmake
Campbell Barton [Sun, 10 Oct 2010 07:01:56 +0000 (07:01 +0000)]
enable building the game engine without bullet for scons & cmake

8 years agoFix compiling for MingW too.
Nathan Letwory [Sat, 9 Oct 2010 21:31:32 +0000 (21:31 +0000)]
Fix compiling for MingW too.

8 years agoCOLLADA
Nathan Letwory [Sat, 9 Oct 2010 21:17:14 +0000 (21:17 +0000)]
COLLADA

Import unit_settings to scene.

Note: I use here RNA to do this, and I think I might slowly work on replacing low-level DNA usage with RNA where possible.

8 years agopatch [#24178] bge.render.makeScreeshot - with help from Campbell(ideasman42)
Dalai Felinto [Sat, 9 Oct 2010 13:46:34 +0000 (13:46 +0000)]
patch [#24178] bge.render.makeScreeshot - with help from Campbell(ideasman42)
This patch brings back the old functionality from Blender 2.49.
However we are forcing the format to be PNG only (as we had previously on blenderplayer).

Note: If letterboxing is on, we are recording only the camera area of the canvas (cool hein?).
Note2: I have a feeling that this is faster than what we had in 2.49 (which was really slow imo). Maybe it could be even faster if we disable PNG compression. Maybe an option for the future.

* patch finalized and committed as part of the BlenderPRO 2010 - BGE development workshop :) *

8 years agopatch [#23781] Dynamically Load Actions
Campbell Barton [Sat, 9 Oct 2010 10:45:25 +0000 (10:45 +0000)]
patch [#23781] Dynamically Load Actions
from Mitchell Stokes (moguri)

8 years agoFixing a memory leak with SCA_PythonKeyboard and SCA_PythonMouse.
Mitchell Stokes [Sat, 9 Oct 2010 01:31:20 +0000 (01:31 +0000)]
Fixing a memory leak with SCA_PythonKeyboard and SCA_PythonMouse.

8 years agobugfix [#23868] NodeGroup font resolution problem when editing it
Campbell Barton [Fri, 8 Oct 2010 22:33:43 +0000 (22:33 +0000)]
bugfix [#23868] NodeGroup font resolution problem when editing it

8 years ago fix for operator cheat sheet, recent description order change broke it.
Campbell Barton [Fri, 8 Oct 2010 21:18:08 +0000 (21:18 +0000)]
 fix for operator cheat sheet, recent description order change broke it.

8 years agoc++ -> C++
Nathan Letwory [Fri, 8 Oct 2010 20:40:42 +0000 (20:40 +0000)]
c++ -> C++

8 years agoEnable CXX_GUARDEDALLOC support through SCons.
Nathan Letwory [Fri, 8 Oct 2010 20:39:56 +0000 (20:39 +0000)]
Enable CXX_GUARDEDALLOC support through SCons.

8 years agoFix for [#24092] F-Curve Cycle doesn't behave properly at end of Cycles (also: possib...
Janne Karhu [Fri, 8 Oct 2010 13:08:13 +0000 (13:08 +0000)]
Fix for [#24092] F-Curve Cycle doesn't behave properly at end of Cycles (also: possible problem with how the cycle range is determined)
* Cycle code had difficulties handling the transitions from one cycle iteration to the next one.
* Now the transition frames are handled manually so that:
    - cycles before the actual fcurve data respect the first datapoint
    - cycles after the fcurve data respect the last datapoint
* Also fixes a bug where the count of "before" cycles was off by one from the given value.

8 years agofix for console selection when pasting.
Campbell Barton [Fri, 8 Oct 2010 12:16:03 +0000 (12:16 +0000)]
fix for console selection when pasting.

8 years agobugfix [#24179] Button "Loop Cut and Slide" on Mesh Tools not work
Campbell Barton [Fri, 8 Oct 2010 11:33:10 +0000 (11:33 +0000)]
bugfix [#24179] Button "Loop Cut and Slide" on Mesh Tools not work

also added a message in the tooltip to say `why` a buttons disabled.
depends on the operators poll setting the message.

8 years ago"Fix" for [#23863] Smoke Voxel Data Still Frame Number doesn't work
Janne Karhu [Fri, 8 Oct 2010 08:56:04 +0000 (08:56 +0000)]
"Fix" for [#23863] Smoke Voxel Data Still Frame Number doesn't work
* Not supported currently so hidden in ui.
* Could be a nice option for later, but will need some proper thought put into the implementation.

8 years agoquat_apply_track had incomplete comments
Campbell Barton [Fri, 8 Oct 2010 07:36:33 +0000 (07:36 +0000)]
quat_apply_track had incomplete comments

8 years agobugfix [#21483] Twisting when Dupliframing a Surface Circle (Nurbs) along a Curve.
Campbell Barton [Fri, 8 Oct 2010 07:29:08 +0000 (07:29 +0000)]
bugfix [#21483] Twisting when Dupliframing a Surface Circle (Nurbs) along a Curve.
use the curve's twist for follow path constraint and parent-path.

8 years agofix for error in track rotation, found while looking into adding an up axis to this...
Campbell Barton [Fri, 8 Oct 2010 03:50:01 +0000 (03:50 +0000)]
fix for error in track rotation, found while looking into adding an up axis to this function.

8 years agoFix #23358: template_curve_mapping doesn't work in split views
Sergey Sharybin [Fri, 8 Oct 2010 02:48:24 +0000 (02:48 +0000)]
Fix #23358: template_curve_mapping doesn't work in split views

8 years agomove tracking functions into math_rotation.c (no functional changes)
Campbell Barton [Fri, 8 Oct 2010 02:08:11 +0000 (02:08 +0000)]
move tracking functions into math_rotation.c (no functional changes)

8 years agobugfix [#21610] alt-r for bone (reset rotation) doesnt work in weight painting mode
Campbell Barton [Thu, 7 Oct 2010 23:17:14 +0000 (23:17 +0000)]
bugfix [#21610] alt-r for bone (reset rotation) doesnt work in weight painting mode
pose operators now run in weightpaint mode when the weight paint objects pose armature is in pose mode.

8 years agoappend was using a freed Main pointer to refer to the curlib when instancing group...
Campbell Barton [Thu, 7 Oct 2010 21:25:05 +0000 (21:25 +0000)]
append was using a freed Main pointer to refer to the curlib when instancing group objects and centering objects around the cursor.

8 years agoFix #24167: Timeline keyframes don't update when selecting objects from outliner
Sergey Sharybin [Thu, 7 Oct 2010 16:41:42 +0000 (16:41 +0000)]
Fix #24167: Timeline keyframes don't update when selecting objects from outliner

Based on patch from Alexander Kuznetsov. Own changes:
- Keyframes in timelime depends on active object, so timelime better be
  listeing to ND_OB_ACTIVE notifier rather than ND_OB_SELECT
- When scene is changing in this operator NC_WINDOW notifier would be send
  and the whole interface would be redrawed, so no need in ND_OB_ACTIVE in
  this case

8 years agoFix #24180: Make duplicates real doesn't update immediatly the outliner
Sergey Sharybin [Thu, 7 Oct 2010 12:18:09 +0000 (12:18 +0000)]
Fix #24180: Make duplicates real doesn't update immediatly the outliner

8 years agoFix for [#22250] Retopo projects to the wrong object when multiple objects are behind.
Janne Karhu [Thu, 7 Oct 2010 10:57:21 +0000 (10:57 +0000)]
Fix for [#22250] Retopo projects to the wrong object when multiple objects are behind.
* Scaling of objects wasn't properly taken into account when projecting the verts.

8 years agomisc fixes found with clang's static checker.
Campbell Barton [Thu, 7 Oct 2010 10:04:07 +0000 (10:04 +0000)]
misc fixes found with clang's static checker.

8 years agoSVN maintenance.
Guillermo S. Romero [Thu, 7 Oct 2010 01:20:59 +0000 (01:20 +0000)]
SVN maintenance.

8 years agoCOLLADA: Split EffectsExporter into separate files.
Nathan Letwory [Thu, 7 Oct 2010 00:24:42 +0000 (00:24 +0000)]
COLLADA: Split EffectsExporter into separate files.

8 years agobugfix [#24158] Object text fields immediately search based on existing content
Campbell Barton [Thu, 7 Oct 2010 00:14:21 +0000 (00:14 +0000)]
bugfix [#24158] Object text fields immediately search based on existing content
also remove some unused struct members from uiBlock/uiBut.

8 years agobugfix [#24155] Operator Cheat Sheet doesn't work properly
Campbell Barton [Wed, 6 Oct 2010 22:29:34 +0000 (22:29 +0000)]
bugfix [#24155] Operator Cheat Sheet doesn't work properly

8 years agoremove calls to WM_event_add_mousemove r22031, from view2d operators since it would...
Campbell Barton [Wed, 6 Oct 2010 21:54:30 +0000 (21:54 +0000)]
remove calls to WM_event_add_mousemove r22031, from view2d operators since it would cause a feedback loop where the operator apply function would keep using mousemove events and creating them.

This was added for view updates but think it needs to be solved a better way.

8 years agoSVN maintenance.
Guillermo S. Romero [Wed, 6 Oct 2010 20:40:16 +0000 (20:40 +0000)]
SVN maintenance.

8 years agobugfix [#24168] verts[] was replaced with vertices[] but gives the old info to user.
Campbell Barton [Wed, 6 Oct 2010 20:39:50 +0000 (20:39 +0000)]
bugfix [#24168] verts[] was replaced with vertices[] but gives the old info to user.

8 years agobugfix [#23988] The Maya preset as default
Campbell Barton [Wed, 6 Oct 2010 20:29:00 +0000 (20:29 +0000)]
bugfix [#23988] The Maya preset as default

8 years agobugfix [#24157] AddPresetBase class writes incorrect values for float_vector properties
Campbell Barton [Wed, 6 Oct 2010 18:51:07 +0000 (18:51 +0000)]
bugfix [#24157] AddPresetBase class writes incorrect values for float_vector properties

8 years agoCOLLADA: Split ImagesExporter into separate files.
Nathan Letwory [Wed, 6 Oct 2010 16:23:52 +0000 (16:23 +0000)]
COLLADA: Split ImagesExporter into separate files.

8 years agoremove unused vol_get_density() call.
Campbell Barton [Wed, 6 Oct 2010 14:53:13 +0000 (14:53 +0000)]
remove unused vol_get_density() call.

8 years agominor edits so traceray() uses less stack memory, also remove memset() usage, initial...
Campbell Barton [Wed, 6 Oct 2010 14:47:40 +0000 (14:47 +0000)]
minor edits so traceray() uses less stack memory, also remove memset() usage, initialize as {0}.
no functional change.

8 years agobugfix [#23311] Half a colour picker appears
Campbell Barton [Wed, 6 Oct 2010 14:17:28 +0000 (14:17 +0000)]
bugfix [#23311] Half a colour picker appears

all popups which are positioned based on an existing button are now clamped to window bounds.

8 years agoGCC fixes for r32346
Nathan Letwory [Wed, 6 Oct 2010 13:55:50 +0000 (13:55 +0000)]
GCC fixes for r32346