Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-04-20Fix T44383: Select face fails in some positionsCampbell Barton
When mixing vert/edge/face with select-visible, face selection could fail when not close enough to the center. This also fixes a bug where the bias for verts over edges would prefer faces over edges too, making edges harder to pick. Mixing edge with other selection modes works more predictably now.
2015-04-20Editmesh select nearest fixesCampbell Barton
- distance from edge check wasn't clamping 0-1 - vertex bias wasn't taking pixelsize into account. - index & pass counter were floats Also some improvements - use BMesh lookup tables when available. - use structs to avoid issues getting out of sync.
2015-04-20Cleanup: use macro for common view3d zbuf checkCampbell Barton
2015-04-20Cleanup: use bool /w flag checksCampbell Barton
2015-04-20Fix T44419: extruding when using lasso deselectCampbell Barton
2015-04-20Fix: "show_points" setting for Grease Pencil drawing didn't workJoshua Leung
As reported by zeffi, the "show_points" option was not working in master. It probably broke recently, after some changes meant that the point sizes weren't geting set prior to drawing these points anymore. Since this was originally added as a debugging tool (though it is now somewhat redundant due to the stroke editing functionality, which uses/exposes the same points), this option wasn't really that important. I have decided to add back a toggle for this to the UI though, since it can be used for some interesting effects...
2015-04-20Sculpt: remove workaround T25371Campbell Barton
It's no longer needed, and made calc_area_normal different to the normal from calc_area_normal_and_center.
2015-04-20Sculpt: clay-strips was missing accumulate buttonCampbell Barton
Correct & de-duplicate check for accumulate.
2015-04-19Dyntopo: non-topology tool origdata supportCampbell Barton
Brushes that don't change topology didn't have access to original data.
2015-04-19Cleanup: use meaningful names re: (fc, an, sn)Campbell Barton
2015-04-19Dyntopo: support for original normal accessCampbell Barton
Rename calc_flatten_center to calc_area_center, since theres no 'flatten' spesific logic there. Also refactor calc_area_center, calc_area_normal, calc_area_normal_and_center so they're next to eachother - they're almost the same, having them scattered about isn't helpful.
2015-04-19Cleanup: move project code into util functionCampbell Barton
2015-04-19Cleanup: calculating sculpt center & normalCampbell Barton
also avoid sqrt calculating dyntopo center (only checks for flipping)
2015-04-19Dyntopo: avoid over-counting /w neighbor averageCampbell Barton
2015-04-19Sculpt: avoid CD lookup /w mask smoothCampbell Barton
2015-04-19Sculpt: smooth brush, exclude self from averageCampbell Barton
Was including the vertices own location when accumulating.
2015-04-18Cleanup: API naming use BKE_undo_ prefixCampbell Barton
2015-04-18BGE: New Draw debug shadow box for sun lampPorteries Tristan
New Check option "Show Shadow Box" in shadow panel of sun lamp to get feedback about which objects project shadows. Minor tweaks by Campbell Barton and Jorge Bernal Reviewers: moguri, sybren, kupoman, dfelinto, lordloki, campbellbarton Reviewed By: lordloki, campbellbarton Subscribers: sergey, lordloki Projects: #game_engine Differential Revision: https://developer.blender.org/D1149
2015-04-17Fix T44390: Clay brush weirdness part-2Campbell Barton
Use the normal of the plane instead of the vertex normal, since projecting using the vertex normal frequently causes artifacts.
2015-04-17Fix T44390: Clay brush weirdness part-1Campbell Barton
Clay brush had a feedback loop with dyntopo, getting the plane from the cursor center didn't support original data.
2015-04-17Cleanup: simplify sculpt normal accumulationCampbell Barton
2015-04-17Cleanup: simplify sculpt plane accumulationCampbell Barton
2015-04-17Bake-API: reduce memory footprint when baking more than one object (Fix T41092)Dalai Felinto
Combine all the highpoly pixel arrays into a single array with a lookup object_id for each of the highpoly objects. Note: This changes the Bake API, external engines should refer to the bake_api.c for the latest API. Many thanks for Sergey Sharybin for the complete review, changes suggestion and feedback. (you rock!) Reviewers: sergey Subscribers: pildanovak, marcclintdion, monio, metalliandy, brecht Maniphest Tasks: T41092 Differential Revision: https://developer.blender.org/D772
2015-04-17Cleanup: remove unused face normalsCampbell Barton
also use const
2015-04-17Code cleanup (for previous commit)Dalai Felinto
2015-04-17Image Editor: Fix passes increase/decrease buttonsDalai Felinto
This was half-broken even in 2.74 (if you were using compositor), multiview did us the favour of breaking this for all cases (you are welcome). It is all working now.
2015-04-17Fix T44336: Unable to select cycles-specific passes in UV/image editorDalai Felinto
This approach gets rid of iuser->pass for good. Also, I'm commenting out the pass increase/decrease. This was broken since multiview. I will fix it later (before 2.75), but I didn't want to get this patch mangled with that fix. Thanks Sergey Sharybin for the review and feedbacks. Reviewers: sergey Differential Revision: https://developer.blender.org/D1232
2015-04-17Dyntopo: avoid redundant lookup on original dataCampbell Barton
2015-04-17Fix T44411: poll() function of MESH_OT_knife_project was not strict enough.Bastien Montagne
We need a 3DView region here, not only the 3DView...
2015-04-16Cleanup: use const for sculpt codeCampbell Barton
2015-04-16OpenGL does not like line thickness less than 1.0.Antony Riakiotakis
Check here is not completely correct either, we should check against GL_ALIASED_LINE_WIDTH_RANGE and GL_SMOOTH_LINE_WIDTH_RANGE
2015-04-16Draw smoke domain in transparent pass. Should composite smoke domainsAntony Riakiotakis
correctly in scene - with known limitations of blending between transparent objects.
2015-04-16RNA: avoid past tense in property namesCampbell Barton
2015-04-16BGE: Fix for T42341 Sensor.frequency is badly namedJorge Bernal
"Frequency" parameter is renamed to "Skip" in the LogicBricks sensors as it represents skipped frames between pulses. Naming something (frequency) the exact opposite of what it represents (period) was the worst choice. Also, a new BGE python attribute 'skippedTicks' was introduced. 'frequency' attribute is maintained but deprecated. Internally, freq variable is used yet at DNA_Sensor to maintain compability and to avoid do_versions. Thanks to Sybren for the investigation. {F162440} Reviewers: campbellbarton, sybren, moguri, hg1 Reviewed By: sybren, hg1 Differential Revision: https://developer.blender.org/D1229
2015-04-15dyntopo: don't allocate tessfaces while sculptingCampbell Barton
Tessellation data isn't used for drawing or sculpting. This frees up some memory ~approx 10% in own tests. Also slight spee-up since it avoids calculating it in the first place.
2015-04-15Cleanup: use const for event->tablet_dataCampbell Barton
2015-04-15typo in last commitCampbell Barton
2015-04-15Sculpt: change behavior of crease brushCampbell Barton
Pinch would give a flat result on either side of the stroke, because points were dragged towards a single point. Now pinch is projected on the sculpt plane, which gives a tighter crease. The reverse is true too - blob brush which shares the code is also more curved.
2015-04-15RNA: use lock_ prefix for booleansCampbell Barton
2015-04-14Action Editor: Make the warning on unlinking actions a bit less intrusiveJoshua Leung
venomgfx was complaining that having it do the popup everytime was too intrusive, so demoting it to just showing the warning in the header.
2015-04-14Add flag that prevents editing of markers. Can be located in markerAntony Riakiotakis
menu. When active, all editing operators for markers will not fire up.
2015-04-14Fix T44348: Blender crashes when selecting bone from inactive scene in outlinerSergey Sharybin
Pose is not guaranteed to be existing in object, so can't be used for selection flag clear. Use bones themselves for that.
2015-04-14NLA: The "filter by name" functionality now works with NLA strips tooJoshua Leung
2015-04-14NLA: Store track that the strip being tweaked comes fromJoshua Leung
There should be no functional changes visible from this change, but this commit should make it easier to code tools which need to check on tweeakmode status, by making it easier to figure out which NLA Track contains the strip which owned the action being edited. (The strip is already saved, so this commit just adds the track alongside it). For now there is no version patch for this. The worst that happens is that an extra refresh is needed in the NLA editor to get these to show up.
2015-04-14Fix for another NLA drawing bug uncovered by the previous commitJoshua Leung
With multiple strips in tweakmode, only the one tagged as being "active" would get drawn in the correct colours, while all the others would just get drawn as a selected strip instead.
2015-04-14Temporary fix for NLA strips not getting drawn in tweakmode with multiple ↵Joshua Leung
strips selected When entering tweakmode on multiple strips (from different AnimData blocks) simultaneously, only the track containing the last selected strip would be shown. All the other tracks with strips being tweaked would not appear at all.
2015-04-14NLA: Shift-Tab toggles tweakmode AND makes that track soloJoshua Leung
To help make it more convenient to edit stashed actions, Shift-Tab (i.e. holding down the Shift key, which "tabbing" into tweakmode as usual to edit the action referenced by the active NLA strip) now flags the NLA Track that the strip occupies as being "solo" too. This allows you to use the NLA to select a stashed action, then Shift-Tab to start editing it without any other actions in the NLA stack interfering. Like the "Next/Previous Layer" tools in the Action Editor, this is designed to help with checking on stashed actions.
2015-04-14Cleanup: warningsCampbell Barton
2015-04-14Fix T44362 no easy way to repeatedly duplicate keyframes in actionAntony Riakiotakis
editors. Reporter used a hacky work-around by placing cursor at end of keyframe range and doing ctrl-C ctrl-V repeatedly. This was working on 2.73 but not anymore since the old selection is not kept. Much better is to have duplication operator be repeatable. This commit takes care of that.
2015-04-13cleanup: styleMike Erwin
to match my earlier commit in temp_viewport_fx_merge branch https://developer.blender.org/rBc3f3b958dc0b plus more no functional changes