10 years agofix [#27458] Links for Logic Bricks no longer work
Campbell Barton [Sun, 22 May 2011 04:05:09 +0000 (04:05 +0000)]
fix [#27458] Links for Logic Bricks no longer work
event->mval wasn't being set in some cases by the event system.

10 years agocorrect a tooltip misspell
Daniel Salazar [Sat, 21 May 2011 23:44:36 +0000 (23:44 +0000)]
correct a tooltip misspell

10 years agoview3d function naming, no functional changes.
Campbell Barton [Sat, 21 May 2011 08:56:37 +0000 (08:56 +0000)]
view3d function naming, no functional changes.

10 years agofix [#27437] Appending armatures with custom bone shapes brings no custom objects...
Campbell Barton [Sat, 21 May 2011 07:15:36 +0000 (07:15 +0000)]
fix [#27437] Appending armatures with custom bone shapes brings no custom objects into scene.. impossible to edit

previous fix unintentionally made linking groups also add objects to the scene,
tested this more throughly, its ensured only to run on append and not to conflict with group linking/appending.

10 years agono functional changes, make give_base_to_objects() arguments less confusing.
Campbell Barton [Sat, 21 May 2011 06:48:19 +0000 (06:48 +0000)]
no functional changes, make give_base_to_objects() arguments less confusing.

10 years agoBugfix [#27452] Wrong linking of character groups
Joshua Leung [Sat, 21 May 2011 06:04:44 +0000 (06:04 +0000)]
Bugfix [#27452] Wrong linking of character groups

Linking in groups also ended up adding those objects to the current
scene that we're linking the group in to. This is a regression. It
leads to more work (and/or confusion) from animators when just trying
to get a character into a shot file to start animating it (see my
notes on my blog for the proper workflow regarding this).

Reverting r36762, which caused this mess.

10 years agopatch [#27449] bpy_script_paths() return path reversed [patch]
Campbell Barton [Sat, 21 May 2011 05:34:20 +0000 (05:34 +0000)]
patch [#27449] bpy_script_paths() return path reversed [patch]
from Dan Eicher (dna)

10 years agoFix for [#27333] Translation constraint is broken.
Thomas Dinges [Fri, 20 May 2011 18:26:44 +0000 (18:26 +0000)]
Fix for [#27333] Translation constraint is broken.

Committing here a patch by Bastien Montagne (mont29), a more understandable Translation Constraint UI.

From the description:
"When you set “X” under the Destination’s “Z”, it does not mean that the Z transform of the source should affect the X transform of the destination, but rather that the X transform of the source should affect the Z transform of the destination…"

The new UI should make it a bit more clear.

10 years agochange transform to round at 0.5 for fcurves.
Campbell Barton [Fri, 20 May 2011 18:19:29 +0000 (18:19 +0000)]
change transform to round at 0.5 for fcurves.
this gave noticeable issue when transforming int/fcurve's below zero.

10 years agowas using the wrong rna type for GRAPH_OT_select_leftright
Campbell Barton [Fri, 20 May 2011 18:00:19 +0000 (18:00 +0000)]
was using the wrong rna type for GRAPH_OT_select_leftright

10 years ago2.5 Particle UI:
Thomas Dinges [Fri, 20 May 2011 17:08:09 +0000 (17:08 +0000)]
2.5 Particle UI:
*In Particle Mode, there was no way to see what p-sys is being edited in the 3D View Tool bar, when having multiple ones.
Changed List type to normal (with limit to 3 rows). Request by venomgfx. :)

* Removed redundant text info about disconnected hair from Particle UI.

10 years agoerror in recent commit.
Campbell Barton [Fri, 20 May 2011 16:43:23 +0000 (16:43 +0000)]
error in recent commit.

10 years agoedit gp_stroke_convertcoords not to modify the mval passed to it & make some mval...
Campbell Barton [Fri, 20 May 2011 14:11:05 +0000 (14:11 +0000)]
edit gp_stroke_convertcoords not to modify the mval passed to it & make some mval args const elsewhere too.

10 years agouse consistant arguments to ED_view3d_win_* funcs, a single float vector rather then...
Campbell Barton [Fri, 20 May 2011 13:50:41 +0000 (13:50 +0000)]
use consistant arguments to ED_view3d_win_* funcs, a single float vector rather then 2 floats.

10 years agotypo in previous commit
Sergey Sharybin [Fri, 20 May 2011 13:10:40 +0000 (13:10 +0000)]
typo in previous commit

10 years agofunction rename to give clearer meaning that they change from window to 3d coordinates.
Campbell Barton [Fri, 20 May 2011 13:09:34 +0000 (13:09 +0000)]
function rename to give clearer meaning that they change from window to 3d coordinates.
some functions had vague names, I even ended up re-writing some of these functions by accident!
also added doxy comments.

* ED_view3d_win_to_3d (was window_to_3d)
* ED_view3d_win_to_delta (was window_to_3d_delta)
* ED_view3d_win_to_vector (was window_to_3d_vector / viewvector)
* ED_view3d_win_to_segment_clip (was viewline)
* ED_view3d_win_to_ray (was viewray)

10 years agobuildbot:
Sergey Sharybin [Fri, 20 May 2011 13:06:19 +0000 (13:06 +0000)]
ffmpeg was compuled with faad now (aac support which keeps
libs gpl2 compatibile).
Updating library dependencies for buildbot rules.

10 years agoreplace checks with rv3d->persp with rv3d->is_persp since in these cases it only...
Campbell Barton [Fri, 20 May 2011 11:15:44 +0000 (11:15 +0000)]
replace checks with rv3d->persp with rv3d->is_persp since in these cases it only matters if its a perspective view matrix, this wouldn't work right for camera views.

10 years agosimplify window_to_3d_vector() and call it from viewline()
Campbell Barton [Fri, 20 May 2011 10:28:40 +0000 (10:28 +0000)]
simplify window_to_3d_vector() and call it from viewline()
also update python view function to match.

10 years agorename mul_project_m4_v4 to mul_project_m4_v3.
Campbell Barton [Fri, 20 May 2011 10:09:03 +0000 (10:09 +0000)]
rename mul_project_m4_v4 to mul_project_m4_v3.

10 years agoRemedy compile error on windows/msvc introduced in r36787.
Nathan Letwory [Fri, 20 May 2011 08:52:52 +0000 (08:52 +0000)]
Remedy compile error on windows/msvc introduced in r36787.

10 years agouse event->mval rather then subtracting ar->winrct.x / y from event->x / y
Campbell Barton [Fri, 20 May 2011 07:40:05 +0000 (07:40 +0000)]
use event->mval rather then subtracting ar->winrct.x / y from event->x / y

10 years agorenaming bones didnt update update the view3d lock bone name.
Campbell Barton [Fri, 20 May 2011 05:39:56 +0000 (05:39 +0000)]
renaming bones didnt update update the view3d lock bone name.

10 years agouse BKE_area_find_region_type in place of inline loops (no functional changes).
Campbell Barton [Fri, 20 May 2011 05:27:31 +0000 (05:27 +0000)]
use BKE_area_find_region_type in place of inline loops (no functional changes).

10 years agomake api functions for converting rv3d->camzoom, so the odd logic for this isn't...
Campbell Barton [Fri, 20 May 2011 04:14:29 +0000 (04:14 +0000)]
make api functions for converting rv3d->camzoom, so the odd logic for this isn't inlined all over.

10 years agoint values were not drawing curve handles, yet the handles could still be selected...
Campbell Barton [Fri, 20 May 2011 01:02:00 +0000 (01:02 +0000)]
int values were not drawing curve handles, yet the handles could still be selected and transformed, and different handle types set. disable this check and draw curve handles for int fcurves.

10 years ago[#27439] Console window doesn't hide on startup when presets are used (Windows)
Campbell Barton [Fri, 20 May 2011 00:21:38 +0000 (00:21 +0000)]
[#27439] Console window doesn't hide on startup when presets are used (Windows)
only print preset load messages in when debug is enabled.

10 years agoSVN maintenance.
Guillermo S. Romero [Thu, 19 May 2011 20:22:35 +0000 (20:22 +0000)]
SVN maintenance.

10 years ago- mousewheel zoom now zooms camera area when the camera is locked and in ortho view.
Campbell Barton [Thu, 19 May 2011 17:19:05 +0000 (17:19 +0000)]
- mousewheel zoom now zooms camera area when the camera is locked and in ortho view.
- remove secret apricot feature now dolly is its own operator.

10 years agomove rna property area.active_space -->
Campbell Barton [Thu, 19 May 2011 15:18:40 +0000 (15:18 +0000)]
move rna property area.active_space -->

10 years agoformatting changes only.
Campbell Barton [Thu, 19 May 2011 13:50:53 +0000 (13:50 +0000)]
formatting changes only.

10 years agomodify fcurve evaluation for bool/enum/int values. was converting from a float to...
Campbell Barton [Thu, 19 May 2011 12:39:57 +0000 (12:39 +0000)]
modify fcurve evaluation for bool/enum/int values. was converting from a float to an int which means 0.9x evaluates to 0.0, negative numbers are also rounded up.

Round at 0.5 instead & treat negative numbers the same.

10 years agoFix some compile warnings.
Brecht Van Lommel [Thu, 19 May 2011 11:54:03 +0000 (11:54 +0000)]
Fix some compile warnings.

10 years agoUI tweak: properties editor header now has same size as other headers again.
Brecht Van Lommel [Thu, 19 May 2011 11:45:06 +0000 (11:45 +0000)]
UI tweak: properties editor header now has same size as other headers again.

10 years agoFix for preview render, lamp and world now also get localized like material and texture.
Brecht Van Lommel [Thu, 19 May 2011 11:37:08 +0000 (11:37 +0000)]
Fix for preview render, lamp and world now also get localized like material and texture.

10 years agoCode refactor: split code for render updates and opening render view into
Brecht Van Lommel [Thu, 19 May 2011 11:34:11 +0000 (11:34 +0000)]
Code refactor: split code for render updates and opening render view into
separate files, no functional changes.

10 years agoFix crash when accessing mesh from python while a mesh with a subsurf modifier
Brecht Van Lommel [Thu, 19 May 2011 11:24:56 +0000 (11:24 +0000)]
Fix crash when accessing mesh from python while a mesh with a subsurf modifier
is in editmode.

10 years agoAdd localize_lamp and localize_world functions as already existed for materials
Brecht Van Lommel [Thu, 19 May 2011 11:21:37 +0000 (11:21 +0000)]
Add localize_lamp and localize_world functions as already existed for materials
and textures, unused still.

10 years agoUI: fix direction properties not showing the right direction editing widget,
Brecht Van Lommel [Thu, 19 May 2011 11:18:09 +0000 (11:18 +0000)]
UI: fix direction properties not showing the right direction editing widget,
code was there but in the wrong location. This makes the opengl lights in
the user preferences show that widget again as in 2.4.

10 years agoscreenshot operator can now be executed directly.
Campbell Barton [Thu, 19 May 2011 11:13:35 +0000 (11:13 +0000)]
screenshot operator can now be executed directly.
so python can screenshot with: bpy.ops.screen.screenshot(filepath="some_image.png"):

10 years agoUI: fix menus getting closed too quick when moving mouse not exactly towards
Brecht Van Lommel [Thu, 19 May 2011 11:05:34 +0000 (11:05 +0000)]
UI: fix menus getting closed too quick when moving mouse not exactly towards
them, noticeable for the vertex groups or material slot utility menus.

10 years agopy/ui edit: change InputKeyMapPanel to be a mix-in class only (not a subclass of...
Campbell Barton [Thu, 19 May 2011 09:52:11 +0000 (09:52 +0000)]
py/ui edit: change InputKeyMapPanel to be a mix-in class only (not a subclass of Panel), it messes up re-registering panels.

10 years agochange window_to_3d to take screen coords as floats.
Campbell Barton [Thu, 19 May 2011 07:55:48 +0000 (07:55 +0000)]
change window_to_3d to take screen coords as floats.

10 years agoconverting grease pencil now works in the camera view.
Campbell Barton [Thu, 19 May 2011 07:43:10 +0000 (07:43 +0000)]
converting grease pencil now works in the camera view.

10 years agofix [#27432] [2.57/scripts/modules/bpy/] can't concat bytes to str
Campbell Barton [Thu, 19 May 2011 06:27:39 +0000 (06:27 +0000)]
fix [#27432] [2.57/scripts/modules/bpy/] can't concat bytes to str

10 years agofix [#27437] Appending armatures with custom bone shapes brings no custom objects...
Campbell Barton [Thu, 19 May 2011 06:17:44 +0000 (06:17 +0000)]
fix [#27437] Appending armatures with custom bone shapes brings no custom objects into scene.. impossible to edit

10 years agoadd python access to mathutils.intersect_line_plane, update view3d_utils module to...
Campbell Barton [Thu, 19 May 2011 04:28:09 +0000 (04:28 +0000)]
add python access to mathutils.intersect_line_plane, update view3d_utils module to use it.

10 years agoadded math function isect_line_plane_v3(), use for window_to_3d rather then having...
Campbell Barton [Thu, 19 May 2011 03:49:57 +0000 (03:49 +0000)]
added math function isect_line_plane_v3(), use for window_to_3d rather then having it inline.

10 years agofix [#27158] Appending crash with preview.
Andrea Weikert [Wed, 18 May 2011 19:42:30 +0000 (19:42 +0000)]
fix [#27158] Appending crash with preview.
* fixed incorrect reading of PreviewImage struct from .blend
* fixed memory leak, PreviewImage data wasn't correctly free'd

10 years agouse window_to_3d for armature_click_extrude operator.
Campbell Barton [Wed, 18 May 2011 18:14:59 +0000 (18:14 +0000)]
use window_to_3d for armature_click_extrude operator.

10 years agowindow_to_3d() wasn't working at all (only used by grease pencil/path conversion...
Campbell Barton [Wed, 18 May 2011 18:01:01 +0000 (18:01 +0000)]
window_to_3d() wasn't working at all (only used by grease pencil/path conversion), now works in ortho and perspective view, initgrabz() is no longer needs to be called first.

10 years agothere wasn't a good way to know if a RegionView3D was perspective or not (without...
Campbell Barton [Wed, 18 May 2011 17:52:26 +0000 (17:52 +0000)]
there wasn't a good way to know if a RegionView3D was perspective or not (without having the View3D too and checking its camera values), added struct member 'is_persp', set with the view matrix.

10 years agofix for python module region_2d_to_vector_3d and region_2d_to_location_3d functions...
Campbell Barton [Wed, 18 May 2011 15:57:20 +0000 (15:57 +0000)]
fix for python module region_2d_to_vector_3d and region_2d_to_location_3d functions in ortho mode.

10 years agopython mathutils.Matrix.is_orthogonal readonly attribute.
Campbell Barton [Wed, 18 May 2011 15:31:00 +0000 (15:31 +0000)]
python mathutils.Matrix.is_orthogonal readonly attribute.

10 years agoUI: fix access of freed memory in buttons handling code.
Brecht Van Lommel [Wed, 18 May 2011 15:23:40 +0000 (15:23 +0000)]
UI: fix access of freed memory in buttons handling code.

10 years agoRNA: some compile fixes for C/C++ api.
Brecht Van Lommel [Wed, 18 May 2011 12:56:58 +0000 (12:56 +0000)]
RNA: some compile fixes for C/C++ api.

10 years agoRNA: make mechanism used by operators to keep python instance alive more generic...
Brecht Van Lommel [Wed, 18 May 2011 11:21:10 +0000 (11:21 +0000)]
RNA: make mechanism used by operators to keep python instance alive more generic, to be used by render engine later.

10 years agoRNA: pass Main rather than Context to register/unregister callbacks.
Brecht Van Lommel [Wed, 18 May 2011 10:56:26 +0000 (10:56 +0000)]
RNA: pass Main rather than Context to register/unregister callbacks.

10 years agofix remaining crash from [#27035] 3 problems: crash and enum "REGION" not found in...
Campbell Barton [Wed, 18 May 2011 09:58:17 +0000 (09:58 +0000)]
fix remaining crash from [#27035] 3 problems: crash and enum "REGION" not found in ('VERTS')

10 years agofix a crash when getting the value of an enum.
Campbell Barton [Wed, 18 May 2011 09:26:07 +0000 (09:26 +0000)]
fix a crash when getting the value of an enum.

10 years agofix for one of the issues in [#27035] 3 problems: crash and enum "REGION" not found...
Campbell Barton [Wed, 18 May 2011 09:07:15 +0000 (09:07 +0000)]
fix for one of the issues in [#27035] 3 problems: crash and enum "REGION" not found in ('VERTS')
now constraint macro argument shows as 'NORMAL' rather then '<UNKNOWN ENUM>'

10 years agouse ED_operator_screenactive rather then ED_operator_screenactive so transform works...
Campbell Barton [Wed, 18 May 2011 08:36:06 +0000 (08:36 +0000)]
use ED_operator_screenactive rather then ED_operator_screenactive so transform works in background mode.

10 years ago2 minor glitches
Campbell Barton [Wed, 18 May 2011 08:16:33 +0000 (08:16 +0000)]
2 minor glitches
- removing bone groups didnt set the next one active.
- removing poselib was using int for enum rna property.

10 years agoadditional bake modes
M.G. Kishalmi [Wed, 18 May 2011 07:46:54 +0000 (07:46 +0000)]
additional bake modes
 (refined patch #23430)

+ specular color
+ specular intensity
+ mirror color
+ mirror intensity
+ alpha (tranparency)
+ emission (glow)

10 years ago- check paths are not empty strings before making blend file paths absolute or relative.
Campbell Barton [Wed, 18 May 2011 06:48:52 +0000 (06:48 +0000)]
- check paths are not empty strings before making blend file paths absolute or relative.
- when saving blend file with 'Remap Relative' enabled, don't try make paths absolute if the internal filename is invalid.
- use case insensitive path comparison on windows when checking if path remapping is needed & for comparing next/prev dirs in the file selector.

10 years agocleanup only
Campbell Barton [Wed, 18 May 2011 06:27:32 +0000 (06:27 +0000)]
cleanup only
- rename 'name', 'dir' --> 'filepath' where these actually represent a file path to avoid confusion.
- bugfix for possible (but unlikely) uninitialized string.
- remove commented script append function, now we have a python api for this.

10 years agofix [#27405] Append objects with linked materials they dissapears after save
Campbell Barton [Wed, 18 May 2011 05:21:44 +0000 (05:21 +0000)]
fix [#27405] Append objects with linked materials they dissapears after save
when linking in files to an unsaved blend file, make all library paths absolute.

10 years agoThis fixes:
Peter Schlaile [Tue, 17 May 2011 18:37:44 +0000 (18:37 +0000)]
This fixes:
[#27422] Strobe setting does not work with effect strip
[#27421] Some Settings of Adjustment Layers are not Functional.

10 years agofix for r36723 - putting extern Material inside code like that results in wrong linki...
Nathan Letwory [Tue, 17 May 2011 16:20:07 +0000 (16:20 +0000)]
fix for r36723 - putting extern Material inside code like that results in wrong linking. Move to proper place so that linking goes right.

10 years agoadded other addon category.
Campbell Barton [Tue, 17 May 2011 09:13:14 +0000 (09:13 +0000)]
added other addon category.

10 years agofix for warning
Campbell Barton [Tue, 17 May 2011 06:51:31 +0000 (06:51 +0000)]
fix for warning

10 years agofix [#27414] no-material renders differently in View3D vs BGE
Campbell Barton [Tue, 17 May 2011 02:44:52 +0000 (02:44 +0000)]
fix [#27414] no-material renders differently in View3D vs BGE
when a texface layer exists this still overrides the default material.

10 years agoRNA glitch: particle path step values had soft & hard limits the wrong way around.
Janne Karhu [Mon, 16 May 2011 20:48:14 +0000 (20:48 +0000)]
RNA glitch: particle path step values had soft & hard limits the wrong way around.

10 years agocode cleanup: icon creation
Andrea Weikert [Mon, 16 May 2011 18:37:54 +0000 (18:37 +0000)]
code cleanup: icon creation
* changed stupid miplevel/MIPMAP naming in icon code, it was really the icon size (small icon or larger preview) that was meant there.

10 years agoset clip_start value minimum to 0.001, since 0.0 makes the viewport go very strange.
Campbell Barton [Mon, 16 May 2011 18:04:19 +0000 (18:04 +0000)]
set clip_start value minimum to 0.001, since 0.0 makes the viewport go very strange.

10 years ago== Sequencer ==
Peter Schlaile [Mon, 16 May 2011 17:54:55 +0000 (17:54 +0000)]
== Sequencer ==

This fixes one part of [#27353] VSE crashes on large M4V

StripData was alloced in full length for MOVIE and SOUND-tracks, which only
use the first element for filename storage. (StripData as an array is only
used in IMAGE strips).

Fixed the crash and documented accordingly.

10 years ago[PATCH] == Sequencer ==
Peter Schlaile [Mon, 16 May 2011 17:14:47 +0000 (17:14 +0000)]
[PATCH] == Sequencer ==

This patch adds adjustment layer tracks to the sequencer and does some cleaning
up of the code.

What's an adjustment layer?

Think of it as an effect track, which takes no explicit input, but alters
the output of everything down the layer stack.

So: you can add several stages of color correction with it.

And: you can even use it with metastrips to group several adjustments together.

10 years agoLCMS code removed, was an experiment but never finished.
Brecht Van Lommel [Mon, 16 May 2011 13:34:42 +0000 (13:34 +0000)]
LCMS code removed, was an experiment but never finished.

10 years agoRemove artificial limit, now HDR textures can be used to displace.
Nathan Letwory [Mon, 16 May 2011 11:46:16 +0000 (11:46 +0000)]
Remove artificial limit, now HDR textures can be used to displace.

10 years agofixed incorrect jemalloc library & updated netbeans project to ignore __pycache__.
Campbell Barton [Mon, 16 May 2011 10:34:40 +0000 (10:34 +0000)]
fixed incorrect jemalloc library & updated netbeans project to ignore __pycache__.

10 years agomove generic bpy helper modules into bpy_extras.
Campbell Barton [Mon, 16 May 2011 07:51:02 +0000 (07:51 +0000)]
move generic bpy helper modules into bpy_extras.

10 years agonew empty package to move bpy utility modules into.
Campbell Barton [Mon, 16 May 2011 07:48:43 +0000 (07:48 +0000)]
new empty package to move bpy utility modules into.

10 years agoSVN maintenance.
Guillermo S. Romero [Mon, 16 May 2011 06:11:14 +0000 (06:11 +0000)]
SVN maintenance.

10 years agorename wave texture_coordinate_object -> texture_coords_object to match Displace...
Campbell Barton [Mon, 16 May 2011 05:50:04 +0000 (05:50 +0000)]
rename wave texture_coordinate_object -> texture_coords_object to match Displace and Warp modifiers.

10 years agoenable game panel even if the BGE is disabled since its settings effect the viewport.
Campbell Barton [Mon, 16 May 2011 04:55:31 +0000 (04:55 +0000)]
enable game panel even if the BGE is disabled since its settings effect the viewport.
also remove unused function in creator.c and minor edit to search menu poll function.

10 years agomade generic module for generating project files from cmake,
Campbell Barton [Mon, 16 May 2011 04:04:06 +0000 (04:04 +0000)]
made generic module for generating project files from cmake,
added netbeans project file generator.

10 years agoPatch [#27344] 300+ New/changed tooltips by Davis Sorenson (dsavi). Thanks a lot!
Thomas Dinges [Sun, 15 May 2011 17:59:48 +0000 (17:59 +0000)]
Patch [#27344] 300+ New/changed tooltips by Davis Sorenson (dsavi). Thanks a lot!
Reviewed by Tom Musgrove and myself.

From the patch description:
ValterVB on #blendercoders submitted a long list of missing tooltips in Blender, and I went through the list and added all I knew. After that I crowdsourced the rest by putting a spreadsheet on Google docs and having people fill in the missing ones that I didn't know. So if there's some weird tooltip in there that doesn't make sense, that's why.

Thanks to Wolter, spacetug and others on BlenderArtists for contributing tooltips.

10 years agoFix for [#27142] manipulator in particle mode does not work
Janne Karhu [Sun, 15 May 2011 16:42:39 +0000 (16:42 +0000)]
Fix for [#27142] manipulator in particle mode does not work
* Manipulator operator wasn't registered in particle mode.

10 years agoFix for [#27131] particle system BUG - one particle generated twice at vertex (e...
Janne Karhu [Sun, 15 May 2011 15:51:17 +0000 (15:51 +0000)]
Fix for [#27131] particle system BUG - one particle generated twice at vertex (e.g. 9 particles generated at 8 locations)
* The tiny offset value used in particle distribution code was actually too small, so that floating point errors got the best of the calculations.

10 years agohomekey in camera view now fits the view scale as well as centering the camera.
Campbell Barton [Sun, 15 May 2011 14:07:24 +0000 (14:07 +0000)]
homekey in camera view now fits the view scale as well as centering the camera.

10 years agoDo not remove MDISPS customdata layer when removing multires modifier
Sergey Sharybin [Sun, 15 May 2011 13:13:51 +0000 (13:13 +0000)]
Do not remove MDISPS customdata layer when removing multires modifier
and there are still another multires modifiers in the stack.

Helps to prevent loosing sculpt data when you occasionally added another
multires and reomved it with "X" button.

10 years agoBGE:
Mitchell Stokes [Sun, 15 May 2011 08:48:43 +0000 (08:48 +0000)]
This fixes frame colors not showing up right when using letterbox in the embedded player. Frames are drawn by clearing the whole canvas and then changing the viewport to be within the frames. The problem is that the embedded player's canvas is setup to be within the frames. This means that the extra that would normally be cleared and filled with the frame color is instead the gray color of Blender's region since nothing is actually drawn there by the BGE. To solve this, I just handle the frames in BL_KetsjiEmbedStart.

10 years agoremove redundant (and confusing) register flag.
Campbell Barton [Sun, 15 May 2011 06:29:52 +0000 (06:29 +0000)]
remove redundant (and confusing) register flag.

10 years agocamera composition guides:
Campbell Barton [Sun, 15 May 2011 05:43:59 +0000 (05:43 +0000)]
camera composition guides:
 removed diagonal golden rule (not very common), added harmonious triangle and golden triangle options.

10 years agoremove some unused view3d members & added RV3D_VIEW_USER define.
Campbell Barton [Sun, 15 May 2011 03:42:28 +0000 (03:42 +0000)]
remove some unused view3d members & added RV3D_VIEW_USER define.

Aligorith: replaced v3d->keyflags with ANIMFILTER_KEYS_LOCAL since v3d->keyflags couldn't be set anywhere and wasn't initialized.

10 years agofix for bug with camera locking, view dolly and rotate with 'about selection' prefere...
Campbell Barton [Sun, 15 May 2011 03:07:07 +0000 (03:07 +0000)]
fix for bug with camera locking, view dolly and rotate with 'about selection' preference enabled would offset the camera.

10 years agofix for user reported issues
Campbell Barton [Sun, 15 May 2011 02:39:36 +0000 (02:39 +0000)]
fix for user reported issues
- camera object movement was missing a notifier
- auto perspective now works when rotating the view.
- shift+b now zooms.

10 years agoButton for adding shape keys now creates shapes from base mesh instead of
Nathan Vegdahl [Sat, 14 May 2011 20:23:05 +0000 (20:23 +0000)]
Button for adding shape keys now creates shapes from base mesh instead of
from the current shape mix.  The old behavior is still accessable from the
menu as "New Shape From Mix".

Checked with Sergey and Bassam that this is a good change.  New users
expect the add shape button to simply add a new blank shape, and get
confused when that is not the case.  It is also really easy to
accidentally have other shape information in a new shape when the
"from mix" behavior is default.

10 years agoRemove files that were intended for shader branch.
Nathan Letwory [Sat, 14 May 2011 18:54:56 +0000 (18:54 +0000)]
Remove files that were intended for shader branch.

10 years agooption to have the view controls apply to the camera view (and camera object).
Campbell Barton [Sat, 14 May 2011 17:50:33 +0000 (17:50 +0000)]
option to have the view controls apply to the camera view (and camera object).
- follow rotate/pan/zoom/dolly operators.
- auto-depth preference works.
- smooth view navigation supported.
- view selected, all & numpad operator work too.

- deal with camera transform locked axis
- find a way to move/zoom the frame while the camera is locked (if it turns out to be a problem).