blender.git
7 years agofix for incorrect declaration rna_Object_free_duplilist() in cycles.
Campbell Barton [Sun, 23 Sep 2012 05:02:06 +0000 (05:02 +0000)]
fix for incorrect declaration rna_Object_free_duplilist() in cycles.

7 years agofix for all pose-group editing functions crashing when the context didnt have an...
Campbell Barton [Sun, 23 Sep 2012 02:31:30 +0000 (02:31 +0000)]
fix for all pose-group editing functions crashing when the context didnt have an area (in background mode),
fix pose-group-sort and pose-group-moving being disabled for pinned poses.

also fix for own missing NULL check for pose mask clear which would crash when run without an active object

7 years agoMake "name" member of RNA KeymapItem struct return the translated name of the underly...
Bastien Montagne [Sat, 22 Sep 2012 20:07:30 +0000 (20:07 +0000)]
Make "name" member of RNA KeymapItem struct return the translated name of the underlying operator. Else, op names are usually not translated in keymap part of the user preferences! Thx to Miklós Pomsár for pointing this bug. :)

7 years agoFix [#32629] Checking "Invert Zoom Direction" doesn't change zoom in camera view.
Bastien Montagne [Sat, 22 Sep 2012 17:45:52 +0000 (17:45 +0000)]
Fix [#32629] Checking "Invert Zoom Direction" doesn't change zoom in camera view.

7 years agoMore tweaks to sequencer Header bar: make overlay also available in mix mode, and...
Bastien Montagne [Sat, 22 Sep 2012 17:40:08 +0000 (17:40 +0000)]
More tweaks to sequencer Header bar: make overlay also available in mix mode, and OpenGL render buttons in all modes!

7 years agoRevert a small part of r50813, so that we can build (actually, link) with Cycles!
Bastien Montagne [Sat, 22 Sep 2012 17:00:02 +0000 (17:00 +0000)]
Revert a small part of r50813, so that we can build (actually, link) with Cycles!

Note: this is marked as hack/todo in cycles code, so it needs a proper fix, but at least it works, for now... ;)

7 years agocode cleanup: make many functions static
Campbell Barton [Sat, 22 Sep 2012 14:07:55 +0000 (14:07 +0000)]
code cleanup: make many functions static

7 years agocode cleanup: remove/comment unused defines
Campbell Barton [Sat, 22 Sep 2012 13:40:31 +0000 (13:40 +0000)]
code cleanup: remove/comment unused defines

7 years agoImprovement to own commit r50810.
Campbell Barton [Sat, 22 Sep 2012 13:23:12 +0000 (13:23 +0000)]
Improvement to own commit r50810.

Add an optional ghost argument to set the new mouse location when un-grabbing. - without this the mouse would flicker at the old location before moving to the new location - when using the color picker for eg.

7 years agofix [#32609] RGB Curves Mouse Pointer Problem
Campbell Barton [Sat, 22 Sep 2012 12:25:54 +0000 (12:25 +0000)]
fix [#32609] RGB Curves Mouse Pointer Problem

this was working as intended but users complained that the mouse cursor stayed in the same location after using the color picker and curves with continuous grab enabled.

7 years agorect/point clamping function: BLI_rct*_clamp_pt_v
Campbell Barton [Sat, 22 Sep 2012 12:23:17 +0000 (12:23 +0000)]
rect/point clamping function: BLI_rct*_clamp_pt_v

8 years agoEnable predictable menu key-chaining as with r50501.
Campbell Barton [Sat, 22 Sep 2012 07:38:16 +0000 (07:38 +0000)]
Enable predictable menu key-chaining as with r50501.

The way it works now, navigation keys (up/down, number, a-z) - won't apply to a submenu if there are no active buttons in that menu, instead the parent menu gets the event.

8 years agorevert own commit r50501 (have a better way to implement this same feature)
Campbell Barton [Sat, 22 Sep 2012 07:22:42 +0000 (07:22 +0000)]
revert own commit r50501 (have a better way to implement this same feature)

8 years agoadd a UV Project material option so UV's are calculated taking into account perspecti...
Campbell Barton [Sat, 22 Sep 2012 04:57:55 +0000 (04:57 +0000)]
add a UV Project material option so UV's are calculated taking into account perspective matrix - previously this gave artifacts with lower poly meshes.

8 years agoreplace UV project modifier matrix calculation with BKE_camera_params_* functions...
Campbell Barton [Sat, 22 Sep 2012 03:33:31 +0000 (03:33 +0000)]
replace UV project modifier matrix calculation with BKE_camera_params_* functions, double checled combinations of aspect/scale/shift work as before --- but this reduces the likelyhood of discrepancies for sensor size (corner cases).

8 years agoAdded back "mesh.customdata_clear_skin"... followup for r50802
Thomas Dinges [Fri, 21 Sep 2012 22:33:43 +0000 (22:33 +0000)]
Added back "mesh.customdata_clear_skin"... followup for r50802

8 years agofix for crash getting a member from the operator context override, in some cases...
Campbell Barton [Fri, 21 Sep 2012 22:31:02 +0000 (22:31 +0000)]
fix for crash getting a member from the operator context override, in some cases python didnt hold the GIL.

8 years agoadd back clear skin operator, removed with sticky by mistake.
Campbell Barton [Fri, 21 Sep 2012 21:43:56 +0000 (21:43 +0000)]
add back clear skin operator, removed with sticky by mistake.

8 years agoUpdated comment
Sergey Sharybin [Fri, 21 Sep 2012 20:46:19 +0000 (20:46 +0000)]
Updated comment

8 years agoColor Management: different fixes for byte buffers
Sergey Sharybin [Fri, 21 Sep 2012 20:44:41 +0000 (20:44 +0000)]
Color Management: different fixes for byte buffers

- Color space of byte buffer for generated images haven't been
  updated properly on change

- Byte buffers weren't handling data color spaces on display transform
  properly

8 years agoReadme:
Thomas Dinges [Fri, 21 Sep 2012 17:56:16 +0000 (17:56 +0000)]
Readme:
* One link still pointed to 2.63 release logs.

8 years agoCycles:
Thomas Dinges [Fri, 21 Sep 2012 17:53:52 +0000 (17:53 +0000)]
Cycles:
* Change Addons Link to point to the manual instead of the dev documentation.
* Add sm_30 to Linux build configuration.

8 years agoMore fixes in Sequencer's View menu (thanks to Lockal for pointing those ;) ).
Bastien Montagne [Fri, 21 Sep 2012 15:19:26 +0000 (15:19 +0000)]
More fixes in Sequencer's View menu (thanks to Lockal for pointing those ;) ).

8 years ago* Fix for r50782, new "Geometry Data" Panel was missing in Cycles.
Thomas Dinges [Fri, 21 Sep 2012 13:56:10 +0000 (13:56 +0000)]
* Fix for r50782, new "Geometry Data" Panel was missing in Cycles.

8 years agoFix for r50790, removed operator printed error into the console...
Thomas Dinges [Fri, 21 Sep 2012 13:41:43 +0000 (13:41 +0000)]
Fix for r50790, removed operator printed error into the console...

8 years agoCycles UI:
Thomas Dinges [Fri, 21 Sep 2012 13:32:52 +0000 (13:32 +0000)]
Cycles UI:
* Followup for r50550, added checks to the "Samples" Button in World and Lamp Context to properly show the correct options.

8 years agoFix for [#32595] N shortcut (view-properties) is not shown in preview mode in sequenc...
Bastien Montagne [Fri, 21 Sep 2012 13:29:38 +0000 (13:29 +0000)]
Fix for [#32595] N shortcut (view-properties) is not shown in preview mode in sequence editor.

Main problem was in py UI code (has to set the context to INVOKE_REGION_PREVIEW for the shortcut lookup to succeed).

Also moved the N properties item into SequencerCommon keymap, and removed the View Selected menu entry from preview-only mode View menu (thx to Ejner Fergo for pointing this out).

8 years agoMask Editor: make Alt+S feather shrink/fatten work better when no feather was
Brecht Van Lommel [Fri, 21 Sep 2012 12:18:14 +0000 (12:18 +0000)]
Mask Editor: make Alt+S feather shrink/fatten work better when no feather was
defined yet, previously would just stick to original curve then.

8 years agoremove sticky coords from blender and the internal render engine.
Campbell Barton [Fri, 21 Sep 2012 11:37:51 +0000 (11:37 +0000)]
remove sticky coords from blender and the internal render engine.

8 years agoremove sticky coordinates from blender, this was missing from the UI since 2.49.
Campbell Barton [Fri, 21 Sep 2012 11:19:16 +0000 (11:19 +0000)]
remove sticky coordinates from blender, this was missing from the UI since 2.49.

TODO - drop support from the renderer still.

8 years agoremove sticky buttons from the UI, this functionality may be removed and has had...
Campbell Barton [Fri, 21 Sep 2012 10:40:48 +0000 (10:40 +0000)]
remove sticky buttons from the UI, this functionality may be removed and has had no UI access since 2.49

8 years agoremove mask layer from default cube
Campbell Barton [Fri, 21 Sep 2012 07:21:35 +0000 (07:21 +0000)]
remove mask layer from default cube

8 years agocalculate sticky wasnt working very well and had a few glites -
Campbell Barton [Fri, 21 Sep 2012 06:37:42 +0000 (06:37 +0000)]
calculate sticky wasnt working very well and had a few glites -
updating data was only being done on the active object but sticly was being calculated for the selection.

split this into 2 operators, one that works on the selection and another that operates on the active object - so we can have a button in the mesh panels that calculates sticky.

also note that there was no way to calculate sticky from the UI - perhaps this feature should die a quiet death?

anyway - it works better then it used to for now.

8 years agoremove default name from CD_SKIN_NODE LayerTypeInfo so its treated as a singleton...
Campbell Barton [Fri, 21 Sep 2012 06:14:22 +0000 (06:14 +0000)]
remove default name from CD_SKIN_NODE LayerTypeInfo so its treated as a singleton. theres no need to have multiple skin layers.

8 years agoLogic Editor code cleanup > 2500 lines removed - old 2.49 UI code
Dalai Felinto [Fri, 21 Sep 2012 05:19:06 +0000 (05:19 +0000)]
Logic Editor code cleanup > 2500 lines removed - old 2.49 UI code
since last two commits the UI has all the features we had in 2.49, time to remove the old code :)

8 years ago2.49 Logic Editor functionality - Add Sensor/Controller/Actuator now possible for...
Dalai Felinto [Fri, 21 Sep 2012 04:12:55 +0000 (04:12 +0000)]
2.49 Logic Editor functionality - Add Sensor/Controller/Actuator now possible for all selected objects (not only the active one)

8 years ago2.49 feature: Game Controller State name shows up when mouse over them (the name...
Dalai Felinto [Fri, 21 Sep 2012 04:09:09 +0000 (04:09 +0000)]
2.49 feature: Game Controller State name shows up when mouse over them (the name of a state is the name of the top controller of this state)
review and small tweaks by Campbell Barton

8 years agoThere was no way to remove mesh data layers from the interface - add a panel that...
Campbell Barton [Fri, 21 Sep 2012 03:41:59 +0000 (03:41 +0000)]
There was no way to remove mesh data layers from the interface - add a panel that works in object an editmode.
currently can remove sticky/mask/skin vertex layers.

regarding the skin layer - while adding and removing the modifier normally works fine, its not 100% reliable since the mesh may be linked into another scene, or be a linked duplicate and the object with the modifier deleted.

8 years agoMake Euclidean resection "always" succeed.
Keir Mierle [Thu, 20 Sep 2012 18:55:44 +0000 (18:55 +0000)]
Make Euclidean resection "always" succeed.

The Euclidean resection code had a magical constant, 1e-3, used to
compare the results of solving an equation. This failure detection
was well-intended, trying to prevent poor solutions from getting
made without notifying the caller. Unfortunately in practice, this
threshold is too conservative. Furthermore, it is not clear the
threshold should exist at all; the purpose of the Euclidean
resection is to come up with the best solution it can; other
methods (e.g. reprojection error) should be used to compare
whether the method succeeded.

This commit changes the Euclidean EPnP code to always succeed,
causing the previous fallback to projective resection to never
run. In most cases, this will result in better reconstructions.

This should, in most cases, fix the dreaded "flipping" problem.

8 years agoFix #32579: Sequencer crash when changing render dimensions
Sergey Sharybin [Thu, 20 Sep 2012 12:59:16 +0000 (12:59 +0000)]
Fix #32579: Sequencer crash when changing render dimensions

Memory limitor's queue could be affected when it's being iterated
on enforcing limits -- that's because iteration could free color
managed image buffers.

Fixed by getting least priority element after every element was
freed. Could be optimized a bit, but it anyway shouldn't be so
slow due to specific of cache limiting and limit enforcing finish
condition.

8 years agofix [#32602] Bevel operator's transform input is inverted
Campbell Barton [Thu, 20 Sep 2012 12:42:22 +0000 (12:42 +0000)]
fix [#32602] Bevel operator's transform input is inverted
inset was inverted also

8 years agostyle cleanup
Campbell Barton [Thu, 20 Sep 2012 12:29:28 +0000 (12:29 +0000)]
style cleanup

8 years agocode cleanup: use frame as a prefix for rna properties
Campbell Barton [Thu, 20 Sep 2012 12:16:00 +0000 (12:16 +0000)]
code cleanup: use frame as a prefix for rna properties

8 years agoColor Management: avoid byte->linear->byte conversion if display colorspace matches...
Sergey Sharybin [Thu, 20 Sep 2012 11:35:33 +0000 (11:35 +0000)]
Color Management: avoid byte->linear->byte conversion if display colorspace matches image's one

Solves slowdown when re-encoding byte image sequence or movie in sequencer.

Fixes #32605: Blender vse renders take more time to render than before

8 years agoFix #32607: Color picker tool doesn't work properly: always pick black.
Sergey Sharybin [Thu, 20 Sep 2012 10:38:12 +0000 (10:38 +0000)]
Fix #32607: Color picker tool doesn't work properly: always pick black.

Regressions since color picking support from background image.

8 years agoFix #32603: Multi-Layer EXR files can't be color managed
Sergey Sharybin [Thu, 20 Sep 2012 10:07:49 +0000 (10:07 +0000)]
Fix #32603: Multi-Layer EXR files can't be color managed

Issue was caused by completely different way how multi-layer EXRs are loading,
they're bypassing general image buffer loading functions.

Solved by running color space transformation on render result construction
from multi-layer EXR image.

Also fixed issue with wrong display buffer computing for buffers with less
than 4 channels. Issues were:

- Display buffer is always expected to be RGBA
- OpenColorIO can not apply color space transformations on non-{RGB, RGBA}
  pixels.

8 years agoadd back -Wundef for g++, also correct clang warnings and add -Wunused-macros warning.
Campbell Barton [Thu, 20 Sep 2012 09:19:49 +0000 (09:19 +0000)]
add back -Wundef for g++, also correct clang warnings and add -Wunused-macros warning.

8 years agocode cleanup: cycles now uses system includes for boost/oiio.. etc, so we dont get...
Campbell Barton [Thu, 20 Sep 2012 09:04:43 +0000 (09:04 +0000)]
code cleanup: cycles now uses system includes for boost/oiio.. etc, so we dont get warnings from system headers.

8 years agoffmpeg was adding an include `just incase`, without a cmake find module here - just...
Campbell Barton [Thu, 20 Sep 2012 07:43:48 +0000 (07:43 +0000)]
ffmpeg was adding an include `just incase`, without a cmake find module here - just check if the dir exists.

8 years agocode cleanup: some redundant assignments in view3d_draw_bgpic()
Campbell Barton [Thu, 20 Sep 2012 05:09:35 +0000 (05:09 +0000)]
code cleanup: some redundant assignments in view3d_draw_bgpic()

8 years agocode cleanup:
Campbell Barton [Thu, 20 Sep 2012 04:56:24 +0000 (04:56 +0000)]
code cleanup:
- make view3d project names more consistent.
- remove apply_project_float() its not needed.
- update comments referencing an old function name.
- move doxygen docs into the C file, prefer they are kept here to avoid getting out of sync with code.

8 years agofix [#32604] Loop select broken with Clipped view and wireframe
Campbell Barton [Thu, 20 Sep 2012 03:45:18 +0000 (03:45 +0000)]
fix [#32604] Loop select broken with Clipped view and wireframe

8 years agoFix variable naming in the planar tracker.
Keir Mierle [Thu, 20 Sep 2012 02:27:34 +0000 (02:27 +0000)]
Fix variable naming in the planar tracker.

8 years agoAdd smarter tolerance checking in the planar tracker.
Keir Mierle [Thu, 20 Sep 2012 02:10:33 +0000 (02:10 +0000)]
Add smarter tolerance checking in the planar tracker.

The planar tracker uses Ceres for the refinement stage. During
refinement, Ceres iteratively updates the parameters with the
latest best guess. If the change in the parameters falls below a
threshold, Ceres will abort successfully ("converged").

For the case of pure translation tracking, the parameters are
exactly the two pixel shifts (dx, dy), and measuring the change in
these parameters gives a meaningful termination criterion.
However, for all the other parameterizations like affine, where
the parameterization involves affine parameters that have no
physical interpretation, Ceres is left with no way to terminate
the solver early. With the existing code, often many iterations
are run long after Ceres has found a solution sufficiently
accurate for all tracking needs. No one needs tracking with
a quadrillionth of a pixel accuracy; that time is wasted.

This patch extends the existing iteration callback that is passed
in to Ceres to check if the pattern has fallen out of the search
window, to also check if the optimizer has made a tiny step. In
particular, if the maximum shift of any patch corner between two
successful optimizer steps is less than a threshold (currently
0.005 pixels), the track is declared successful and tracking
is terminated.

This leads to dramatic speed increases in some cases, with little
to no loss in track quality. This is especially apparent when
tracking patches with affine or perspective motion models. For
example, on some tracking cases I tried, the iterations Ceres took
went from 50 to 3.

8 years agostyle cleanup
Campbell Barton [Thu, 20 Sep 2012 01:32:13 +0000 (01:32 +0000)]
style cleanup

8 years agocode cleanup: remove unused macros, commet some which may be useful later - or good...
Campbell Barton [Thu, 20 Sep 2012 01:02:39 +0000 (01:02 +0000)]
code cleanup: remove unused macros, commet some which may be useful later - or good to keep for completeness. quieted some warnings and add flags -Wmissing-include-dirs and -Wno-div-by-zero to cmake/gcc

8 years agocode cleanup: c++ - use empty() rather than size(), use prefix operators for non...
Campbell Barton [Thu, 20 Sep 2012 00:55:32 +0000 (00:55 +0000)]
code cleanup: c++ - use empty() rather than size(), use prefix operators for non-primitive types - recommended for non primitive types.

8 years agoFix #32596: bones in armature created from skin modifier have wrong envelope
Brecht Van Lommel [Thu, 20 Sep 2012 00:53:25 +0000 (00:53 +0000)]
Fix #32596: bones in armature created from skin modifier have wrong envelope
values.

8 years agoFix #32598: clamp blender internal alpha channel to 0..1, and RGB to 0..inf,
Brecht Van Lommel [Thu, 20 Sep 2012 00:39:27 +0000 (00:39 +0000)]
Fix #32598: clamp blender internal alpha channel to 0..1, and RGB to 0..inf,
to avoid compositing issues. The values can go out of bounds due to sharp
pixel filters.

In Cycles the alpha channel is already clamped, and there are no pixel filters
that could cause negative RGB values.

8 years agoFix #32601: armature select similar missing from select menu.
Brecht Van Lommel [Thu, 20 Sep 2012 00:10:26 +0000 (00:10 +0000)]
Fix #32601: armature select similar missing from select menu.

8 years agoFix #31888: cycles crashes using movie for image texture. This is not supported
Brecht Van Lommel [Wed, 19 Sep 2012 23:55:12 +0000 (23:55 +0000)]
Fix #31888: cycles crashes using movie for image texture. This is not supported
but should not crash either. This fix is more of a workaround, the crash seems
to be in openimageio or one of the libraries it uses.

8 years agoDetect too-small planar tracking patches.
Keir Mierle [Wed, 19 Sep 2012 22:25:02 +0000 (22:25 +0000)]
Detect too-small planar tracking patches.

The planar tracker did not detect very skinny patches which have
effectively zero area and are untrackable. This adds detection and
rejection of patterns with zero area. This fixes a crash found by
during Mango production.

8 years agoCleanup for when trackers fall out of the search window.
Keir Mierle [Wed, 19 Sep 2012 22:01:42 +0000 (22:01 +0000)]
Cleanup for when trackers fall out of the search window.

Sergey originally left a TODO() here, but his fix is the correct
one. I removed the TODO and fixed some comment issues.

8 years agoColor Management: new generated images had empty color space by default
Sergey Sharybin [Wed, 19 Sep 2012 19:53:16 +0000 (19:53 +0000)]
Color Management: new generated images had empty color space by default

Now use default byte/float colorspace when creating new image.

8 years agoFixed "cleaning" of some menu labels (those with all the ugly %t/|), wasn't working...
Bastien Montagne [Wed, 19 Sep 2012 19:42:01 +0000 (19:42 +0000)]
Fixed "cleaning" of some menu labels (those with all the ugly %t/|), wasn't working in all cases.

Also cleaned some old, no more used piece of code.

8 years agoCollada(exporter): Added error message when export file can not be created for whiche...
Gaia Clary [Wed, 19 Sep 2012 19:28:29 +0000 (19:28 +0000)]
Collada(exporter): Added error message when export file can not be created for whichever reason

8 years agoAdd a "Header" sub-menu to the right-click one of all buttons in a header area. Also...
Bastien Montagne [Wed, 19 Sep 2012 18:47:41 +0000 (18:47 +0000)]
Add a "Header" sub-menu to the right-click one of all buttons in a header area. Also header tools entries are now translatable!

8 years agoMakes no sense to have render engine property animatable!
Bastien Montagne [Wed, 19 Sep 2012 17:37:15 +0000 (17:37 +0000)]
Makes no sense to have render engine property animatable!

8 years agousing the utf8 flipped form of Hebrew for the ui
Dalai Felinto [Wed, 19 Sep 2012 17:19:39 +0000 (17:19 +0000)]
using the utf8 flipped form of Hebrew for the ui

8 years agoSmall fix for Follow Track constraint
Sergey Sharybin [Wed, 19 Sep 2012 17:19:30 +0000 (17:19 +0000)]
Small fix for Follow Track constraint

Use object_get_derived_final() function instead of accessing to object's
derived final directly.

The same happens for shrinkwrap constraint and it should deal better in
cases when depth object is in edit mode. In other cases should be no
functional changes.

8 years agoMark movie clip user current frame as editable
Sergey Sharybin [Wed, 19 Sep 2012 17:14:43 +0000 (17:14 +0000)]
Mark movie clip user current frame as editable

It should be pretty safe change which would allow doing stuff like
python-defined tracking routines without need to update the whole
scene when it's needed to perform some operation on different clip
frame.

It'll be possible to write operators similar to tracking, which
updates space clip's frame number, but not scene frame when tracking
and only synchronizes scene frame number on operator finish.

8 years agoFix missing dependency graph update when switching to another scene, now does
Brecht Van Lommel [Wed, 19 Sep 2012 17:11:07 +0000 (17:11 +0000)]
Fix missing dependency graph update when switching to another scene, now does
same update as loading .blend or switching layer visibility.

8 years agoFix #32576: missing image editor update when entering edit mode with UV textures.
Brecht Van Lommel [Wed, 19 Sep 2012 17:09:14 +0000 (17:09 +0000)]
Fix #32576: missing image editor update when entering edit mode with UV textures.

8 years agoFix #32018: non-progressive integrator crash.
Brecht Van Lommel [Wed, 19 Sep 2012 17:09:11 +0000 (17:09 +0000)]
Fix #32018: non-progressive integrator crash.

8 years agoColor Management: don't apply display transform on Non-Color images
Sergey Sharybin [Wed, 19 Sep 2012 15:01:36 +0000 (15:01 +0000)]
Color Management: don't apply display transform on Non-Color images

Also don't color manage data buffers in texture painting.

Makes it possible to view heights and normal maps in proper space
and also paint on them without applying extra transformation.

8 years agoFix crash when tracking in planar motion model (and maybe some other)
Sergey Sharybin [Wed, 19 Sep 2012 12:43:39 +0000 (12:43 +0000)]
Fix crash when tracking in planar motion model (and maybe some other)

It was an Abort() caused by check for solver result not equal to USER_ABORT.

In some cases solver returns USER_ABORT due to BoundaryCheckingCallback
detects coordinates does not belong to image.

Somehow this callback wasn't called in previous version of Ceres and
in the same case marker was jumping. Now when the callback is called
it seems we could simply return failure of tracking without aborting
Blender.

Probably this is in fact some issue somewhere else, would double
check with Keir about this.

8 years agoTracking: fixed crash when reference frame fails to be loaded
Sergey Sharybin [Wed, 19 Sep 2012 12:43:32 +0000 (12:43 +0000)]
Tracking: fixed crash when reference frame fails to be loaded

8 years agojoining mesh objects now keeps relative key setting of each keyblock. also joining...
Campbell Barton [Wed, 19 Sep 2012 12:11:28 +0000 (12:11 +0000)]
joining mesh objects now keeps relative key setting of each keyblock. also joining absolute shapekeys now sorts by time.

8 years agocode cleanup: make shape key api names consistent with our new convention.
Campbell Barton [Wed, 19 Sep 2012 10:12:07 +0000 (10:12 +0000)]
code cleanup: make shape key api names consistent with our new convention.

8 years agofix for missing NULL check in init_render_texture() (possibly own fault), also remove...
Campbell Barton [Wed, 19 Sep 2012 08:09:22 +0000 (08:09 +0000)]
fix for missing NULL check in init_render_texture() (possibly own fault), also remove some redundant code.

8 years agofix txt_redo_read_unicode() missing break - reading 4 byte unicode would fail, same...
Campbell Barton [Wed, 19 Sep 2012 08:07:23 +0000 (08:07 +0000)]
fix txt_redo_read_unicode() missing break - reading 4 byte unicode would fail, same fix was made for txt_undo_read_unicode() recently.

8 years agofix MESH_OT_tris_convert_to_quads() limit options (uv and vertex color) were not...
Campbell Barton [Wed, 19 Sep 2012 04:48:34 +0000 (04:48 +0000)]
fix MESH_OT_tris_convert_to_quads() limit options (uv and vertex color) were not working at all.

8 years agofix buffer overrun when 5+ sided faces were used for text drawing.
Campbell Barton [Wed, 19 Sep 2012 02:06:27 +0000 (02:06 +0000)]
fix buffer overrun when 5+ sided faces were used for text drawing.

8 years agocode cleanup: marker transform was doing some redundant/misleading assignments &...
Campbell Barton [Wed, 19 Sep 2012 01:34:10 +0000 (01:34 +0000)]
code cleanup: marker transform was doing some redundant/misleading assignments & checks, remove unused cruft.
also remove some other redundant checks.

8 years agofix buffer overrun in make_histogram_view_from_ibuf_byte(), use define for buffer...
Campbell Barton [Wed, 19 Sep 2012 00:56:09 +0000 (00:56 +0000)]
fix buffer overrun in make_histogram_view_from_ibuf_byte(), use define for buffer size so this wont happen again.

8 years agofix [#32575] Seperate more than one object from a mesh generates additional edges
Campbell Barton [Wed, 19 Sep 2012 00:09:14 +0000 (00:09 +0000)]
fix [#32575] Seperate more than one object from a mesh generates additional edges

8 years agoColor management: fix crashes and memory leaks when using custom OCIO configuration
Brecht Van Lommel [Tue, 18 Sep 2012 19:20:26 +0000 (19:20 +0000)]
Color management: fix crashes and memory leaks when using custom OCIO configuration
Also fix some missing color spaces when loading some OCIO configurations, by falling
back to scene linear if role is not found. There can still be some errors in the
console, need to check this further.

http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.64/Color_Management#OpenColorIO_Configuration

8 years agoColor management: default to Save as Render when saving an image datablock with
Brecht Van Lommel [Tue, 18 Sep 2012 19:20:23 +0000 (19:20 +0000)]
Color management: default to Save as Render when saving an image datablock with
View as Render enabled.

8 years agoFix crash editing mask with no image in the image editor.
Brecht Van Lommel [Tue, 18 Sep 2012 19:20:21 +0000 (19:20 +0000)]
Fix crash editing mask with no image in the image editor.

8 years agoFix #31539, painting in image editor while in object mode does not update mipmaps.
Antony Riakiotakis [Tue, 18 Sep 2012 15:58:07 +0000 (15:58 +0000)]
Fix #31539, painting in image editor while in object mode does not update mipmaps.

While we could disable/enable mipmaps on stroke begin/end, it is a bit hacky (but worthy of consideration for later) for my taste just to paint in the image editor. Instead we generate mipmaps on the fly. Since we can update texture levels below the first only with GPU mipmapping, partial update when painting in the image editor will actually work only with GPU mipmapping from now on (which is fast enough I hope not to get any lags!).

8 years agoFix for own r50715 (static func is much better here!)...
Bastien Montagne [Tue, 18 Sep 2012 15:13:45 +0000 (15:13 +0000)]
Fix for own r50715 (static func is much better here!)...

8 years agodo_version fix files with bad keyblock uid caused by byg [#31569]
Campbell Barton [Tue, 18 Sep 2012 14:40:02 +0000 (14:40 +0000)]
do_version fix files with bad keyblock uid caused by byg [#31569]

8 years agofix [#31569] Shapekey w/ Driver - Shapekey Influences Disappears After Going to Edit...
Campbell Barton [Tue, 18 Sep 2012 14:29:01 +0000 (14:29 +0000)]
fix [#31569] Shapekey w/ Driver - Shapekey Influences Disappears After Going to Edit Mode

joining meshes would allow shape key UID's not to be unique.
This was caused by join adding new key blocks inline, now use add_keyblock() like everywhere else does.

8 years ago-Wnonnull flag is not for C++. I think we all know it by now, time to
Antony Riakiotakis [Tue, 18 Sep 2012 14:17:10 +0000 (14:17 +0000)]
-Wnonnull flag is not for C++. I think we all know it by now, time to
get rid of it.

8 years agodon't divide by zero in get_ss_weights() which would set values - only to be overwritten.
Campbell Barton [Tue, 18 Sep 2012 12:53:41 +0000 (12:53 +0000)]
don't divide by zero in get_ss_weights() which would set values - only to be overwritten.
useful when using --debug-fpe since this isnt and exceptional case.

8 years agoRevert part of rev50719, it's not actually needed and it always
Sergey Sharybin [Tue, 18 Sep 2012 11:21:57 +0000 (11:21 +0000)]
Revert part of rev50719, it's not actually needed and it always
invalidates render result display buffers.

8 years agoCeres: resolve no previous declarations warnings
Sergey Sharybin [Tue, 18 Sep 2012 11:01:51 +0000 (11:01 +0000)]
Ceres: resolve no previous declarations warnings

Currently done as patch applied on bundling, would forward it to Ceres developers.

8 years agofix [#32572] Windows: False error on console when a new folder is created during...
Campbell Barton [Tue, 18 Sep 2012 10:51:48 +0000 (10:51 +0000)]
fix [#32572] Windows: False error on console when a new folder is created during a save or export operation

8 years agoLibmv: resolved some compilation warnings (missed prototypes)
Sergey Sharybin [Tue, 18 Sep 2012 10:31:00 +0000 (10:31 +0000)]
Libmv: resolved some compilation warnings (missed prototypes)

In some cases it was missed include of header file, in some other
cases symbol could be static.

8 years agoColor Management: fixed crash when changing display device in screenshot save operator
Sergey Sharybin [Tue, 18 Sep 2012 10:11:46 +0000 (10:11 +0000)]
Color Management: fixed crash when changing display device  in screenshot save operator

In fact, color management settings shouldn't be editing from this operator since
screenshot is using OpenGL which is in sRGB space, but fixed issues with Image
Format initialization and added NULL pointer checks.