Commit Graph

7870 Commits

Author SHA1 Message Date
35c8226d28 Fix #30073: metaball + edit mode + proportinal edit hotkey
Was missed registration of PET toggling operators.
2012-02-05 11:42:20 +00:00
761122da2f Code Cleanup: minor changes & sync with bmesh. 2012-02-05 07:40:15 +00:00
fc0ce537ba fix [#29947] Blender crashes when duplicate bones
missing NULL check.
2012-02-04 11:59:09 +00:00
deec4ce0bc Code Cleanup: avoid double promotion. 2012-02-04 06:55:29 +00:00
1a3da5639e Fix #30064: Image editor: paint on image, rename image, undo -> crash 2012-02-03 20:12:21 +00:00
050963b6a9 fix [#27953] VSE: weird drawing and placement issues strips during 'E'
was calculating meta / effect in wrong order causing delay, now calculate selected meta's, then all effects after tramsforming.
2012-02-03 01:06:32 +00:00
60dc2f521b Camera tracking: fix for Clean Tracks operator which used to always use
properties values from previous operator run instead of using values
from tool settings.
2012-02-02 19:37:50 +00:00
4aaf59324e Fix #27213: editing color ramp "Pos:" number value did not update the ramp
properly, when moving the current point before another.
2012-02-02 14:07:24 +00:00
dd86ae6e3b fix [#28296] File selector crash when with filepath property
disable browsing a file property within the file selector to avoid a crash.
2012-02-02 05:55:01 +00:00
369ae3d28d internal cleanup, check.
* remove duplicate operator, wasnt used.
* added check for duplicate types for CTest.
2012-02-02 04:59:30 +00:00
2f90477272 Camera tracking: regression fixed after recent frame postprocessing refactor
No-proxied frames using for 2D tracking used to be putting to cache which lead
to extra memory usage which shouldn't happen.
2012-02-01 19:06:21 +00:00
5adcf774ba Fix #30045: mesh.uv_textures.new() not returning correct layer when a layer with
the requested name already exists.
2012-02-01 18:25:13 +00:00
f193291b32 Movie Clip Editor: proxy sizes for original and undistortted footages are now controlling separately 2012-02-01 18:08:37 +00:00
fb62923a84 Fix #30047: Bake from multires crashes if run while sculpt mode is active
Issue was caused by incorrect level used for lowres DM.
2012-02-01 16:56:48 +00:00
ed0d2b5e92 Fix #30028: VSE Paste Strip Crash
Crash was caused by attempting to create strip text from a missed sound datablock.
Actual error happened when this sound datablock was missed, but crash isn't nice
anyway and there were no way to repair scene.
2012-02-01 08:35:16 +00:00
bcd84ec107 fix [#29433] Incorrect drawing of Circle/Axes/Cross on Particles when Display set to that AND Size/Vel/Num/Health also selected 2012-02-01 06:26:48 +00:00
db79c8b01e Implemented general functions to store view context like viewport width/height
and projection matrix, so operators which depends on such things can easily save
settings in operator properties in invoke and then reuse them in exec callback.

This will fix: #24767: Knife tool last operations panel doesn't cause changes even though F6 pop-up does.
               #27129: Problem with knife cuts/midpoint type in quad view

Usage is pretty simple:
- From operator template declaration function call ED_view3d_operator_properties_viewmat()
  to register all needed properties in operator.
- From invoke callback call ED_view3d_operator_properties_viewmat_set to
  store all needed settings in operator properties().
- To access this settings from exec callback, use function
  ED_view3d_operator_properties_viewmat_get().

Additional change:
added function apply_project_float() which does the same as
project_float() but accepts actual values for viewport width/height and
projection matrix.
2012-01-31 18:33:31 +00:00
58646f10a1 Hide internal property of knife_cut operator 2012-01-31 16:24:02 +00:00
e76a87c0b2 Fix #28011: Dropdown lists to add Brick elements in Game Logic view miss letters if zoomed small
Now fonts in popup lists will also be scaled together with panel from which they're displaying.
2012-01-31 15:59:52 +00:00
101a287040 Fix #30031: Build modifier crashes when applied to bezier object
Just missed check for modifier type.
2012-01-30 20:44:08 +00:00
4f38c52200 file selector - entering and empty path on *nix would ask to create a new dir. 2012-01-30 10:04:27 +00:00
68a8efa8d3 display keyblock mute in the shape key list.
Realize this is bcon3 but this is was very bad IMHO.
- button adjusting key block was in between 2 object settings - which is misleading/confusing.
- you needed to click through all shapes to check which was muted, currently you's assume 1.0 means the shape is enabled.
2012-01-30 09:49:30 +00:00
942413bdb2 Fix #30021: Crash happens when rotating markers 2012-01-30 09:10:58 +00:00
e86c5f858c Fix #30020: Movie Clip Editor Crashed with panel size changed 2012-01-30 09:05:26 +00:00
Lukas Toenne
a4603667b8 Removed check for active node in edited node group to allow node group editing toggle. This enables closing an empty node group again (after removing all nodes or when empty group is added via menu). Fix for bug #30018. 2012-01-30 09:00:54 +00:00
331c235d93 Movie clip editor: curves view shouldn't jump back to top when click on it
Also it should now re-store position after toggling it.
2012-01-26 13:13:48 +00:00
4ae93a48d8 Fix #29958: Search Menu keeps hiding first character(s) after long input
- ui_check_but() in ui_textedit_move() is necessary because this function clips
  but->drawstring to fit text entry widget and it confuses cursor movement stuff.
  ui_check_but copies editstring to drawstring, so displaystring would be clipped
  again in correct way.
- If the whole drawstring fits widget, no need to set button's offset.
2012-01-26 12:48:36 +00:00
83a6b331a7 Fix #29895 Fast Alt-Mousewheel toggling of Mapping Modes scrubs timeline
Issue was caused by changing button state to EXIT, so there's no active button just after
applying Alt-Wheel event. Setting this state is needed to prevent button trigger cancel
callback when mouse is leaving hovered menu button.

Using the same "post activate" trick used by Tab button allows to make prevent canceling
button and makes this button active again after applying all handlers.

There's still issues with Alt-Scroll if changing active element in menu leads to interface
changes (like file format in render buttons) -- in this case button simple doesn't receive
wheel events and it's actually not connected to this issue.
2012-01-26 12:44:31 +00:00
db57cbac20 More curves view improvements for clip editor:
- Renamed graph_jump_to_current_frame to graph_center_current_frame
  which makes more sense.
- Curve view now can be locked to time cursor (Lock to Time Cursor in
  Display panel or L button in curve view). Not sure if offset from
  locked position will make much sense here.
- Added hotkey for solving -- Shift-S.
2012-01-26 11:49:38 +00:00
969c87b5af Movie clip editor: graph view now can be toggled using Z key 2012-01-26 09:53:58 +00:00
dc4e37c764 Tracks curves fixes and improvements:
- Use proper poll functions for tracks curve operators.
- Darken frames outside of scene frame range in curves view.
- Implemented view all operator.
- Implemented jump to current frame operator.
2012-01-26 09:29:49 +00:00
1f996cb95a Replace hard-coded structures in selection callbacks in view3d_select with typedef-ed structures.
Should be no functional changes, but this discovered inconsistency in structures
used for armature circle selection, not sure how harmful this were, but it's not
nice to have such inconsistencies. Anyway, it's resolved now.
2012-01-26 08:12:12 +00:00
2a3d8a171b Fix for layer toggling always sticking to extend policy.
Reported by Dalai in IRC, thanks for pointing to issue.
2012-01-26 07:33:14 +00:00
bce89860f5 Various fixes for camera tracking stuff
- Fixed tooltip displaying for track sequence forwards in clip editor
- Corrected detection of 8 tracks so it wouldn't count tracks disabled
  on keyframes.
- Scale track preview to actual track widget size instead of scaling the
  whole preview image with given zoom ratio, so no extra memory needed to
  store zoomed margin would be used.
- Track's statistics text will fit pattern position instead of search if
  marker is disabled on current frame.
- Fixed toggle selection operator if selected track is hidden due to
  "Hide Disabled" policy.
2012-01-25 13:37:11 +00:00
b8586f4ec3 Fix typo for sharpen graph post-processing so fac1+fac2+fac3 always equals 1.0 2012-01-25 10:10:15 +00:00
8169ad0219 Improvement for last commit, only do redraw when actually needed (in world shader type) 2012-01-24 20:19:26 +00:00
c905415f6b Cycles Node Editor:
* Add Use Nodes button for World shader type
* UI was not redrawing the Node area, when enabling "Use nodes", added check for it to the listener.
2012-01-24 20:10:37 +00:00
439e9a39a8 use a struct to pass normals to normal draw derived mesh callbacks (no functional changes) 2012-01-24 19:57:34 +00:00
7a628a3967 Enable 16 bit format for float textures by default after discussion with Morten and Sergey on irc. Rationale is that for most cases when people create a float texture they will expect the extra precision in the 3D view.
This shouldn't be a problem on any graphics card since internally a very old texture format (GL 1.1) is used. In the case of any unlikely screams, a revert of this commit can be done.
2012-01-24 19:54:18 +00:00
44850d6946 Fix #29946: Recover Auto Save defaults to "Short List" View -- Cannot determine dates
Added option display_type to WM_operator_properties_filesel which defines which file
display type (short/list/icons/default) should be used for file browser.

All current operators are using FILE_DEFAULTDISPLAY display type which means display
type will still be calculated based on type of opening file and user preferences
settings. Recover Auto Save operator is now using long display type so file date can
easily be checked now.

Reviewed by Andrea, thanks!
2012-01-24 18:18:51 +00:00
1f9e25ac1a comment unused assignment. 2012-01-24 15:51:44 +00:00
58c51bb551 quiet some warnings & (possible/unlikely error) 2012-01-24 15:37:50 +00:00
b8fe464b62 Bugfix: Circle-select in Pose Mode disregarded layer visibility, selecting
invisible bones too
2012-01-24 08:43:39 +00:00
ebe01d06bc Misc picky edits to UI messages. 2012-01-23 22:57:46 +00:00
be0be0b1a9 Fix #29970: Crash trying to track disabled marker 2012-01-23 19:32:00 +00:00
be69b8b4fd modifier Apply as Shape is now Apply as Shape Key. Was confusing some users 2012-01-23 03:13:55 +00:00
c499f5120b Ocean Modifier UI fixes:
* Modifier Icon was missing in the outliner
* Fluid icon was used in the rna struct, fixed

Note: Ocean uses the Wave modifier icon atm, if we find a better one, this can be changed.
2012-01-22 22:30:45 +00:00
359e961a12 restrict stitching of same island uvs to only midpoint, without snapping case 2012-01-22 20:01:33 +00:00
008b0e90dd minor edit for operator error macro so it can return different values. 2012-01-22 19:52:41 +00:00
ab1600bee5 error in outliner parent patch - was using set string on an enum property. 2012-01-22 18:59:06 +00:00